Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Stop update checking

  1. #1
    Join Date
    Jul 2019
    Beans
    25

    Stop update checking

    What I want to do is only check for software updates when I specifically ask for them.

    So, in "Software & Updates", in the Updates tab, I have Automatically check for updates set to Never. But, it seems no matter what settings I have, I am always prompted by Software Updater to install software, without asking for software updates.

    How can I stop this and only check for updates when I launch the software updater or apt update/upgrade??
    Last edited by apg6xswhjc; 4 Weeks Ago at 02:35 PM.

  2. #2
    Join Date
    Jun 2016
    Beans
    2,013
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Stop update checking

    Did you uninstall unattended-upgrades?
    Do you have snapd installed?
    Do you use a GUI software manager that might be automatically checking for updates when it runs?

  3. #3
    Join Date
    Jul 2019
    Beans
    25

    Re: Stop update checking

    Quote Originally Posted by halogen2 View Post
    Did you uninstall unattended-upgrades?
    Umm. no? What is it and why wouldn't it honour the configurations settings??

    Do you have snapd installed?
    snapd.service is enabled/active, but I am prompted for upgrades to only normal packages even when no snaps are updated?

    BTW, I would also like to disable any 'automatic' snap checks/updates, should I disable this service?

    Do you use a GUI software manager that might be automatically checking for updates when it runs?
    Not that I'm aware of.

  4. #4
    Join Date
    Jun 2016
    Beans
    2,013
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Stop update checking

    Quote Originally Posted by apg6xswhjc View Post
    Umm. no? What is it and why wouldn't it honour the configurations settings??
    unattended-upgrades is a way to automatically update APT packages. By default it's configured to only apply security updates, and ignore non-security updates. (update-notifier will then notify you about the not installed updates by popping up Software Updater.)

    I don't know why unattended-upgrades didn't honor the configuration setting. All I know is that ever since I first saw it ignore that setting, I have uninstalled it on all systems where I don't want automatic updates.

    I would also like to disable any 'automatic' snap checks/updates, should I disable this service?
    You'll have to uninstall snapd. The snapd devs intentionally made it impossible to disable automatic updates.

  5. #5
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Stop update checking

    I have never tried this so proceed with caution, but rather than removing snapd from your system you could attempt removing the execute flag from it with command
    Code:
    sudo chmod -x /usr/lib/snapd/snapd
    As I say I have no idea how well this will work, nor if it might create other problems, but it should stop snapd from automatically upgrading any current snap packages installed and will allow you to add in the execute flag quickly with
    Code:
    sudo chmod +x /usr/lib/snapd/snapd
    if needed to install a snap without the need to reinstall snapd; just make it executable again.
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  6. #6
    Join Date
    Jun 2016
    Beans
    2,013
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Stop update checking

    Quote Originally Posted by ajgreeny View Post
    I have never tried this so proceed with caution, but rather than removing snapd from your system you could attempt removing the execute flag from it with command
    Code:
    sudo chmod -x /usr/lib/snapd/snapd
    As I say I have no idea how well this will work,
    How is that any better than disabling/masking snapd via systemctl?

    it should stop snapd from automatically upgrading any current snap packages installed and will allow you to add in the execute flag quickly with
    Code:
    sudo chmod +x /usr/lib/snapd/snapd
    if needed to install a snap
    ... and then watch snapd run automatic update as soon as you start it again?

  7. #7
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    469
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Stop update checking

    Just remove snapd, it won't hurt and it does a lot of good. The idea behind snaps is flawed IMHO.
    You might encounter an application or two that only install as snaps. Consider if you really need them.

    Just my $0.02

  8. #8
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Stop update checking

    Quote Originally Posted by halogen2 View Post
    How is that any better than disabling/masking snapd via systemctl?

    ... and then watch snapd run automatic update as soon as you start it again?
    You're probably right, unless you want some snap applications, eg chromium, spotify and probably others that are available only as snaps.

    Personally I'm still on the fence about snaps as there are some applications that are not available as PPA packages that I want, but I would certainly prefer .deb versions, and have added a PPA for chromium.

    Life was so much simpler before snaps!
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  9. #9
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    469
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Stop update checking

    Spotify is available as debian install, Chromium IDK and IDC.

  10. #10
    Join Date
    Aug 2013
    Beans
    4,328

    Re: Stop update checking

    I have uninstalled all snap related stuffs on one of my systems (i don't need it but don't mind it either on 20.04 since it no longer slow down boot like in 18.04). It takes only a few steps and does no harm. There are packages which are not available on apt but they are usually available on flatpak, which I think is better than snap as it doesn't mount a lot of volumes and there is a simple, unified gui to manage file and device access (flatseal)

    P.S Chromium is snap only but who cares? Chromium is a poorly maintained alpha which is never a finished product. There are many finished products based on chromium: chrome, opera, vivaldi

Page 1 of 3 123 LastLast

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
  •