0

when I use:

sudo apt-get upgrade

I get this Error:

E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)

E: The package lists or status file could not be parsed or opened.

i use : sudo dpkg --configure -a

and I get this:

dpkg: error: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
4
  • Please read the contents of the file /var/lib/dpkg/status using command in terminal "sudo gedit /var/lib/dpkg/status" Mar 14, 2013 at 8:56
  • no, it doesn't help me.
    – Mj125
    Mar 14, 2013 at 8:58
  • nothing, i think, i remove my status
    – Mj125
    Mar 14, 2013 at 9:03
  • Did you see the link @Jai posted?
    – Seth
    Mar 14, 2013 at 13:22

1 Answer 1

1

Try following commands step by step.

sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status

sudo mkdir /var/lib/apt/lists/partial 

sudo dpkg --clear-avail

Now try to

sudo apt-get update && sudo apt-get upgrade

Not the answer you're looking for? Browse other questions tagged .