I am pretty new in Ubuntu, I am using Ubuntu 18.04 version. I was installing Odoo software but it was interrupted because of some dependency error, Now I am unable to install any software from Ubuntu Software Center because of this error, Error shown in the screen shot.

I also used following commands but still this error is occurring.

sudo apt update    
sudo apt upgrade    
sudo apt update    
sudo rm /var/lib/apt/listts/lock    
sudo rm /var/chache/apt/archives/lock

enter image description here


Try this :

sudo rm -f /var/lib/dpkg/info/initramfs-tools.post*
sudo rm -f /var/lib/dpkg/info/initramfs-tools.pre*

sudo rm -f /var/lib/dpkg/info/bcmwl-kernel-source.post*
sudo rm -f /var/lib/dpkg/info/bcmwl-kernel-source.pre*

sudo dpkg --configure -a

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.