On Sun, 24 Nov 2024 at 22:21, Stephen Morris <steve.morris...@gmail.com>
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.
>

This is what I see on a clean f41 Vagrant box:

[root@localhost ~]# yum repolist
repo id                                                                repo
name

fedora
Fedora 41 - x86_64
fedora-cisco-openh264                                      Fedora 41
openh264 (From Cisco) - x86_64
updates                                                              Fedora
41 - x86_64 - Updates

[root@localhost ~]# dnf check-upgrade
Updating and loading repositories:
 Fedora 41 - x86_64 - Updates                           100% |   6.9 MiB/s
|   5.5 MiB |  00m01s
 Fedora 41 - x86_64                                            100% |  21.0
MiB/s |  35.4 MiB |  00m02s
 Fedora 41 openh264 (From Cisco) - x86_64     100% |   4.3 KiB/s |   6.0
KiB |  00m01s
Repositories loaded.
<snip bunch of packages that are liable for upgrade>

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.)

This is the stuff you'll see like:
https://fedora.mirrorservice.org/fedora/linux/development/41/Everything/x86_64/os/repodata/
those archives contain a lot of the pre-calculated RPM package dependencies
(the requires/provides.)

Your local dnf will have its own cache of this metadata (unless this has
changed significantly for dnf5) which is refreshed by default every 90
minutes. `dnf makecache` creates/updates this cache, `dnf clean` blats it
causing subsequent runs to pull a new version of the cache.
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to