sábado, 7 de septiembre de 2024

problema al desinstalar un paquete en debian

Error :

Preparing to unpack .../libc6_2.36-9+deb12u8_amd64.deb ...
Unpacking libc6:amd64 (2.36-9+deb12u8) over (2.36-9+deb12u4) ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.36-9+deb12u8_amd64.deb (--unpack):
<b> trying to overwrite '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2', which is also in package libc6-udeb 2.36-9+deb12u7</b>
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.36-9+deb12u8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: error processing package libc6:i386 (--configure):
 package libc6:i386 2.36-9+deb12u8 cannot be configured because libc6:amd64 is at a different version (2.36-9+deb12u4)
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Errors were encountered while processing:
 libc6:i386
                                         



the solution was :

edit
nano /var/lib/dpkg/info/libc6-udeb.list


remove all lines inside
/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
..... etc



  GNU nano 5.4                                       /var/lib/dpkg/info/libc6-udeb.list                                                



before====

/.
/lib
/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
/lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libdl.so.2
/lib/x86_64-linux-gnu/libm.so.6
/lib/x86_64-linux-gnu/libmvec.so.1
/lib/x86_64-linux-gnu/libnss_dns.so.2
/lib/x86_64-linux-gnu/libnss_files.so.2
/lib/x86_64-linux-gnu/libpthread.so.0
/lib/x86_64-linux-gnu/libresolv.so.2
/lib/x86_64-linux-gnu/librt.so.1
/lib64
/lib64/ld-linux-x86-64.so.2


after ==

/lib
/lib/x86_64-linux-gnu
/lib64




then  
 aptitude upgrade

then remove
aptitude remove libc6-udeb


and done

thanks so much to : rwp , tempforever  fsmithred_ fsr_

Donarme :->

Donar a AlexLikeRock
muchas gracias por tu ayuda :->

Control PS3 en Debian

 Control PS3  en Debian     requisitos  : # apt-get install bluetooth bluez bluez-tools rfkill rfcomm hardinfo   requisitos extraudinarios: ...