我尝试通过软件中心升级软件,但软件中心一直崩溃。当我通过终端尝试时,我收到以下消息:-
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)
我也尝试过sudo apt-get -f upgrade
和,sudo apt-get install --reinstall libc6-dbg:amd64
但仍然出现相同的错误,也尝试过sudo apt-get install -f
和sudo apt-get autoremove
。它给出了以下消息。
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
答案1
尝试libc6-dbg:amd64
通过运行以下命令重新安装,
sudo apt-get install --reinstall libc6-dbg:amd64
然后运行升级命令,
sudo apt-get upgrade
答案2
尝试以下两个选项:
sudo apt-get check
sudo build-dep
sudo apt-get update
或者删除该包并再次运行更新命令:
sudo apt-get purge libc6-dbg:amd64
sudo apt-get update