FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    DNF update notifier

    Using Fedora 26.
    When I switch on my laptop runs very slowly for a while until a pop-up called "dnfdragora" tells me I have "x" updates available. I want to stop this.
    I live remotely, so I'm forced to use satellite internet. The cost is 70 for 50Gb download per month; 10 per Gb after the allowance is exceeded. Aside from the inconvenience, this "service" is potentially going to cost significant cash by downloading data to update a cache that I don't need. Internet use is unmetered from 11:00pm to 7:00am so all I need do is input "DNF Upgrade" between those times.

    I've spent several hours on trying to understand how to stop this service and so far drawn a blank...

    Nothing appears in the system tray when this is running.

    DNF-automatic isn't installed.

    These timers running:
    systemctl list-timers --all
    mlocate-updatedb.timer
    unbound-anchor.timer
    systemd-tmpfiles-clean.timer

    These DNF Services...
    systemctl list-unit-files
    dnf-makecache.service: static
    dnf-system-upgrade.service: disabled
    dnfdaemon.service: static

    Dnf.conf...
    [main]
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    metadata_timer_sync=0

    Can anyone help with this?

    Why on earth is this "enabled" by default anyway? (rhetorical)

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,223

    Re: DNF update notifier

    which spin of fedora are you using?

    the dnfdragora update checker can be disabled for example in mate-compiz spin by unticking the entry for it in control centre>startup applications.

  3. #3
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    Quote Originally Posted by antikythera
    which spin of fedora are you using?

    the dnfdragora update checker can be disabled for example in mate-compiz spin by unticking the entry for it in control centre>startup applications.
    Thanks for replying.
    I just use Gnome, (version 3.24.2 currently).
    In dconf editor /org/gnome/software/download-updates = FALSE
    I can't see any other likely settings.

    edit:
    there's no entry for it in gnome tweek tool

  4. #4
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,223

    Re: DNF update notifier

    did you try this?

    Quote Originally Posted by antikythera
    the dnfdragora update checker can be disabled for example in mate-compiz spin by unticking the entry for it in control centre>startup applications.

  5. #5
    Join Date
    Aug 2005
    Posts
    695

    Re: DNF update notifier

    See this thread for some suggestions from me and srakitnican.
    https://forums.fedoraforum.org/showthread.php?t=315053
    I use a standard 'Workstation' installation, but do not use dnfdragora so cannot advise on that. However, I do appreciate your situation. I used to have a limited download allowance and was unmetered overnight.

  6. #6
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    Quote Originally Posted by kldixon
    See this thread for some suggestions from me and srakitnican.
    https://forums.fedoraforum.org/showthread.php?t=315053
    I use a standard 'Workstation' installation, but do not use dnfdragora so cannot advise on that. However, I do appreciate your situation. I used to have a limited download allowance and was unmetered overnight.
    Thanks for the link, I shall study that thread. I did search before I posted, I apologise for not finding it.

    I didn't make any kind of choice to use DNF or dnfdragora, I just upgraded from 25 to 26 and there they were. I'm wholly in favour of innovation, I just don't understand what this is supposed to achieve. It seems pointless to me, even with unlimited internet ("hey, you have updates" - there are always updates, it would be more surprising if there weren't any). It shouldn't be active by default and it shouldn't be this difficult to switch off.

  7. #7
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    Quote Originally Posted by kldixon
    See this thread for some suggestions from me and srakitnican.
    https://forums.fedoraforum.org/showthread.php?t=315053
    I use a standard 'Workstation' installation, but do not use dnfdragora so cannot advise on that. However, I do appreciate your situation. I used to have a limited download allowance and was unmetered overnight.
    OK. I read through the thread. I already tried all those commands

    I used the systemctl disable dnf-makecache.timer command. That seems to have taken because that timer isn't in the list of active timers.
    systemctl list-timers --all
    mlocate-updatedb.timer
    unbound-anchor.timer
    systemd-tmpfiles-clean.timer

    In dconf editor /org/gnome/software/download-updates = FALSE

    In Dnf.conf...
    [main]
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    metadata_timer_sync=0

    systemctl mask packagekit is done, no idea if that did what it should have.

    and here is where I think I'm failing.

    This command...
    systemctl disable dnf-makecache.service
    ... isn't working because...

    systemctl list-unit-files
    ...dnf-makecache.service: static...
    dnf-system-upgrade.service: disabled
    dnfdaemon.service: static

    ...and "static" means the status of the service cannot be changed

    Do you think I have something here, or do you think I'm just barking up the wrong tree?

    I considered systemctl mask dnf-makecache.service but I don't want to break something that I might not be able to fix
    Last edited by brotherpug; 13th August 2017 at 03:16 PM.

  8. #8
    Join Date
    Aug 2005
    Posts
    695

    Re: DNF update notifier

    As far as I understand it, it is just dnf-makecache.timer you need to disable, not the service. On my machine:
    Code:
    # systemctl status dnf-makecache
    ● dnf-makecache.service - dnf makecache
       Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.service; static; vendor
       Active: inactive (dead)
    Dnfdragora may need to be prevented from starting in the same way as gnome-software. There are two .desktop files:
    Code:
    /usr/share/applications/org.mageia.dnfdragora-localinstall.desktop
    /usr/share/applications/org.mageia.dnfdragora.desktop
    I do not have it installed so do not know what the difference is, but is there anything in Tweak Tool -> Startup Applications?
    You have to hit the '+' to get a list

    From man dnfdragora.yaml:
    update_interval

    integer

    Sets the interval in minutes, dnfdragora-updater continuously checks for new available updates.
    Last edited by kldixon; 13th August 2017 at 06:25 PM.

  9. #9
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    OK. Mine...

    systemctl status dnf-makecache
    ● dnf-makecache.service - dnf makecache
    Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.service; static; vendor preset: disabled)
    Active: inactive (dead)

    ... is the same.

    As for start-up applications, DNF isn't showing in any listing I've attempted to make, which can't be right.

    usr/share/applications has three RPM package installer files for DNF Dragora, DNF Dragora-updater, DNF Dragora Package Installer. No files called org.~
    Last edited by brotherpug; 13th August 2017 at 09:17 PM.

  10. #10
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier


  11. #11
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,223

    Re: DNF update notifier

    well if you don't want dnfdragora package manager because of bandwidth concerns you can actually go belt and braces. it should be possible to remove it without screwing up workstation as it isn't a required package.

    Code:
    sudo dnf remove dnfdragora dnfdragora-gui
    that will leave you with dnf and gnome software (packagekit) as per workstation 25

  12. #12
    Join Date
    Sep 2006
    Location
    On up the road a piece
    Posts
    742

    Re: DNF update notifier

    When I installed dnfdragora it wanted to auto check for updates. Under options/user preferences there is a line that says: Proceed without confirmation: minutes to check for updates: (set minutes). Un-checking that box was all it took to stop it.
    I live in my own little world, but it's OK, they know me here.

  13. #13
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    Quote Originally Posted by SomeDamFool
    When I installed dnfdragora it wanted to auto check for updates. Under options/user preferences there is a line that says: Proceed without confirmation: minutes to check for updates: (set minutes). Un-checking that box was all it took to stop it.
    That is done. First thing I did.

    ---------- Post added at 09:40 AM ---------- Previous post was at 09:36 AM ----------

    Quote Originally Posted by antikythera
    well if you don't want dnfdragora package manager because of bandwidth concerns you can actually go belt and braces. it should be possible to remove it without screwing up workstation as it isn't a required package.

    Code:
    sudo dnf remove dnfdragora dnfdragora-gui
    that will leave you with dnf and gnome software (packagekit) as per workstation 25
    I wondered about that myself, I was worried something would break. If I'm unable to find a better way today, I'll do that.

  14. #14
    Join Date
    Aug 2005
    Posts
    695

    Re: DNF update notifier

    I edited my previous post to add an extract from the man page for dnfdragora.yaml. You may have missed it. What is the content of /etc/dnfdragora/dnfdragora.yaml? I suspect you just have to set update_interval to 0.
    BTW, that bug report was entertaining.

  15. #15
    Join Date
    May 2005
    Location
    Isle of Harris, UK
    Posts
    44

    Re: DNF update notifier

    Quote Originally Posted by kldixon
    I edited my previous post to add an extract from the man page for dnfdragora.yaml. You may have missed it. What is the content of /etc/dnfdragora/dnfdragora.yaml? I suspect you just have to set update_interval to 0.
    BTW, that bug report was entertaining.
    Well, thanks for the suggestion, I just changed that from 180 to 0. We'll see.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Where is the update notifier?
    By latreides in forum Using Fedora
    Replies: 7
    Last Post: 18th July 2011, 09:20 PM
  2. Update notifier
    By JohnJasonJordan in forum Using Fedora
    Replies: 5
    Last Post: 3rd March 2010, 08:05 AM
  3. update notifier applet in FC5
    By Jack Bukowski in forum EOL (End Of Life) Versions
    Replies: 3
    Last Post: 4th July 2006, 04:53 PM

Tags for this Thread

Posting Permissions

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