apt-get update starts 'by itself' and never stops running
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
add a comment |
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
Don't you meanapt-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 runsapt-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
add a comment |
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
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
apt performance
edited Nov 28 at 20:52
Peter V. Mørch
1,73312022
1,73312022
asked Jan 16 '15 at 9:11
Viet Norm
6
6
Don't you meanapt-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 runsapt-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
add a comment |
Don't you meanapt-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 runsapt-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
add a comment |
1 Answer
1
active
oldest
votes
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)?
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-modifiersudo 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
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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)?
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-modifiersudo 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
add a comment |
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)?
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-modifiersudo 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
add a comment |
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)?
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)?
answered Jan 16 '15 at 9:46
Byte Commander
62.9k26169286
62.9k26169286
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-modifiersudo 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
add a comment |
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-modifiersudo 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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