apt-get update starts 'by itself' and never stops running











up vote
0
down vote

favorite












I noticed my laptop becomes really slow from time to time. I think, but I'm not 100% sure, that this only happens after i plug the power in, and it started happening several days ago. Then I also noticed the disk led showing constant disk activity, and ran iotop to see what processes are using the disk. It showed something like:



apt-get -qq -y update


using between 98% and 99.99% of IO (all of it under disk write, zero under disk read, all the time).



I waited for several minutes to see when it will stop and it never did (when I run it, it usually takes about 20-30s to complete). Why is this happening? Can I find out what triggered apt-get update?










share|improve this question
























  • Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
    – Byte Commander
    Jan 16 '15 at 12:50












  • Yes, that was probably it.
    – Viet Norm
    Jan 16 '15 at 14:42










  • I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
    – Peter V. Mørch
    Nov 28 at 16:57










  • Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
    – Peter V. Mørch
    Nov 28 at 18:32















up vote
0
down vote

favorite












I noticed my laptop becomes really slow from time to time. I think, but I'm not 100% sure, that this only happens after i plug the power in, and it started happening several days ago. Then I also noticed the disk led showing constant disk activity, and ran iotop to see what processes are using the disk. It showed something like:



apt-get -qq -y update


using between 98% and 99.99% of IO (all of it under disk write, zero under disk read, all the time).



I waited for several minutes to see when it will stop and it never did (when I run it, it usually takes about 20-30s to complete). Why is this happening? Can I find out what triggered apt-get update?










share|improve this question
























  • Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
    – Byte Commander
    Jan 16 '15 at 12:50












  • Yes, that was probably it.
    – Viet Norm
    Jan 16 '15 at 14:42










  • I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
    – Peter V. Mørch
    Nov 28 at 16:57










  • Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
    – Peter V. Mørch
    Nov 28 at 18:32













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I noticed my laptop becomes really slow from time to time. I think, but I'm not 100% sure, that this only happens after i plug the power in, and it started happening several days ago. Then I also noticed the disk led showing constant disk activity, and ran iotop to see what processes are using the disk. It showed something like:



apt-get -qq -y update


using between 98% and 99.99% of IO (all of it under disk write, zero under disk read, all the time).



I waited for several minutes to see when it will stop and it never did (when I run it, it usually takes about 20-30s to complete). Why is this happening? Can I find out what triggered apt-get update?










share|improve this question















I noticed my laptop becomes really slow from time to time. I think, but I'm not 100% sure, that this only happens after i plug the power in, and it started happening several days ago. Then I also noticed the disk led showing constant disk activity, and ran iotop to see what processes are using the disk. It showed something like:



apt-get -qq -y update


using between 98% and 99.99% of IO (all of it under disk write, zero under disk read, all the time).



I waited for several minutes to see when it will stop and it never did (when I run it, it usually takes about 20-30s to complete). Why is this happening? Can I find out what triggered apt-get update?







apt performance






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 20:52









Peter V. Mørch

1,71311922




1,71311922










asked Jan 16 '15 at 9:11









Viet Norm

6




6












  • Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
    – Byte Commander
    Jan 16 '15 at 12:50












  • Yes, that was probably it.
    – Viet Norm
    Jan 16 '15 at 14:42










  • I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
    – Peter V. Mørch
    Nov 28 at 16:57










  • Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
    – Peter V. Mørch
    Nov 28 at 18:32


















  • Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
    – Byte Commander
    Jan 16 '15 at 12:50












  • Yes, that was probably it.
    – Viet Norm
    Jan 16 '15 at 14:42










  • I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
    – Peter V. Mørch
    Nov 28 at 16:57










  • Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
    – Peter V. Mørch
    Nov 28 at 18:32
















Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
– Byte Commander
Jan 16 '15 at 12:50






Don't you mean apt-get -qq -y update? It throws an error when trying to use the "y" without a "-"!
– Byte Commander
Jan 16 '15 at 12:50














Yes, that was probably it.
– Viet Norm
Jan 16 '15 at 14:42




Yes, that was probably it.
– Viet Norm
Jan 16 '15 at 14:42












I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
– Peter V. Mørch
Nov 28 at 16:57




I have brand spanking new debian9/stretch where I've installed a bunch of packages. It runs apt-get -qq -y update when booting. I didn't set that up. I'm also looking for the initiator
– Peter V. Mørch
Nov 28 at 16:57












Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
– Peter V. Mørch
Nov 28 at 18:32




Found the initiator: systemctl status apt-daily.service - this is a real thing (appart from the missing - in -y). Upvoting and editing to fix the -y.
– Peter V. Mørch
Nov 28 at 18:32










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The command updates your package list, while the modifiers -qq means "very quiet", so there is no output and -y means it automatically answers all questions with yes. Maybe you would like to change your settings for automatic search for updates which could possibly start a command like this. Maybe there is also an error with your package sources which make it run in infinite loops. Try executing the command in a terminal without the quiet-option (-qq) and see how it performs. But normally you have to use sudo to run apt-get with root privileges. Is the process you found in your question running as root or as you (normal user)?






share|improve this answer





















  • It's running as root.
    – Viet Norm
    Jan 16 '15 at 11:12










  • Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
    – Byte Commander
    Jan 16 '15 at 12:48












  • I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
    – Viet Norm
    Jan 16 '15 at 14:43











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f574359%2fapt-get-update-starts-by-itself-and-never-stops-running%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













The command updates your package list, while the modifiers -qq means "very quiet", so there is no output and -y means it automatically answers all questions with yes. Maybe you would like to change your settings for automatic search for updates which could possibly start a command like this. Maybe there is also an error with your package sources which make it run in infinite loops. Try executing the command in a terminal without the quiet-option (-qq) and see how it performs. But normally you have to use sudo to run apt-get with root privileges. Is the process you found in your question running as root or as you (normal user)?






share|improve this answer





















  • It's running as root.
    – Viet Norm
    Jan 16 '15 at 11:12










  • Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
    – Byte Commander
    Jan 16 '15 at 12:48












  • I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
    – Viet Norm
    Jan 16 '15 at 14:43















up vote
0
down vote













The command updates your package list, while the modifiers -qq means "very quiet", so there is no output and -y means it automatically answers all questions with yes. Maybe you would like to change your settings for automatic search for updates which could possibly start a command like this. Maybe there is also an error with your package sources which make it run in infinite loops. Try executing the command in a terminal without the quiet-option (-qq) and see how it performs. But normally you have to use sudo to run apt-get with root privileges. Is the process you found in your question running as root or as you (normal user)?






share|improve this answer





















  • It's running as root.
    – Viet Norm
    Jan 16 '15 at 11:12










  • Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
    – Byte Commander
    Jan 16 '15 at 12:48












  • I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
    – Viet Norm
    Jan 16 '15 at 14:43













up vote
0
down vote










up vote
0
down vote









The command updates your package list, while the modifiers -qq means "very quiet", so there is no output and -y means it automatically answers all questions with yes. Maybe you would like to change your settings for automatic search for updates which could possibly start a command like this. Maybe there is also an error with your package sources which make it run in infinite loops. Try executing the command in a terminal without the quiet-option (-qq) and see how it performs. But normally you have to use sudo to run apt-get with root privileges. Is the process you found in your question running as root or as you (normal user)?






share|improve this answer












The command updates your package list, while the modifiers -qq means "very quiet", so there is no output and -y means it automatically answers all questions with yes. Maybe you would like to change your settings for automatic search for updates which could possibly start a command like this. Maybe there is also an error with your package sources which make it run in infinite loops. Try executing the command in a terminal without the quiet-option (-qq) and see how it performs. But normally you have to use sudo to run apt-get with root privileges. Is the process you found in your question running as root or as you (normal user)?







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 16 '15 at 9:46









Byte Commander

62.5k26169283




62.5k26169283












  • It's running as root.
    – Viet Norm
    Jan 16 '15 at 11:12










  • Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
    – Byte Commander
    Jan 16 '15 at 12:48












  • I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
    – Viet Norm
    Jan 16 '15 at 14:43


















  • It's running as root.
    – Viet Norm
    Jan 16 '15 at 11:12










  • Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
    – Byte Commander
    Jan 16 '15 at 12:48












  • I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
    – Viet Norm
    Jan 16 '15 at 14:43
















It's running as root.
– Viet Norm
Jan 16 '15 at 11:12




It's running as root.
– Viet Norm
Jan 16 '15 at 11:12












Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
– Byte Commander
Jan 16 '15 at 12:48






Does it do anything uncommon if you run it manually without the quiet-modifier sudo apt-get -y update in a terminal? Or with the -qq enabled?
– Byte Commander
Jan 16 '15 at 12:48














I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
– Viet Norm
Jan 16 '15 at 14:43




I just executed the command manually, and it completed in 10-15 seconds. Thanks for helping, btw :)
– Viet Norm
Jan 16 '15 at 14:43


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f574359%2fapt-get-update-starts-by-itself-and-never-stops-running%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei