GNU bug report logs - #76802
31.0.50; Error when installing/activating packages due to emacs-version mismatch

Previous Next

Package: emacs;

Reported by: Tassilo Horn <thorn <at> fastmail.fm>

Date: Fri, 7 Mar 2025 07:22:01 UTC

Severity: normal

Merged with 76861, 76871, 76874, 76921

Found in version 31.0.50

Fixed in version 31.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <thorn <at> fastmail.fm>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 76802 <at> debbugs.gnu.org
Subject: bug#76802: 31.0.50; Error when installing/activating packages due to emacs-version mismatch
Date: Fri, 07 Mar 2025 20:37:45 +0100
Stefan Kangas <stefankangas <at> gmail.com> writes:

Hi Stefan,

>> When I start emacs with the current master (2dea3a0d34859852d3577), I
>> get errors like this one when activating, installing, or updating
>> packages.  Obviously, I'm using emacs 31 so I shouldn't get errors
>> that a package requires (at least) emacs 27.1.
>>
>> --8<---------------cut here---------------start------------->8---
>> Debugger entered--Lisp error: (error "This package requires Emacs
>> version 27.1")
>
> I unfortunately can't seem to reproduce this in some casual testing.
>
> You wouldn't happen to have a convenient recipe starting from emacs
> -Q, do you?  :-)

I do.

- emacs -Q
- M-x list-packages RET
- mark ef-themes version 1.9.0 from gnu for (i)nstall
- e(x)ecute

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "This package requires Emacs version 27.1")
  signal(error ("This package requires Emacs version 27.1"))
  error("This package requires Emacs version %s" "27.1")
  package-compute-transaction((#s(package-desc :name ef-themes :version (1 9 0) :summary "Colorful and legible themes" :reqs ((emacs (27 1))) :kind tar :archive "gnu" :dir nil $
  package-install(#s(package-desc :name ef-themes :version (1 9 0) :summary "Colorful and legible themes" :reqs ((emacs (27 1))) :kind tar :archive "gnu" :dir nil :extras ((:ur$
  package-menu--perform-transaction((#s(package-desc :name ef-themes :version (1 9 0) :summary "Colorful and legible themes" :reqs ((emacs (27 1))) :kind tar :archive "gnu" :di$
  package-menu-execute()
  funcall-interactively(package-menu-execute)
  call-interactively(package-menu-execute nil nil)
  command-execute(package-menu-execute)
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo




This bug report was last modified 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.