Ubuntu 16.04 LTS not getting Updated & Upgraded through Terminal, S.U or S.P.M.

Asked by Navin Talati

Friends,

When I apply a command “sudo apt-get update” it gives output as under:

navin@linux:~$ sudo apt-get update
[sudo] password for navin:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
navin@linux:~$

And when I apply a command “sudo apt-get upgrade” it gives output as under:
navin@linux:~$ sudo apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
navin@linux:~$

Also “Software Updater” (S.U)and “Synaptic Package Manager” (S.P.M.) not working.

Please ,help me in resolving this issue by providing appropriate command lines.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Navin Talati
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Please post the full Terminal output from steps 6 and 10 and post the full Terminal output here:

https://answers.launchpad.net/ubuntu/+question/293972

Revision history for this message
Navin Talati (n-m-talati) said :
#2

For last 2-3 days, the system works normal. (might be due to installing default security updates as it comes normally).
Is now the TERMINAL OUTPUT mentioned in and as per #1 required?
If yes, let me know.
Otherwise, the issue in now solved.
Thanks.