Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have tried upgrading the software through Software Center however the software center keeps on crashing. When i tried through the terminal I got the following message:-

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)

I have also tried sudo apt-get -f upgrade and sudo apt-get install --reinstall libc6-dbg:amd64 but still got the same error and also tried the sudo apt-get install -f and sudo apt-get autoremove. It gave the following message.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
share|improve this question
    
Try sudo apt-get install -f –  Ask Jan 11 at 6:37
    
Nope. It is still not working.. 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 Jan 11 at 7:03
    
try sudo apt-get autoremove –  Avinash Raj Jan 11 at 7:09
    
Tried that too... gave the same message as the above one. 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 Jan 11 at 7:10

2 Answers 2

Try to reinstall libc6-dbg:amd64 by running the below command,

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

Then run upgrade command,

sudo apt-get upgrade
share|improve this answer
    
it gave a long list of errors same as above... i am posting it above.. E: Sub-process /usr/bin/dpkg returned an error code (2) –  Vivek Vijaynath Jan 11 at 7:15
    
let us discuss here chat.stackexchange.com/rooms/11833/… –  Avinash Raj Jan 11 at 7:19

Try this two options:

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

or delete that package and run update command again:

sudo apt-get purge libc6-dbg:amd64
sudo apt-get update
share|improve this answer
    
that also did't work either.. had to use "windows" method finally. Reinstalled ubuntu again. –  Vivek Vijaynath Jan 16 at 5:04
    
It is not good habit my friend to solve a problem in that way. If you want to learn the linux/unix architecture and become a power user of it try to solve all of the problem without reinstall. Because every problem has a solution and it is not right one :) –  NadirHajiyev Jan 17 at 6:01
    
I understand and I completely agree with you. I myself dislike to follow that method. However would like to thank everyone for the support. –  Vivek Vijaynath Jan 18 at 8:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.