Whenever trying to install any software and update manger,
I get an error stating
Package operation failed
The installation or removal of a software package failed
When I run sudo apt-get update
I got this result:
conan51xd@conan51xd-Lenovo-B470:~$ sudo apt-get -f install
[sudo] password for conan51xd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
conan51xd@conan51xd-Lenovo-B470:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
sudo apt-get update
in terminal and post its output in your question by editing it.sudo apt-get -f install
entered into the terminal often works but tijybba is right; post the output ofapt-get update
if my tip does not work.sudo apt-get update
. Thats the answer.