Fedora Linux Support Community & Resources Center
  #1  
Old 17th May 2017, 08:37 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: West Oz
Posts: 17
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,778
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: West Oz
Posts: 17
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 Offline
Registered User
 
Join Date: Feb 2009
Location: Florida
Posts: 509
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/ fc26.x86_64
Tower: GigaByte (990FXA)/ AMD 1100T 3.3Ghz x6/ 16GB/ 7.5TB Sata III/ AMD 6770HD/ fc26.x86_64
Bookshelf: Shuttle DS61 (H61)/ i3-3225 3.3Ghz x2/ 16GB/ 320GB Sata II/ Intel HD 4000/ fc25.x86_64
Embedded: BeagleBone Blk / ARM AM3358 1 GHz x1/ 512MB/ 2GB eMMC/ PowerVR SGX530/ fc25.armv7hl
Reply With Quote
  #5  
Old 18th May 2017, 07:31 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,778
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: West Oz
Posts: 17
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,438
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
  #8  
Old 7th August 2017, 12:30 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: West Oz
Posts: 17
linuxfedorafirefox
Re: dnf update VS gnome software updates

I'm realizing right now that possibly when using Gnome Software I won't be able to update software installed through the RPM Fusion repos, is it right?
Many thanks
Reply With Quote
  #9  
Old 7th August 2017, 02:15 AM
lsatenstein Offline
Registered User
 
Join Date: Jun 2005
Location: Montreal, Que, Canada
Posts: 4,172
linuxfedorafirefox
Re: dnf update VS gnome software updates

In the 10 years of updating with yum and then with dnf, I never ran into problems with conflicts.
When a program opens a file, the ionodes for that file are held by the program. When a new version of the same file appears, it is given a different ionode value.

When the program eventually closes that file, the ionode is released and I believe the ionodes go to a zombie list (my name for such a list). The zombie list is where one could theoretically recover a file that was accidentally deleted.
As proof. Use your web browser and with dnf notice that there is a newer replacement browser to install. Continue with your browser while dnf runs. It is only when you quit the browser and click to reopen that you will be given the updated version.

The only time I reboot after a dnf update is if the updates include the kernel. The kernel's dependents will pull the other libraries that are directly used by that kernel. As mentioned above. The reboot will do the ionode releases.
__________________
Leslie in Montreal

Interesting web sites list
http://forums.fedoraforum.org/showth...40#post1697840
Reply With Quote
  #10  
Old 7th August 2017, 08:35 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,438
linuxchrome
Re: dnf update VS gnome software updates

Quote:
Originally Posted by horizonbrave View Post
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
Yes eventually, it is probably a cache issue - dnf got a more recent metadata and that's it.
Reply With Quote
  #11  
Old 7th August 2017, 07:01 PM
Finalzone Online
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,629
linuxfedorafirefox
Re: dnf update VS gnome software updates

Quote:
Originally Posted by horizonbrave View Post
I'm realizing right now that possibly when using Gnome Software I won't be able to update software installed through the RPM Fusion repos, is it right?
Many thanks
Gnome Software can update through RPM Fusion
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 26 Workstation x86-64 and Windows 10 Pro 64-bit
Laptop ASUS X550ZE - APU: AMD Quad Core A10 7400P + Dual Radeon R5 230, R7 M265DX - Memory: 16GB DDR3-RAM - OS: Fedora 26 Design Suite x86-64
Reply With Quote
  #12  
Old 8th August 2017, 03:21 AM
horizonbrave Offline
Registered User
 
Join Date: Apr 2015
Location: West Oz
Posts: 17
linuxfedorafirefox
Re: dnf update VS gnome software updates

Quote:
Originally Posted by Finalzone View Post
Gnome Software can update through RPM Fusion
Sorry to reitarate, but please is what you're saying that Gnome software will update all of my repos?
When installing Fedora I usually just add RPMFusion, Adobe Flash (through Negativo17) and Chrome repos (both by following the default instructions). Many thanks for your help
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 11: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 11: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 03:07 PM


Current GMT-time: 22:27 (Saturday, 19-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