Unable to upgrade to new version. update manager displays up-to-date ,but version is still old i.e 14.04 .

Asked by Chhaya Verma

I am using 14.04 version. it get hanged sometimes .and unable install fews application like stellarium. Wanted to upgrade but the software updater displays up-to-date after browsing for updates.how to fix? please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo apt-get update
sudo apt-get upgrade

Thanks

Your release is very old. This may be the issue

Revision history for this message
Chhaya Verma (vchhaya) said :
#2

output of sudo apt-get update
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?

Revision history for this message
Chhaya Verma (vchhaya) said :
#3

output of 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?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Are updates installing or do you have software centre open? If so then let them finish and retry.

If not then reboot and retry. If you still get the same message then run:

sudo fuser -vki /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

This will clear the lock

Can you help with this problem?

Provide an answer of your own, or ask Chhaya Verma for more information if necessary.

To post a message you must log in.