hp@hp-HP-15-Notebook-PC:~$ sudo apt-get install curl
sudo: /var/lib/sudo/hp writable by non-owner (040777), should be mode 0700
[sudo] password for hp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
curl : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.37.1-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
hp@hp-HP-15-Notebook-PC:~$ curl
The program 'curl' is currently not installed. You can install it by typing:
sudo apt-get install curl
hp@hp-HP-15-Notebook-PC:~$ sudo apt-get install aptitude
I am getting different error
apt install -f
? – user8292439 Apr 02 '18 at 12:46Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. hp@hp-HP-15-Notebook-PC:~/Desktop/SL - VI/Assignment 5/assign5$ – ajit gawali Apr 02 '18 at 13:48
sudo
to runapt-get
. The permission issues are related to something different. – David Foerster Apr 03 '18 at 10:34{}
button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks. – David Foerster Apr 03 '18 at 10:34sudo apt-get update; sudo apt-get upgrade -f
. If that fails please [edit] your question to include the full, verbatim output of that command sequence. Thanks. – David Foerster Apr 03 '18 at 10:36$ apt install -f
(from the second comment posted by ajit). This is clearly not the same as what you claim it is. – karel Apr 03 '18 at 10:41sudo: /var/lib/sudo/hp writable by non-owner (040777), should be mode 0700
looks a lot like the message came fromsudo
. I don't see any other permission issue in the question. If you mean OP's comment, they posted the output of the same command withsudo
immediately afterwards and before your comment. – David Foerster Apr 03 '18 at 10:43