Fedora Linux Support Community & Resources Center
  #1  
Old 13th August 2017, 11:05 AM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
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)
Reply With Quote
  #2  
Old 13th August 2017, 11:07 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,805
linuxchrome
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.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #3  
Old 13th August 2017, 11:27 AM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by antikythera View Post
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
Reply With Quote
  #4  
Old 13th August 2017, 02:09 PM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
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.
Reply With Quote
  #5  
Old 13th August 2017, 02:36 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by kldixon View Post
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.
Reply With Quote
  #6  
Old 13th August 2017, 02:58 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by kldixon View Post
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.
Reply With Quote
  #7  
Old 13th August 2017, 03:41 PM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
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.
Reply With Quote
  #8  
Old 13th August 2017, 09:07 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
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.
Reply With Quote
  #9  
Old 13th August 2017, 09:35 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

By the way, this is a fun read...

https://bugzilla.redhat.com/show_bug.cgi?id=1187111#c43
Reply With Quote
  #10  
Old 13th August 2017, 10:34 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,805
linuxchrome
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
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #11  
Old 14th August 2017, 03:02 AM
SomeDamFool Offline
Registered User
 
Join Date: Sep 2006
Location: On up the road a piece
Posts: 732
linuxfedorafirefox
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.
Reply With Quote
  #12  
Old 14th August 2017, 09:40 AM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by SomeDamFool View Post
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 View Post
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.
Reply With Quote
  #13  
Old 14th August 2017, 11:37 AM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
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.
Reply With Quote
  #14  
Old 14th August 2017, 01:15 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by kldixon View Post
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.
Reply With Quote
  #15  
Old 14th August 2017, 01:27 PM
brotherpug Offline
Registered User
 
Join Date: May 2005
Location: Isle of Harris, UK
Posts: 44
linuxfedorafirefox
Re: DNF update notifier

Quote:
Originally Posted by brotherpug View Post
Well, thanks for the suggestion, I just changed that from 180 to 0. We'll see.
That didn't work either. I'm going to uninstall dnfdragora, had enough of it now. If removing it doesn't break Fedora I'll just live without and possibly try it again in a few months.

It shouldn't be this complicated.

Thanks for the time spent on this.

Removing:
dnfdragora noarch 1.0.1-5.git20170505.2a3b056.fc26 @fedora 1.1 M
dnfdragora-gui noarch 1.0.1-5.git20170505.2a3b056.fc26 @fedora 16 k
Removing depended packages:
libyui-mga-gtk x86_64 1.0.2-0.14.git22f2cf6.20131215.fc26 @updates 89 k
libyui-mga-ncurses x86_64 1.0.2-0.14.git026f2e6.20131215.fc26 @updates 101 k
libyui-mga-qt x86_64 1.0.3-0.14.gitb508e88.20140119.fc26 @updates 93 k
mate-applet-softupd x86_64 0.4.6-1.fc26 @fedora 59 k
python3-yui x86_64 1.1.2-1.fc26 @fedora 2.6 M
Removing unused dependencies:
libyui-mga x86_64 1.0.8-0.13.gita6a160e.20160313.fc26 @updates 92 k
python3-PyYAML x86_64 3.12-3.fc26 @fedora 734 k
python3-pystray noarch 0.14.3-1.fc26 @fedora 244 k
python3-sh noarch 1.12.14-1.fc26 @fedora 288 k
python3-xlib noarch 0.19-2.fc26 @fedora 1.1 M

Edit:
Everything working much better without it.

Last edited by brotherpug; 14th August 2017 at 02:00 PM.
Reply With Quote
Reply

Tags
dnf, notifier, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


Current GMT-time: 05:01 (Thursday, 24-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat