• m68k Debian SID upgrade error

    From Finn Thain@21:1/5 to Stan Johnson on Tue Jul 27 05:20:01 2021
    On Mon, 26 Jul 2021, Stan Johnson wrote:


    I'm trying to update Debian SID for m68k in QEMU.

    After a successful "apt-get update", "apt-get dist-upgrade" fails here:

    $ apt-get dist-upgrade
    Selecting previously unselected package libcrypt1:m68k.
    Preparing to unpack .../7-libcrypt1_1%3a4.4.18-4_m68k.deb ...
    Unpacking libcrypt1:m68k (1:4.4.18-4) ...
    Replacing files in old package libc6:m68k (2.29-3) ...
    Setting up libcrypt1:m68k (1:4.4.18-4) ...
    Selecting previously unselected package libgcc-s2:m68k.
    (Reading database ... 34346 files and directories currently installed.) Preparing to unpack .../libgcc-s2_10.2.1-6_m68k.deb ...
    Unpacking libgcc-s2:m68k (10.2.1-6) ...
    dpkg: error processing archive /var/cache/apt/archives/libgcc-s2_10.2.1-6_m68k.deb (--unpack):
    trying to overwrite '/lib/m68k-linux-gnu/libgcc_s.so.2', which is also
    in package libgcc2:m68k 1:9.2.1-19
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Does anyone know whether there is a workaround for the above error?

    Yes, Adrian provided a workaround last year: https://lists.debian.org/debian-68k/2020/04/msg00032.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)