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