• Bug#1103050: fonts-culmus: Upgrade from bookworm fails: file conflict o

    From Colin Watson@21:1/5 to All on Mon Apr 14 12:00:01 2025
    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) [cjwatson@debian.org]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to All on Mon Apr 14 12:50:02 2025
    I forgot to mention that this was based on a report that I happened to
    see on Reddit:

    https://www.reddit.com/r/debian/comments/1jymdlr/failed_upgrade_from_stable_to_trixie/

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon May 5 06:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 05 May 2025 03:48:57 +0000
    with message-id <E1uBmp7-001UTW-T4@fasolo.debian.org>
    and subject line Bug#1103050: fixed in culmus 0.140-3
    has caused the Debian Bug report #1103050,
    regarding fonts-culmus: Upgrade from bookworm fails: file conflict on /etc/fonts/conf.avail/65-culmus.conf
    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 owner@bugs.debian.org
    immediately.)


    --
    1103050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103050
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 14 Apr 2025 09:49:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-116.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
    SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 150; neutral, 113; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <cjwatson@debian.org>
    Received: from stravinsky.debia