Find the answer to your Linux question:
Results 1 to 4 of 4
Every day I use the top command to check the processes running on my Kubuntu 10.10 system. Every day I find that apt-get is running under the root account and ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    19

    apt-get always running in background

    Every day I use the top command to check the processes running on my Kubuntu 10.10 system. Every day I find that apt-get is running under the root account and using 100% of the CPU. It'll run forever if I let it but I use "killall" to stop it.

    Pressing the "c" key in top shows the command used to start the process and doing that I see that apt-get is being started with "apt-get -qq -y update". The -qq param is for quiet mode and the -y is to answer yes to any questions. The important thing is the update parameter. It seems that some "feature" of Ubuntu is starting apt-get in update mode for me on a daily basis. I installed Kubuntu only 3 days ago and I don't recall turning this "feature" on anywhere.

    How can I disable this "feature" and prevent the system from auto-starting apt-get.?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Although a constant 100% cpu utilization figure seems excessive, this is how (I think) that Ubuntu checks for updates. You should be able to disable that by going to System->Administration->Update Manager->Settings and uncheck the "Check for updates" box.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    19
    Quote Originally Posted by Rubberman View Post
    Although a constant 100% cpu utilization figure seems excessive, this is how (I think) that Ubuntu checks for updates. You should be able to disable that by going to System->Administration->Update Manager->Settings and uncheck the "Check for updates" box.
    I don't have System -> Administration -> Update Manager. Perhaps you have that on Gnome systems. I am running KDE.

    I do have Applications -> System -> Software Management -> Settings and I have the Check for Updates option set to Never but the system still starts apt-get update on a daily basis. Very weird.

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Are you running a multi-core processor?

    If so when in top press Shift + I - in the default I have seen my processor running at way over 100%

    Shift I turns off Irix mode whatever that is and seems to turn on sensible mode!
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...