Dnf list output

If I look at man dnf-list I do not see all information. When I type dnf list nextcloud* I see:

$ dnf list nextcloud*
Updating and loading repositories:
Repositories loaded.
Installed packages
nextcloud.noarch                 32.0.6-1.fc43 updates
nextcloud-httpd.noarch           32.0.6-1.fc43 updates
nextcloud-mysql.noarch           32.0.6-1.fc43 updates

Available packages
nextcloud-client.x86_64          3.17.4-1.fc43 updates
nextcloud-client-caja.x86_64     3.17.4-1.fc43 updates
nextcloud-client-devel.x86_64    3.17.4-1.fc43 updates
nextcloud-client-dolphin.x86_64  3.17.4-1.fc43 updates
nextcloud-client-libs.x86_64     3.17.4-1.fc43 updates
nextcloud-client-nautilus.x86_64 3.17.4-1.fc43 updates
nextcloud-client-nemo.x86_64     3.17.4-1.fc43 updates
nextcloud-nginx.noarch           32.0.6-1.fc43 updates
nextcloud-postgresql.noarch      32.0.6-1.fc43 updates
nextcloud-sqlite.noarch          32.0.6-1.fc43 updates

What does “updates” main in this context? I just did a dnf up -y so it probably does not mean “there are updates available” .

That mean all packages are stored in updates repo

2 Likes

Please explain “stored in updates repo” . I understand the words “stored”, “updates”, “repo” but alas in this sentence they make no sense to me.

That exactly mean that all this packages are inside updates repo of fedora .If you run sudo dnf update --refresh you will see all repos what you have .

1 Like

That means that the packages comes from that specific repository or it can be installed from that repository. In this case the name of the repository is “updates”.

Run

dnf repolist

to show the list of repositories available for dnf.

3 Likes

I apparently wronly asdumed that dnf up -y updates my system. Do I have to do add --refresh everytime? Will dnf-automatic do this for me?

Test:

j@ws-living:~$ sudo dnf up --refresh -y
[sudo] password for j: 
Updating and loading repositories:
 vivaldi                                                      100% |  17.8 KiB/s |   3.0 KiB |  00m00s
 RPM Fusion for Fedora 43 - Free - Updates                    100% |   3.2 KiB/s |   8.2 KiB |  00m03s
 RPM Fusion for Fedora 43 - Free                              100% |   4.3 KiB/s |   8.9 KiB |  00m02s
 ProtonVPN Fedora Stable repository                           100% |  17.7 KiB/s |   3.0 KiB |  00m00s
 Fedora 43 - x86_64                                           100% |  11.7 KiB/s |  21.8 KiB |  00m02s
 Fedora 43 - x86_64 - Updates                                 100% |  14.6 KiB/s |  15.3 KiB |  00m01s
 Fedora 43 openh264 (From Cisco) - x86_64                     100% |   1.8 KiB/s | 986.0   B |  00m01s
Repositories loaded.
Nothing to do.
j@ws-living:~$ sudo dnf list nextcloud*
Updating and loading repositories:
Repositories loaded.
Installed packages
nextcloud-client.x86_64          3.17.4-1.fc43 <unknown>
nextcloud-client-dolphin.x86_64  3.17.4-1.fc43 <unknown>
nextcloud-client-libs.x86_64     3.17.4-1.fc43 <unknown>

Available packages
nextcloud.noarch                 32.0.6-1.fc43 updates
nextcloud-client-caja.x86_64     3.17.4-1.fc43 updates
nextcloud-client-devel.x86_64    3.17.4-1.fc43 updates
nextcloud-client-nautilus.x86_64 3.17.4-1.fc43 updates
nextcloud-client-nemo.x86_64     3.17.4-1.fc43 updates
nextcloud-httpd.noarch           32.0.6-1.fc43 updates
nextcloud-mysql.noarch           32.0.6-1.fc43 updates
nextcloud-nginx.noarch           32.0.6-1.fc43 updates
nextcloud-postgresql.noarch      32.0.6-1.fc43 updates
nextcloud-sqlite.noarch          32.0.6-1.fc43 updates

No it’s up to you to update nextcloud-client to 4 do sudo dnf update nextcloud-client --enablerepo=updates-testing or to list sudo dnf list nextcloud* --enablerepo=updates-testing

1 Like