Re: What is DNF Check-upgrade Actually Doing

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

 



On Mon, 25 Nov 2024 at 21:46, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
On 25/11/24 09:58, Will McDonald wrote:
On Sun, 24 Nov 2024 at 22:21, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
    1).    Why is it producing the messages "Updating and loading repositories:" and "Repositories loaded." with nothing between them which means that it didn't do anything? This functionality is independent of whether the command is issued under sudo or not.

I would suspect that "Updating and loading repositories:" is checking the upstream repo metadata (if you've ever managed your own repos, this is the data created/updated by createrepo based on the RPM contents in the repo directory.)
Yes, but I would expect those messages to only be produced in the situation you have shown, where it actually did find something to do. If there is nothing to do I would expect those two messages to not be displayed and a message to the effect that the local environment was up to date.

So if I understand you then, your primary concern here is the semantic accuracy of the messages?

> Updating and loading repositories
> Repositories loaded.

And you would rather something like:

Scenario: DNF Cache Outdated
> Checking repositories cache status
> Cache out-of-date, updating from upstream repositories
> Repository cache updated

Scenario: DNF Cache Current
> Checking repositories cache status
> Cache current, nothing to see here.

(Or whatever.)

You might want to take this to the upstream project, maybe submitting a bug report, documentation improvement, or PR if you feel particularly invested?

https://github.com/rpm-software-management/dnf5/discussions
https://github.com/rpm-software-management/dnf5/issues

-- 
_______________________________________________
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