Software Center waiting for apt-get to exit

Asked by Lênon Kramer

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:
Last query:
Last reply:

This question was originally filed as bug #1047070.

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
Lênon Kramer (lenon3579) said :
#3

Thank you very much, NikTh! That worked!

Revision history for this message
Lênon Kramer (lenon3579) said :
#4

Thanks NikTh, that solved my question.