Package: emacs Version: 1:29.1+1-5~bpo12+1 Severity: normal X-Debbugs-Cc: marcus_deb...@hostalia.de
Dear Maintainer, when upgrading the `emacs` metapackage, one would expect the providing emacs-gtk, emacs-nox, emacs-lucid… package to be upgraded. That's not happening. For example: on bookworm: #install emacs 28 apt install emacs #enable the bookworm backports repo sed -i 's/Suites:.*$/& bookworm-backports/' #update emacs to 29 apt update apt install emacs/bookworm-backports effectlessly updates the metapackage, and leaves the actual emacs installation alone. This leads to user confusion¹. The reason becomes obvious when one checks the dependencies: #> apt depends emacs emacs |Depends: emacs-gtk (>= 1:27.1) |Depends: emacs-pgtk (>= 1:27.1) |Depends: emacs-lucid (>= 1:27.1) Depends: emacs-nox (>= 1:27.1) #> apt depends emacs/bookworm-backports emacs |Depends: emacs-gtk (>= 1:27.1) |Depends: emacs-pgtk (>= 1:27.1) |Depends: emacs-lucid (>= 1:27.1) Depends: emacs-nox (>= 1:27.1) So, the metapackage in either case doesn't depend on emacs-implementation of the same version, but on a much older version (or anything after). Proposed solution: make `emacs~version` depend on `emacs-gtk==version`, not on `>=much-older-version` Best, Marcus Müller ¹ https://unix.stackexchange.com/questions/758547/i-have-2-versions-of-emacs-installed-in-debian-how-do-i-remove-one-of-them/758553#758553 -- System Information: Debian Release: 12.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.4.15-200.fc38.x86_64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages emacs depends on: ii emacs-pgtk 1:29.1+1-5~bpo12+1 emacs recommends no packages. emacs suggests no packages. -- no debconf information