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
?
apt performance
add a comment |
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
?
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 |
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
?
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,71311922
1,71311922
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
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)?
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 |
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)?
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 |
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)?
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 |
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)?
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.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-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