PDA

View Full Version : [ubuntu] How to remove broken packages in ubuntu 12.04



pandesm
March 19th, 2013, 07:57 PM
Unable to open lock! Ubuntu sofware center does not work, nor does sudo apt get install -f. It got stuck up with java 7, probably

Bashing-om
March 19th, 2013, 08:49 PM
pandesm; Hi !

The lock condition is indicative that you have more than one instance of a software manager running.
Make sure that the Soft ware Center is not open, nor is synaptic open, aptitude nor apt-get is not running in any terminal. When all this is true, then reboot the system. To see what condition your condition is in, post the output of terminal codes:
[code}sudo apt-get update
sudo apt-get upgrade[/code]

here there is help