[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Infinite loop when installing Debian 10



I just changed the postinst file (/var/lib/dpkg/info/python3-minimal.postinst ) to trace the execution....
THe error:

+ set -e
+ which py3compile
+ py3compile -p python3-minimal /usr/share/python3/
Segmentation fault

Alexandre S. Bencz
+55 {15} 991-707-384

On 22/04/2020 17:46, Alexandre Bencz wrote:
Right... I used a another image and this error disappears... but, I got an another error while doing the upgrade:

Setting up python3-minimal (3.8.2-3) ...
Segmentation fault
dpkg: error processing package python3-minimal (--configure):
 installed python3-minimal package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
 python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

Alexandre S. Bencz
+55 {15} 991-707-384

On 22/04/2020 17:04, John Paul Adrian Glaubitz wrote:
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



Reply to: