On Mon, 26 Jul 2021, Stan Johnson wrote: > Hello, > > 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: > /var/cache/apt/archives/libgcc-s2_10.2.1-6_m68k.deb > 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