No se puede actualizar a través de sudo apt-get upgrade o Software Center

0

He intentado actualizar el software a través del Centro de software, sin embargo, el centro de software sigue fallando. Cuando intenté a través del terminal, recibí el siguiente mensaje:

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0 gnome-control-center
  gnome-control-center-data libgnome-control-center1
  libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libssl1.0.0
  libssl1.0.0:i386 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
  libwebkitgtk-3.0-0 libwebkitgtk-3.0-common openssl xserver-common
  xserver-xorg-core
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/27.4 MB of archives.
After this operation, 17.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
dpkg: warning: files list file for package 'libclone-perl' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libc-bin' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcogl12:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbz2-1.0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclutter-gst-2.0-0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcogl-pango12:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclutter-1.0-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclucene-core1:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcogl-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclucene-contribs1:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libc-dev-bin' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcolamd2.7.1' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcloog-isl4:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcmis-0.3-3' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclutter-gtk-1.0-0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libclutter-1.0-0:amd64' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
 files list for package 'libc6-dbg:amd64' is not a regular file
E: Sub-process /usr/bin/dpkg returned an error code (2)

También lo intenté sudo apt-get -f upgradey sudo apt-get install --reinstall libc6-dbg:amd64todavía recibí el mismo error y también probé el sudo apt-get install -fy sudo apt-get autoremove. Dio el siguiente mensaje.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Vivek Vijaynath
fuente
Pruebasudo apt-get install -f
Maythux
No. Todavía no funciona ..Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Vivek Vijaynath
intentarsudo apt-get autoremove
Avinash Raj
Intenté eso también ... dio el mismo mensaje que el anterior. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Vivek Vijaynath

Respuestas:

0

Intente reinstalar libc6-dbg:amd64ejecutando el siguiente comando,

sudo apt-get install --reinstall libc6-dbg:amd64

Luego ejecute el comando de actualización,

sudo apt-get upgrade
Avinash Raj
fuente
dio una larga lista de errores igual que el anterior ... lo estoy publicando arriba ..E: Sub-process /usr/bin/dpkg returned an error code (2)
Vivek Vijaynath
hablemos aquí chat.stackexchange.com/rooms/11833/…
Avinash Raj
0

Prueba estas dos opciones:

sudo apt-get check
sudo build-dep
sudo apt-get update

o elimine ese paquete y vuelva a ejecutar el comando de actualización:

sudo apt-get purge libc6-dbg:amd64
sudo apt-get update
NadirHajiyev
fuente
eso tampoco funcionó ... finalmente tuve que usar el método "windows". Vuelve a instalar ubuntu nuevamente.
Vivek Vijaynath
No es una buena costumbre, amigo mío, resolver un problema de esa manera. Si desea aprender la arquitectura de Linux / Unix y convertirse en un usuario avanzado, intente resolver todo el problema sin reinstalar. Porque cada problema tiene una solución y no es la correcta :)
NadirHajiyev
Entiendo y estoy completamente de acuerdo contigo. A mí mismo no me gusta seguir ese método. Sin embargo, me gustaría agradecer a todos por el apoyo.
Vivek Vijaynath