Re: More dnf annoyance

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

 



Michael Schwendt <mschwendt@xxxxxxxxx> wrote:

>> "dnf --refresh" is more like "dnf clean expire-cache", which sometimes
>> gives additional updates to plain "dnf upgrade", but there still seems
>> some caching involved that keeps it from providing all updates available.
>
> Doubtful.
>
> "dnf update --refresh" here (Rawhide) always redownloads the metadata.
> That's behaviour like running after "dnf clean metadata",
> not "dnf clean expire-cache". [1]

Neither "dnf --refresh upgrade" nor "dnf clean expire-cache;dnf upgrade"
will try to download the base Fedora data (F22). Only "dnf clean metadata"
plus "dnf upgrade" force a full refresh.

Just try it out. "--refresh" and "clean expire-cache" result in the same.
That also matches the documentation. Both set the metadata some kind of
expired but don't really remove the data.

"dnf clean metadata" actually removes all metadata and therefore forces
a reload for all repositories. It's more like brute force. :-)

Also according the the DNF documentation (FAQ), "dnf clean metadata" is
the recommended way to get latest updates. That matches my experience.

	Greetings, Andreas
-- 
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