Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The update manager is still stuck in updating the linux kernel (linux-image-2.6.35-24-generic) in the process of updating the grub entries. I think the problem is that the update manager doesn't have root privileges to continue (the app indicator with the key icon disappeared) and I want to know if it's safe to kill the update manager and start the process over.

share|improve this question
    
I chose to end update manager after seeing this thread. After that I ran this comment in terminal sudo dpkg --configure -a. But I got the error "dpkg: status database area is locked by another process". Then I restarted the system after seeing a comment here. But it crashed GRUB (boot menu) on my syste and I had to go through a boot-repair via bootable OS on a pen-drive. So be careful when you kill update-manager. – Aravind Jul 22 at 14:31

It is safe to kill update-manager, but after that please run the following:

sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update && sudo apt-get upgrade
share|improve this answer
    
I'm trying to run the first command, but it says: "dpkg: status database area is locked by another process" – Harvey Dec 23 '10 at 16:34
    
@Harvey A simple restart might help you to get rid of dpkg: status database area is locked by another process If not then execute my commands in your terminal.It will help you. – karthick87 Dec 23 '10 at 16:50
    
were you able to resolve the problem ? – João Pinto Jan 4 '11 at 22:37

I ran into the same issue, and found a solution that worked for me based on: linuxquestions.org

Execute the following commands:

ps -e | grep apt

And then:

sudo kill -9 <pid>

For each apt/aptd pid reported.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.