How to stop apt from doing anything [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
3
down vote
favorite
This question already has an answer here:
how to permanently disable ubuntu updates & hide install updates button pic included
1 answer
I have a pretty small embedded system that has Linux on it for a project. Theres normally about 47% disk space used when I run df. However every time I start up the system that number gets bigger until it hits 100%.
I can get it back down by using apt-get clean, but I don't even want to update anything. My system is used in a limited capacity thats already working fine with what is on it, I don't want any upgrades of package updates.
How can I disable whatever apt is doing to check for updates and download stuff every time it starts up?
apt
marked as duplicate by user68186, vidarlo, karel, Eric Carvalho, ravery Feb 15 at 10:44
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
3
down vote
favorite
This question already has an answer here:
how to permanently disable ubuntu updates & hide install updates button pic included
1 answer
I have a pretty small embedded system that has Linux on it for a project. Theres normally about 47% disk space used when I run df. However every time I start up the system that number gets bigger until it hits 100%.
I can get it back down by using apt-get clean, but I don't even want to update anything. My system is used in a limited capacity thats already working fine with what is on it, I don't want any upgrades of package updates.
How can I disable whatever apt is doing to check for updates and download stuff every time it starts up?
apt
marked as duplicate by user68186, vidarlo, karel, Eric Carvalho, ravery Feb 15 at 10:44
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
This question already has an answer here:
how to permanently disable ubuntu updates & hide install updates button pic included
1 answer
I have a pretty small embedded system that has Linux on it for a project. Theres normally about 47% disk space used when I run df. However every time I start up the system that number gets bigger until it hits 100%.
I can get it back down by using apt-get clean, but I don't even want to update anything. My system is used in a limited capacity thats already working fine with what is on it, I don't want any upgrades of package updates.
How can I disable whatever apt is doing to check for updates and download stuff every time it starts up?
apt
This question already has an answer here:
how to permanently disable ubuntu updates & hide install updates button pic included
1 answer
I have a pretty small embedded system that has Linux on it for a project. Theres normally about 47% disk space used when I run df. However every time I start up the system that number gets bigger until it hits 100%.
I can get it back down by using apt-get clean, but I don't even want to update anything. My system is used in a limited capacity thats already working fine with what is on it, I don't want any upgrades of package updates.
How can I disable whatever apt is doing to check for updates and download stuff every time it starts up?
This question already has an answer here:
how to permanently disable ubuntu updates & hide install updates button pic included
1 answer
apt
apt
asked Feb 14 at 16:17
Zephyr
1848
1848
marked as duplicate by user68186, vidarlo, karel, Eric Carvalho, ravery Feb 15 at 10:44
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by user68186, vidarlo, karel, Eric Carvalho, ravery Feb 15 at 10:44
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15
add a comment |Â
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
add a comment |Â
up vote
1
down vote
On my systems I did the following to take control on the system:
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timerDisabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' |
sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
add a comment |Â
up vote
1
down vote
It sounds that you have to run
sudo apt autoremove
to remove old kernels.
Do that before the disk usage hits 100%, do it frequently.
If you disable updates or remove the update-manager, you would have to keep the system up to date manually. You would still be able to use apt
for that purpose.
In addition you should check which files/folders are eating your disk space. The answers in How to determine where biggest files/directories on my system are stored? might be useful.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
add a comment |Â
up vote
2
down vote
accepted
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager
answered Feb 14 at 17:25
Stephen Boston
6081516
6081516
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
add a comment |Â
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
Will doing this still let me use apt later if I need to?
â Zephyr
Feb 14 at 18:01
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
This does not affect apt at all. The update manager uses apt but apt does not use the update manager. You will be able to use apt to install, update, remove any package you like. You will also be able to perform a general update or upgrade using apt update and apt upgrade.
â Stephen Boston
Feb 15 at 17:19
add a comment |Â
up vote
1
down vote
On my systems I did the following to take control on the system:
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timerDisabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' |
sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
add a comment |Â
up vote
1
down vote
On my systems I did the following to take control on the system:
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timerDisabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' |
sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
On my systems I did the following to take control on the system:
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timerDisabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' |
sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
On my systems I did the following to take control on the system:
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timerDisabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' |
sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
answered Feb 14 at 16:53
N0rbert
16.6k33378
16.6k33378
add a comment |Â
add a comment |Â
up vote
1
down vote
It sounds that you have to run
sudo apt autoremove
to remove old kernels.
Do that before the disk usage hits 100%, do it frequently.
If you disable updates or remove the update-manager, you would have to keep the system up to date manually. You would still be able to use apt
for that purpose.
In addition you should check which files/folders are eating your disk space. The answers in How to determine where biggest files/directories on my system are stored? might be useful.
add a comment |Â
up vote
1
down vote
It sounds that you have to run
sudo apt autoremove
to remove old kernels.
Do that before the disk usage hits 100%, do it frequently.
If you disable updates or remove the update-manager, you would have to keep the system up to date manually. You would still be able to use apt
for that purpose.
In addition you should check which files/folders are eating your disk space. The answers in How to determine where biggest files/directories on my system are stored? might be useful.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
It sounds that you have to run
sudo apt autoremove
to remove old kernels.
Do that before the disk usage hits 100%, do it frequently.
If you disable updates or remove the update-manager, you would have to keep the system up to date manually. You would still be able to use apt
for that purpose.
In addition you should check which files/folders are eating your disk space. The answers in How to determine where biggest files/directories on my system are stored? might be useful.
It sounds that you have to run
sudo apt autoremove
to remove old kernels.
Do that before the disk usage hits 100%, do it frequently.
If you disable updates or remove the update-manager, you would have to keep the system up to date manually. You would still be able to use apt
for that purpose.
In addition you should check which files/folders are eating your disk space. The answers in How to determine where biggest files/directories on my system are stored? might be useful.
edited Feb 14 at 18:08
answered Feb 14 at 17:44
mook765
3,0022819
3,0022819
add a comment |Â
add a comment |Â
For a storage-limited embedded system, look at Ubuntu Core, which is a flavor of Ubuntu designed specifically for your use case and lacks apt entirely. Use snaps for upgrades.
â user535733
Feb 14 at 19:15