Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How can I disable all updates (security updates included)

  1. #1
    Join Date
    Jun 2021
    Beans
    11

    Unhappy How can I disable all updates (security updates included)

    I'm using Ubuntu 20.04, 64 bit, Desktop.

    I know I should never do that.
    Besides that:

    How can I disable all updates, also security updates?

    I sometimes have a paid per use - internet connection (we live in the nowhere, a very small village).
    My internet billing could get very high if Ubuntu sometimes wants to download 100 mb update. As I use this paid per use internet only if the regular internet does not work (which is maybe 1-2 times per week).

    One main reason why I switched to Ubuntu was that Windows 10 was always spamming updates. I know they are important and so on.
    But it seems you can't disable updates on Ubuntu any more than you can on Windows.

    I tried everything, I changed the settings to "never" search for updates. But security updates are not affected by this setting.
    And I can only choose between "auto install" and "display immediatly" for security updates.

    Then I disabled unattended-upgrades. Still no effect.

    I don't want to get rid of updates at all, but I just want to have some more control about when I would like to install them.

  2. #2
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by wombyte View Post
    I sometimes have a paid per use - internet connection (we live in the nowhere, a very small village).
    My internet billing could get very high if Ubuntu sometimes wants to download 100 mb update. As I use this paid per use internet only if the regular internet does not work (which is maybe 1-2 times per week).
    Do you have data capping internet? This is the kind of internet where it was so very poor distribution of internet and so very expensive. The service provider imposed limit on the amount of data transferred in every user account. Updates are very important for security purposes but saving the amount of data internet transfer is more very important cause if you fail not to save it at the middle of the month you already lose it then you will be miserable to all the remaining days left in the month. I feel you man. regards
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  3. #3
    Join Date
    Jun 2021
    Beans
    11

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by mIk3_08 View Post
    Do you have data capping internet?
    Yes exactly.

    Well actually I have 2 internet providers, one is a flat, where I can use as much internet as I want. But that one sometimes does not work because of the place where I am living.
    The second one is from my phone provider. There I have to pay per used GB.

  4. #4
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,835
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by wombyte View Post
    And I can only choose between "auto install" and "display immediatly" for security updates.
    "Display immediately" doesn't download anything (or at least, it shouldn't). It only shows a pop-up informing you that updates are available. If you also tell it never to check for updates automatically, this will only happen after a manual check.

    I disabled unattended upgrades by simply removing the package unattended-upgrades. My system checks automatically for updates every day (as I have configured it), but only shows the updates. They are only downloaded and installed when I ask.

    Updates for snap packages may be a different matter. They appear to be less configurable than the ordinary .deb packages and they are also larger. I've got no snap packages on my system. That may be something to look into.
    Last edited by Impavidus; March 6th, 2022 at 01:35 PM.

  5. #5
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by wombyte View Post
    Yes exactly.
    Well actually I have 2 internet providers, one is a flat, where I can use as much internet as I want. But that one sometimes does not work because of the place where I am living.
    The second one is from my phone provider. There I have to pay per used GB.
    Just curious wombyte, what country are from? And what are those isp you mentioned you have? regards.
    Last edited by mIk3_08; March 6th, 2022 at 11:40 AM.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  6. #6
    Join Date
    Apr 2007
    Beans
    3,128
    Distro
    Ubuntu

    Re: How can I disable all updates (security updates included)

    Check settings in "Software & Updates" first.

    Run the command "sudo dpkg-reconfigure unattended-upgrades" to turn the automatic install of important updates off.

    You can turn off the update notifier by copying the file /etc/xdg/autostart/update-notifier.desktop to your ~/.config/autostart file. Add a line "Hidden=true" to disable that autostarter.

    I am afraid that does not disable automatic update of snap packages: there is currently no user control on updates of snap packages.
    Last edited by vanadium; March 6th, 2022 at 12:15 PM.

  7. #7
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How can I disable all updates (security updates included)

    If we go to System Settings>WiFi and click the cog icon next to the name of our WiFi connection we will see a dialog with a check box with the label: Metered connections: has data limits or can incur charges. The small print underneath says: Software updates and other large downloads will not be started automatically.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  8. #8
    Join Date
    Apr 2007
    Beans
    3,128
    Distro
    Ubuntu

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by grahammechanical View Post
    If we go to System Settings>WiFi and click the cog icon next to the name of our WiFi connection we will see a dialog with a check box with the label: Metered connections: has data limits or can incur charges. The small print underneath says: Software updates and other large downloads will not be started automatically.
    That will be the best suggestion of all for this case.

  9. #9
    Join Date
    Jun 2021
    Beans
    11

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by grahammechanical View Post
    If we go to System Settings>WiFi and click the cog icon next to the name of our WiFi connection we will see a dialog with a check box with the label: Metered connections: has data limits or can incur charges. The small print underneath says: Software updates and other large downloads will not be started automatically.

    Regards
    That is perfect, I did not know it exists!

    Thanks alot!

  10. #10
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: How can I disable all updates (security updates included)

    Quote Originally Posted by Impavidus View Post
    "Display immediately" doesn't download anything (or at least, it shouldn't). It only shows a pop-up informing you that updates are available. If you also tell it never to check for updates automatically, this will only happen after a manual check.

    I disabled unattended upgrades by simply removing the package unattended-upgrades. My system checks automatically for updates every day (as I have configured it), but only shows the updates. They are only downloaded and installed when I ask.

    Updates for snap packages may be a different matter. They appear to be less configurable than the ordinary .deb packages and they are also larger. I've got no snap packages on my system. That may be something to look into.
    This exactly the way that I have configured my updates/upgrades.

    I want full control over my system and thoroughly dislike automatic installation of anything on my computer; the first thing I do when I start my day on the computer is run commands (by use of aliases ud & ug to avoid too much typing)
    Code:
    sudo apt update && apt list --upgradable
    sudo apt full-upgrade && ls /var/run | grep reboot-required
    The first command updates the package database then lists all packages that can be upgraded; the second command carries out those upgrades and then tells me whether a reboot is required.

    I see that this is now appears solved for you so please mark as SOLVED from the Thread Tools menu up-top if it is now solved to your satisfaction. It is a great help to other users searching the forum.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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