Re: What happened to the dnf makecache timer with dnf5?

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

 



On 2024-10-18 1:32 AM, Petr Pisar wrote:
V Thu, Oct 17, 2024 at 10:05:49AM -0700, Gordon Messmer napsal(a):
dnf < 5 includes /usr/lib/systemd/system/dnf-makecache.service and ".timer"
to ensure that metadata is usually already cached when users run dnf.

I don't see any makecache service or timer in any of the dnf5 packages on
Fedora 41.  Is that intentional, or is it a regression?
Undefined <https://github.com/rpm-software-management/dnf5/issues/812>.


The issue isn't the lack of the "--timer" option, it's the lack of the scheduled service.  I'm starting to see beta users discuss that dnf is slower than it used to be, because it now has to download metadata when used interactively, when it used to have updated cache available.  That seems bad, given the amount of hype that has been made about making dnf faster.


I think you can use dnf5-automatic timer instead. If you disable downloading
packages with download_updates=False in /etc/dnf/automatic.conf, you should
get the same experience as with dnf-makecache timer.


That sounds more complex than making a copy of the old makecache service/timer (without the "--timer" command line option).  But I'm not looking for a solution for myself, I'm trying to make sure that Fedora works well by default.

I can't tell, because
https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 says that "dnf5
makecache" has to work, but it doesn't say anything about the timer being
present.

You are looking at a wrong Changes page. Current one
<https://fedoraproject.org/wiki/Changes/SwitchToDnf5>.


That one also doesn't indicate whether the makecache service/timer was intentionally dropped, or whether this was an oversight.

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux