Re: DNF Needs Restarting Repository Update

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

 



On Thu, Nov 7, 2024 at 4:57 PM Jonathan Billings <billings@xxxxxxxxxx> wrote:
>
> On Nov 6, 2024, at 17:11, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
> > why was that updated again, surely that repository was flagged as up to date by the prior dnf update?
>
> Not 100% sure but I suspect something in dnf needs-restarting is looking for the extra dnf metadata that includes package file lists, which aren’t downloaded for normal updates, to speed up regular updates (since they’re significantly larger metadata files).
>
> Just like when you run “dnf install httpd” it only downloads the smaller set of information, but if you then run “dnf install /usr/bin/top” it has to download more metadata, even though you just updated a moment ago.

If stale metadata is the case, then rebuilding the dnf cache with the
--refresh option may sidestep the problem. Something like `sudo dnf
makecache --refresh`. Also see
<https://dnf.readthedocs.io/en/latest/command_ref.html#metadata-synchronization>.

Jeff
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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