Your message dated Fri, 12 Dec 2025 17:46:45 +0000
with message-id <[email protected]>
and subject line Re: Bug#1122186: magit fails to start after trixie upgrade
has caused the Debian Bug report #1122186,
regarding magit fails to start after trixie upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1122186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122186
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: elpa-magit
Version: 4.3.5-1+deb13u1
Severity: important
Hi!
After upgrading a machine to trixie locally, emacs seems to be working
fine. Using it to write this mail!
But when I try to start magit using M-x magit-status, I get the
following error and no magit:
slot-missing: Invalid slot name: "#<transient-option
transient-option-1037fa0c2081>", :always-read
In case it's my local config in .emacs etc. that might be causing this
problem, I've tested again with a new user with no customisations and
I still see the same issue.
Help please!
-- System Information:
Debian Release: 13.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.57+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages elpa-magit depends on:
ii dh-elpa-helper 2.1.9
ii elpa-llama 0.6.2-1
ii elpa-magit-section 4.3.5-1+deb13u1
ii elpa-transient 0.8.8-1
ii elpa-with-editor 3.4.3-1
ii emacs 1:30.1+1-6
ii emacs-common [elpa-transient] 1:30.1+1-6
ii emacs-lucid [emacs] 1:30.1+1-6
ii emacsen-common 3.0.8
ii git 1:2.47.3-0+deb13u1
elpa-magit recommends no packages.
elpa-magit suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hey!
Massive thanks for your help, and sorry for not responding sooner -
was away on a work trip for a couple of days...
On Tue, Dec 09, 2025 at 02:25:22PM -0800, Xiyue Deng wrote:
>Steve McIntyre <[email protected]> writes:
>
>> On Tue, Dec 09, 2025 at 11:42:36AM +0000, Steve McIntyre wrote:
>>>
>>>Hmmm, OK. That works without errors.
>>>
>
>I just realized that the minimalist command I provided didn't load the
>transient package, so it's using the transient bundled in Emacs instead.
>Can you also try the following command that does that and see whether
>you can reproduce the issue?
>
>,----[ Minialist command with trasient loaded ]
>| emacs -Q --eval "(progn (add-to-list 'load-path
>\"/usr/share/emacs/site-lisp/elpa/magit-4.3.5\") (add-to-list 'load-path
>\"/usr/share/emacs/site-lisp/elpa/llama-0.6.2\") (add-to-list 'load-path
>\"/usr/share/emacs/site-lisp/elpa/magit-section-4.3.5\") (add-to-list
>'load-path \"/usr/share/emacs/site-lisp/elpa/with-editor-3.4.3\") (add-to-list
>'load-path \"/usr/share/emacs/site-lisp/elpa/transient-0.8.8\") (require
>'magit))"
>`----
>
>This should help determine whether anything related to the
>transient-0.8.8 installation is causing issues.
ACK.
That command works just fine, like last time.
>>>I'll dig a little more.
>>
>> No joy at all :-(
>>
>> For now I've gone back to elpa-magit from bookworm so I can continue
>> working. Happy to help with debugging if you can suggest anything more
>> to try; I'm really not an elisp hacker and I'm out of my depth.
>>
>
>Another thing to try is to check whether you have any residual transient
>installation lingering around under `/usr/share/emacs/site-lisp/elpa',
>like `transient-0.3.7' from bookworm. If so, can you remove it and
>retry?
Bingo - that's it. I have no recollection of ever putting it there,
but I had an old directory
/usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/
. I've just removed that and all seems to be working fine now.
I also have some other older versions of various packages in there,
which is worrying. I'm cleaning those out now too.
>In that spirit, you can also try to remove the native compilation files
>and regenerate them to see if that helps (they will regenerate next time
>you launch Emacs after removal), which is usually named `eln-cache' and
>located under the Emacs configuration directory (~/.config/emacs or
>~/.emacs.d).
>
>Also I would suggest to add `(setq load-prefer-newer t)' to your init.el
>if you haven't done so, which should avoid most of the cache related
>issues.
I'll do that now too.
--
Steve McIntyre, Cambridge, UK. [email protected]
You lock the door
And throw away the key
There's someone in my head but it's not me
--- End Message ---