Fedora Linux Support Community & Resources Center
  #1  
Old 17th May 2017, 08:37 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: this planet
Posts: 11
linuxfedorafirefox
Question dnf update VS gnome software updates

Hi,
I'm a bit confused.
Gnome Software is able to tell me when an update is available and let me install it safely "offline" but after doing that if I run 'sudo dnf update' I still get notified of some updates available.
I've got the feeling that if I'm setting the computer for a friend/relative of mine they won't be able to keep the system updated by just following the Gnome Software notifications and they still to run dnf in the terminal every now and then.
Please am I wrong or did I just run into "glitches" or do you know if everything will feel a bit smoother in f26?
Cheers :)
Reply With Quote
  #2  
Old 17th May 2017, 10:45 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,042
linuxchrome
Re: dnf update VS gnome software updates

to avoid such issues and more serious complications please only use one or the other, and certainly never use dnf from a terminal emulator inside GNOME.

this PSA explains what happens as a result of running both to check for and apply updates

http://forums.fedoraforum.org/showthread.php?t=311702
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #3  
Old 18th May 2017, 01:03 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: this planet
Posts: 11
linuxfedorafirefox
Re: dnf update VS gnome software updates

Quote:
Originally Posted by antikythera View Post
to avoid such issues and more serious complications please only use one or the other
Thank you, I'll do that, but please do you know if by just using Gnome Software I would get ALL of the updates??
Cheers
Reply With Quote
  #4  
Old 18th May 2017, 02:52 AM
Kobuck Online
Registered User
 
Join Date: Feb 2009
Location: Florida
Posts: 483
linuxfedorafirefox
Re: dnf update VS gnome software updates

Quote:
Originally Posted by antikythera View Post
...... and certainly never use dnf from a terminal emulator inside GNOME.
Wow!! I thought the offline update died off after lack of enthusiasm for the reboot. The Gnome terminal has served me reliably for 10+ years. Are you sure this is still really a "recommended practice" ??

What about terminal use of ssh to remote hosts??
__________________
Laptop: ASUS K61IC/ Intel T6600 2.20Ghz x2/ 4GB/ 320GB SataII/ NVidia G96M/ F25 x86_64
Tower: GigaByte (990FXA)/ AMD 1100T 3.3Ghz x6/ 16GB/ 3.75TB Sata III/ AMD 6770HD/ F25 x86_64
Bookshelf: Shuttle DS61 (H61)/ i3-3225 3.3Ghz x2/ 16GB/ 320GB Sata II/ Intel HD 4000/ F24 x86_64
Embedded: BeagleBone Blk / ARM AM3358 1 GHz x1/ 512MB/ 2GB eMMC/ PowerVR SGX530/ DEB armv7l
Reply With Quote
  #5  
Old 18th May 2017, 07:31 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,042
linuxchrome
Re: dnf update VS gnome software updates

Quote:
Originally Posted by Kobuck View Post
Wow!! I thought the offline update died off after lack of enthusiasm for the reboot. The Gnome terminal has served me reliably for 10+ years. Are you sure this is still really a "recommended practice" ??

What about terminal use of ssh to remote hosts??
nope offline updates still happens by default and would update all packages if left alone.

remote ssh would probably work okay since you aren't running it through the active GUI on the machine itself. It may be prudent to check with Adam if the PSA still applies since he is the one who created it and also about the use of ssh connections.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #6  
Old 20th May 2017, 01:01 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: this planet
Posts: 11
linuxfedorafirefox
Re: dnf update VS gnome software updates

Quote:
Originally Posted by antikythera View Post
nope offline updates still happens by default and would update all packages if left alone.
good to know that all packages get updated.. maybe it's not as snappy as dnf in getting notified about new packages because all the times I tried to rely on Gnome Software alone, after rebooting the machine, a 'dnf update' would show me more packages available, letting me believe tha Gnome Software was updating them all (it could be related to the frequency of the upadates, since some of the systems where Fedora betas). Possibly if I gave Gnome Software more time it would show them as well, right? (that's the question/reason that brought me to open this thread).
Cheers
Reply With Quote
  #7  
Old 20th May 2017, 09:14 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,290
linuxchrome
Re: dnf update VS gnome software updates

Well they are two separate package managers that happens to use the same packages database. Unfortunately sharing data between the two is not the best, so each will download data separately from the other, that includes information about the updates available.

Gnome Software uses PackageKit in the background.

What may have happened in this particular case is possible that dnf updates database was more recent then the one of PackageKit as they are refreshing cache in the background at different times. But eventually you should end up with same updates with both managers.


About the offline-updates; yes this is the safest way to update system, that is why Fedora is promoting it. Updating with dnf on a live system supposedly have some risk of breaking stuff, but so far haven't ran into major issues myself either and I am using dnf for everything, that includes upgrading whole release on a running system.
Reply With Quote
Reply

Tags
dnf, gnome, software, update, updates

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
gnome-software can't undo updates bobatlcpmbdx Using Fedora 1 9th December 2016 10:35 AM
gnome-software says OS updates, dnf says nothing to do hiGuys F24 Development Forum 3 5th June 2016 07:43 PM
Gnome Software doesn't see updates? ataraxia Using Fedora 1 16th February 2016 10:26 PM
Why does Software Update have updates that aren't in dnf update? yaconsult Using Fedora 3 18th July 2015 04:22 PM
How to disable updates in gnome-software? froyo Using Fedora 7 2nd January 2015 02:07 PM


Current GMT-time: 04:17 (Wednesday, 24-05-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