Software Center waiting for apt-get to exit

Asked by Lênon Kramer on 2012-09-06

Ubuntu 12.04.1 LTS
Software Center 5.2.5

Anytime I try to install a software or update a driver or a software either via Software Center, Update Manager or Terminal, it gives me a message saying "waiting for apt-get to exit" and freezes. I've installed Ubuntu yesterday and cannot install anything.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
2012-09-07
Last query:
2012-09-07
Last reply:
2012-09-07

This question was originally filed as bug #1047070.

Lênon Kramer (lenon3579) said : #1

Ubuntu 12.04.1 LTS
Software Center 5.2.5

Anytime I try to install a software or update a driver or a software either via Software Center, Update Manager or Terminal, it gives me a message saying "waiting for apt-get to exit" and freezes. I've installed Ubuntu yesterday and cannot install anything.

Best N1ck 7h0m4d4k15 (nicktux) said : #2

Hello,

restart your Ubuntu system and check no other application run . No Update Manager , or Software Center.

Then open a terminal only . (ctrl+alt+t Keys Combo)

And apply bellow commands

++++++++++++++++++++++++++
sudo rm /var/lib/apt/lists/lock
sudo apt-get update
sudo apt-get dist-upgrade
++++++++++++++++++++++++++

you can copy-paste commands from here in terminal for more accuracy. One line at time.

Thanks

Lênon Kramer (lenon3579) said : #3

Thank you very much, NikTh! That worked!

Lênon Kramer (lenon3579) said : #4

Thanks NikTh, that solved my question.