I have upgraded to 12.04 from 11.10. I am getting following error message

E:Problem parsing dependency Depends 
E:Error occurred while processing iw (NewVersion2) 
E:Problem with MergeList /var/lib/dpkg/status 
E:The package lists or status file could not be parsed or opened.

I have tried the following command

sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update

Ubuntu Software Center crashes with above error message.


It seems like your /var/lib/dpkg/status file is corrupted. So try to replace the current status file with the old one.

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bak
sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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