Re: dnf update vs Software Udpates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 08, 2015 at 02:23:34AM +0000, Andreas M. Kirchwitz wrote:
> Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> 
> >> I hope this will be done *fast*, because I have to "clean all"
> >> *everytime* checking for updates. Otherwise, no updates are shown, even
> >> though they exist. This is a major bug.
> >
> > I'm sorry but "clean all" is not necessary at all!  "clean metadata" or
> > "clean expire-cache" should be sufficient.  
> 
> In practice, there's not much of a difference between "clean all"
> or just "clean metadata". Because both require the update/upgrade
> command to download all stuff from the network and build to whole
> meta database from scratch, even if that wouldn't be necessary.

Sorry, that's not correct.  Ever since the yum days, they have been
different.  The key differences are these two bits (from `man dnf'):

  [...]
  dnf clean packages
  	Removes any cached packages from the system.
  
  dnf clean plugins
  	Tells  all enabled  plugins to  eliminate their  cached
  	data.
  
  dnf clean all
  	Does all of the above.


By removing packages, you are losing the ability to do offline
transactions.  Cleaning cached data from plugins, can do any number of
things depending on the enabled plugins.  So please stop repeating this
obviously incorrect information.

> > That said, I sometimes do not understand what's the harm in getting
> > updates few hours later.
> 
> Caching might be cool for automated tasks (eg, cron jobs or background
> processes) and also for some actions that do not require up-to-date
> metadata.

During the yum days, the most frequent complaint on this list were: why
is yum so slow, I hate waiting for metadata updates, .... and so on.
And now people complain, the cached metadata is out of date (please
don't confuse this with actual bugs).  There is no winning, you either
wait for the metadata to download, or you get a responsive interface.

PS: I've no relation to the dnf team, just a user.  I however think
    instead of complaining on the list, if any discussions here lead you
    to think there is a problem with dnf (as in a bug), you should file
    bug reports.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux