Subject: bug#75328: 31.0.50; use-package cannot override a built in package

From: "Mark A. Hershberger" <[email-masked]>
Date: Sat, 04 Jan 2025 10:50:21 -0500

Eli Zaretskii <[email-masked]> writes:

> Did you try customizing package-install-upgrade-built-in?

Yes.  I also reported this to Jonas[1] and in the following discussion
he suggested that and I tried it[2].

The following does not check out the transient repository into
~/.emacs.d/elpa/:

    rm -rf ~/.emacs.d &&
    echo '(setq package-install-upgrade-built-in t)
    (use-package transient :vc (:url "https://github.com/magit/transient" :rev :newest) :ensure t)' > ~/.emacs &&
    ~/bin/emacs

Footnotes:
[1]  https://github.com/magit/forge/issues/732

[2]  https://github.com/magit/forge/discussions/733#discussioncomment-11733964