Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After running the "top" command in the terminal, I see "aptd" running which causes the cpu to run at 100%. If I'm updating the system, or installing a software, I see it. I only recently noticed it. Is there anyway to stop it or tell me what is its function?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

aptd is the service that installs software for Ubuntu Software Center and Update Manager. It runs as a separate, background process so that the installer can have root privileges while the GUI runs under your own user ID.

You should not stop aptd while software is installing: killing it will interrupt the installation, and possibly break the package system.

If you are not installing software and still see aptd using CPU time, then it's likely that you have the system set to automatically check for updates; those automatic update checks also use aptd.

share|improve this answer
    
Thanks a lot for the information. Makes sense now. –  rockr101 Nov 4 '11 at 3:34
add comment

In addition to the above information, if you notice that it is running for a long time - say an hour or more, it may be necessary to kill it. I ran into that when the Synaptic Package Manager appeared to be not responding for an extended period of time. After force closing it from the GUI, I found a couple instances of aptd and several other related processes running, and eventually I had to kill them.

In my case, I found that it was necessary to run the following commands to recover:

sudo dpkg-reconfigure -phigh -a
sudo dpkg --configure -a
share|improve this answer
add comment

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.