`dnf --version` | One of the versions of DNF declared as installed is not
Ricky-Tigg opened this issue · 1 comments
Ricky-Tigg commented
$ dnf --version
4.18.2
Installed: dnf-0:4.18.2-1.fc39.noarch at Tue Dec 12 10:21:50 2023
Built : Fedora Project at Fri Dec 8 12:16:23 2023
Installed: rpm-0:4.19.1.1-1.fc39.x86_64 at Fri Feb 9 07:38:25 2024
Built : Fedora Project at Wed Feb 7 16:05:57 2024
According to this output,
- two DNF packages are installed.
- the component from the old installation is selected for use, while the one from the recent installation should be.
$ dnf -q rq --available --qf "%{name} v. %{version} | %{repoid}" dnf
dnf v. 4.18.0 | fedora
dnf v. 4.18.2 | updates
According to this output, recent version of DNF reported by dnf --version
as installed is not available. Compared results of dnf --version
and dnf rq --available dnf
are therefore contradictory.
$ dnf repolist | awk '$2=="Fedora"' | grep -v h264
fedora Fedora 39 - x86_64
updates Fedora 39 - x86_64 - Updates
updates-testing Fedora 39 - x86_64 - Test Updates
jan-kolarik commented
Hi, the second one in the output is actually the rpm package.