jnq...@gmail.com hat am Mi 25. Mär, 09:03 (+0000) geschrieben: > Package: libc6 > Version: 2.30-3 > > sudo aptitude upgrade just now: > > ``` > Preparing to unpack .../libc6-dev_2.30-3_amd64.deb ... > Unpacking libc6-dev:amd64 (2.30-3) over (2.30-2) ... > Preparing to unpack .../libc-dev-bin_2.30-3_amd64.deb ... > Unpacking libc-dev-bin (2.30-3) over (2.30-2) ... > Preparing to unpack .../libc6-dbg_2.30-3_amd64.deb ... > Unpacking libc6-dbg:amd64 (2.30-3) over (2.30-2) ... > Preparing to unpack .../libc6_2.30-3_amd64.deb ... > > A copy of the C library was found in an unexpected directory: > '/usr/lib/x86_64-linux-gnu/ld-2.30.so' > It is not safe to upgrade the C library in this situation; > please remove that copy of the C library or get it out of > '/usr/lib/x86_64-linux-gnu' and try again.
A quick and dirty workaround is: ``` # egrep '/(ld|lib(d|c|m|pthread|rt|dl))-2.*.so' $I/libc6:amd64.list |sed 's,^,/usr,' |tee -a $I/libc6:amd64.list /usr/lib/x86_64-linux-gnu/ld-2.30.so /usr/lib/x86_64-linux-gnu/libc-2.30.so /usr/lib/x86_64-linux-gnu/libdl-2.30.so /usr/lib/x86_64-linux-gnu/libm-2.30.so /usr/lib/x86_64-linux-gnu/libpthread-2.30.so /usr/lib/x86_64-linux-gnu/librt-2.30.so # dpkg --unpack $A/libc6_2.30-3_amd64.deb (Lese Datenbank ... 452795 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libc6_2.30-3_amd64.deb ... libc6:i386 (2.30-2) wird de-konfiguriert ... Entpacken von libc6:amd64 (2.30-3) über (2.30-2) ... # egrep '/(ld|lib(d|c|m|pthread|rt|dl))-2.*.so' $I/libc6:i386.list |sed 's,^,/usr,; p; s,/i386-linux-gnu,32,' |tee -a $I/libc6:i386.list /usr/lib/i386-linux-gnu/ld-2.30.so /usr/lib32/ld-2.30.so /usr/lib/i386-linux-gnu/libc-2.30.so /usr/lib32/libc-2.30.so /usr/lib/i386-linux-gnu/libdl-2.30.so /usr/lib32/libdl-2.30.so /usr/lib/i386-linux-gnu/libm-2.30.so /usr/lib32/libm-2.30.so /usr/lib/i386-linux-gnu/libpthread-2.30.so /usr/lib32/libpthread-2.30.so /usr/lib/i386-linux-gnu/librt-2.30.so /usr/lib32/librt-2.30.so # dpkg --unpack $A/libc6_2.30-3_i386.deb (Lese Datenbank ... 452801 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../archives/libc6_2.30-3_i386.deb ... Entpacken von libc6:i386 (2.30-3) über (2.30-2) ... ``` Pay attention: The command for sed for i386 is different from amd64! -- The UNIX Guru's View of Sex: # unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
signature.asc
Description: PGP signature