Re: Infinite loop when installing Debian 10
On 4/22/20 10:00 PM, Alexandre Bencz wrote:
> I was able to install the system on qemu, using WSL ...
> When I ran apt upgrade, I received the following error:
>
> Unpacking libgcc-s2:m68k (10-20200418-1) ...
> dpkg: error processing archive /var/cache/apt/archives/libgcc-s2_10-20200418-1_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
Did you happen to use an old image? This is an old bug and it was
fixed some weeks ago in GCC.
Just use the overwrite option:
# apt-get -o Dpkg::Options::="--force-overwrite" install -f
# apt-get -o Dpkg::Options::="--force-overwrite" -y upgrade
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: