Package: fonts-culmus
Version: 0.140-2.1
Severity: serious
Justification: Policy 7.6.1

An upgrade from bookworm to trixie fails if culmus was installed prior 
to the upgrade.  Here's a recipe for reproducing this bug, assuming you 
have Incus set up (but any other OS container/VM option should work):

  $ incus launch images:debian/bookworm bookworm-culmus
  $ incus shell bookworm-culmus
  # apt -y install culmus
  # sed -i 's/bookworm/trixie/' /etc/apt/sources.list
  # apt update
  # apt full-upgrade
  [...]
  Preparing to unpack .../14-culmus_0.140-2.1_all.deb ...
  Unpacking culmus (0.140-2.1) over (0.133-1) ...
  dpkg: warning: unable to delete old directory '/usr/share/fonts/X11/Type1': 
Directory not empty
  dpkg: warning: unable to delete old directory '/etc/fonts/conf.avail': 
Directory not empty
  dpkg: warning: unable to delete old directory '/etc/fonts': Directory not 
empty
  dpkg: warning: unable to delete old directory '/etc/X11/fonts/Type1': 
Directory not empty
  dpkg: warning: unable to delete old directory '/etc/X11/fonts': Directory not 
empty
  Selecting previously unselected package fonts-culmus.
  Preparing to unpack .../15-fonts-culmus_0.140-2.1_all.deb ...
  Unpacking fonts-culmus (0.140-2.1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-SqpUxR/15-fonts-culmus_0.140-2.1_all.deb (--unpack):
   trying to overwrite '/etc/fonts/conf.avail/65-culmus.conf', which is also in 
package culmus (0.140-2.1)
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

I see that you already have the appropriate Breaks/Replaces, but I 
vaguely recall that moving a dpkg-managed conffile from one package to 
another requires a bit more than that.  I'm afraid I've forgotten the 
details, though.

Thanks,

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to