Re: what is wrong with dnf?

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

 



On Tue, Nov 27, 2018 at 06:11:44PM -0500, Sam Varshavchik wrote:
> Something's definitely not quite right with DNF's caching in F29.
> 
> I have a local LAN repository whose metadata_expire is intentionally
> set to one minute, because as soon as I have a new package to
> install I push it into the repository and then I want to have the
> update installed immediately.
> 
> Even when I explicitly specify --refresh dnf will often tell me that
> the metadata was refresh only a few hours ago, and that's it's done.
> 
> Ok, well, that's definitely more than a minute. I just run the same
> "dnf upgrade --refresh" command a second time. This always makes dnf
> redownload the repo and see the updated packages, since its metadata
> is older than the set expiration interval.
> 
> This was more stable in F28. dnf reliably refreshed the cached
> metadata when it expired. I can't quite work out what's up with dnf
> now. Sometimes it refreshes the expired metadata. Sometimes it does
> that only on a 2nd attempt. There's no rhyme or reason to it.

If you can find a reproducer, a bug report for this would be helpful.


-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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