Package: emacs-common
Version: 1:28.2+1-8

Upgrading emacs from 27.1 to 28.2 today on my debian testing system, i
ran into this problem with the upgrade:

----
Unpacking emacs-common (1:28.2+1-8) over (1:27.1+1-3.1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-nVWWVc/05-emacs-common_1%3a28.2+1-8_all.deb (--unpack):
 trying to overwrite '/usr/lib/systemd/user/emacs.service', which is also in 
package emacs-bin-common 1:27.1+1-3.1+b1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
----

this eventually caused "apt upgrade" to fail, but a subsequent "apt -f
install" succeeded without issue, presumably because emacs-bin-common
had also already been upgraded to 1:28.2+1-8 in the meantime.

Moving a file from one package to another should be done more
cautiously, along these lines:

  https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

Thanks for maintaining emacs in debian!

       --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to