Asked By
liam smith
10 points
N/A
Posted on - 02/13/2014
I just installed Microsoft Windows Compatibility Layer and I encountered an error in Ubuntu. The Repair option in the error message doesn't help. In fact, another error appears stating that the "Package operation failed". How can I solve this problem?
Here is the preview of the first error I've got:
Items cannot be installed or removed until the package catalog is repaired. Do you want to repair it now?
Once Update Manager has finished the repairs, you can close it and return to the store.
Cancel Repair
Answered By
points
N/A
#114541
Items cannot be installed or removed error on Ubuntu
It seems like the package is broken. In order to fix it,
Press “Ctrl + Alt + T” to open Terminal. Then run the following command:
sudo apt-get install –f
If that doesn’t work, run these commands again:
sudo dpkg –configure –a
sudo apt-get install –f
If the problem continues to appear, you’ve to edit the “dpkg status” file. Run this command:
gksudo gedit /var/lib/dpkg/status
Find out the package, remove everything that has anything to do with it, and then save the file.
More diagnostics can be found here.