I’ve been using dnfdragora-updater at every boot for 14 months. It goes like this. Dnfdragora-updater reports 58 packages available for update; then `sudo dnf upgrade’; and that was it.
However since I’ve upgraded to F41 2 days ago, this does not work anymore. Here’s my latest test.
dnfdragora-updater notification: 58 packages available for update
sudo dnf upgrade: nothing to do!
sudo dnf --refresh upgrade: 58 packages ready to be updated!
Am I missing something?
grumpey
(Joe)
December 14, 2024, 1:55pm
2
dnf dragora is using the older version of dnf, F41 is using dnf5.
You could double check by running sudo dnf4 upgrade
and see if the packages match.
barryascott
(Barry A Scott)
December 14, 2024, 2:56pm
3
I think the two tools use separate caches of meta data that are updated at different times.
After you did the dnf —refresh that made the two caches close enough to match.
melcar
(Melcar Z)
December 14, 2024, 3:42pm
4
Best way to stay updated in F41 I found (at least with the KDE spin) is with Discover. Even after a dnf update Discover will always pop up with additional updates (updates that never show up with dnf update). Could be a cache mismatch like mentioned above, but both tools never are synced on my machine. A bit annoying since I really don’t like using Discover. Rather use dnfdragora, but it’s a very limited tool, especially in F41.
Thanks guys for the replies.
Well I use dnfdragora only for notifications that updates are available.
Looks like a dnfdragora issue. It would require a major rewrite IMHO. Why dnf4 is still there anyways? The databases were said to be incompatible so I’m not risking a ‘dnf4 upgrade’ before I made my first full backup. Also the dnfdragora-updater icon should change to ‘no update availables’ status after issuing a ‘dnf upgrade’; I always had to do it manually if I want to rely on the icon to determine whether or not some updates are ready to be downloaded.
vekruse
(Villy Kruse)
December 14, 2024, 4:04pm
6
It is required by a few other packages; dnfdragora is one of them. The abrt package is another.
1 Like
barryascott
(Barry A Scott)
December 14, 2024, 9:27pm
7
Not if you do dnf update --refresh
.
I suppose discover and dnf might use different mirrors that may lead a difference. But it not be always.
After further testing it also looks like sudo dnf --refresh upgrade
is not the proper way to do that with dnf5 anymore. Looking at man dnf5
I found:
sudo dnf check-upgrade && sudo dnf upgrade
to be the proper way as demonstrated below:
$ LANG=C sudo dnf --refresh upgrade
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 2.1 KiB/s | 989.0 B | 00m00s
Fedora 41 - x86_64 100% | 63.4 KiB/s | 31.3 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 21.3 KiB/s | 7.5 KiB | 00m00s
Copr repo for preload owned by elxreno 100% | 14.7 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 130.3 KiB/s | 8.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Free 100% | 17.2 KiB/s | 7.8 KiB | 00m00s
RPM Fusion for Fedora 41 – Nonfree – Steam 100% | 149.1 KiB/s | 7.8 KiB | 00m00s
Copr repo for kernel-longterm-6.6 owned by kwizart 100% | 27.3 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 17.0 KiB/s | 7.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 161.6 KiB/s | 31.2 KiB | 00m00s
Dangerzone repository 100% | 33.8 KiB/s | 3.0 KiB | 00m00s
Copr repo for PyCharm owned by phracek 100% | 35.1 KiB/s | 2.1 KiB | 00m00s
vivaldi 100% | 57.8 KiB/s | 3.0 KiB | 00m00s
Brave Browser 100% | 43.9 KiB/s | 2.0 KiB | 00m00s
Copr repo for palemoon owned by bgstack15 100% | 27.1 KiB/s | 1.5 KiB | 00m00s
Copr repo for better_fonts owned by chriscowleyunix 100% | 20.2 KiB/s | 1.5 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 867.4 KiB/s | 316.6 KiB | 00m00s
Repositories loaded.
Nothing to do.
$ LANG=C sudo dnf --refresh check-upgrade
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 4.3 KiB/s | 989.0 B | 00m00s
Fedora 41 - x86_64 100% | 63.9 KiB/s | 31.3 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 134.1 KiB/s | 7.5 KiB | 00m00s
Copr repo for preload owned by elxreno 100% | 10.2 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 18.4 KiB/s | 8.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Free 100% | 17.6 KiB/s | 7.8 KiB | 00m00s
RPM Fusion for Fedora 41 – Nonfree – Steam 100% | 131.4 KiB/s | 7.8 KiB | 00m00s
Copr repo for kernel-longterm-6.6 owned by kwizart 100% | 24.2 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 17.2 KiB/s | 7.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 70.9 KiB/s | 31.2 KiB | 00m00s
Dangerzone repository 100% | 35.4 KiB/s | 3.0 KiB | 00m00s
Copr repo for PyCharm owned by phracek 100% | 33.4 KiB/s | 2.1 KiB | 00m00s
vivaldi 100% | 38.5 KiB/s | 3.0 KiB | 00m00s
Brave Browser 100% | 21.9 KiB/s | 2.0 KiB | 00m00s
Copr repo for palemoon owned by bgstack15 100% | 25.7 KiB/s | 1.5 KiB | 00m00s
Copr repo for better_fonts owned by chriscowleyunix 100% | 20.8 KiB/s | 1.5 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 2.8 MiB/s | 2.0 MiB | 00m01s
Repositories loaded.
breeze-icon-theme.noarch 6.9.0-1.fc41 updates
gnome-settings-daemon.x86_64 47.2-2.fc41 updates
kf6-filesystem.x86_64 6.9.0-1.fc41 updates
kf6-kcolorscheme.x86_64 6.9.0-1.fc41 updates
kf6-kconfig.x86_64 6.9.0-1.fc41 updates
kf6-kcoreaddons.x86_64 6.9.0-1.fc41 updates
kf6-kcrash.x86_64 6.9.0-1.fc41 updates
kf6-kdbusaddons.x86_64 6.9.0-1.fc41 updates
kf6-kguiaddons.x86_64 6.9.0-1.fc41 updates
kf6-ki18n.x86_64 6.9.0-1.fc41 updates
kf6-knotifications.x86_64 6.9.0-1.fc41 updates
kf6-kwallet.x86_64 6.9.0-1.fc41 updates
kf6-kwallet-libs.x86_64 6.9.0-1.fc41 updates
kf6-kwidgetsaddons.x86_64 6.9.0-1.fc41 updates
kf6-kwindowsystem.x86_64 6.9.0-1.fc41 updates
nspr.i686 4.36.0-2.fc41 updates
nspr.x86_64 4.36.0-2.fc41 updates
nss.i686 3.107.0-1.fc41 updates
nss.x86_64 3.107.0-1.fc41 updates
nss-softokn.i686 3.107.0-1.fc41 updates
nss-softokn.x86_64 3.107.0-1.fc41 updates
nss-softokn-freebl.i686 3.107.0-1.fc41 updates
nss-softokn-freebl.x86_64 3.107.0-1.fc41 updates
nss-sysinit.x86_64 3.107.0-1.fc41 updates
nss-tools.x86_64 3.107.0-1.fc41 updates
nss-util.i686 3.107.0-1.fc41 updates
nss-util.x86_64 3.107.0-1.fc41 updates
python3-aiosignal.noarch 1.3.2-1.fc41 updates
qadwaitadecorations-qt5.x86_64 0.1.6-3.fc41 updates
$ LANG=C sudo dnf --refresh upgrade
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 2.9 KiB/s | 989.0 B | 00m00s
Fedora 41 - x86_64 100% | 164.9 KiB/s | 31.3 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 107.3 KiB/s | 7.5 KiB | 00m00s
Copr repo for preload owned by elxreno 100% | 17.2 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 91.0 KiB/s | 8.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Free 100% | 17.2 KiB/s | 7.8 KiB | 00m00s
RPM Fusion for Fedora 41 – Nonfree – Steam 100% | 16.7 KiB/s | 7.8 KiB | 00m00s
Copr repo for kernel-longterm-6.6 owned by kwizart 100% | 26.3 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 17.7 KiB/s | 7.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 82.5 KiB/s | 31.2 KiB | 00m00s
Dangerzone repository 100% | 19.4 KiB/s | 3.0 KiB | 00m00s
Copr repo for PyCharm owned by phracek 100% | 35.1 KiB/s | 2.1 KiB | 00m00s
vivaldi 100% | 77.1 KiB/s | 3.0 KiB | 00m00s
Brave Browser 100% | 41.1 KiB/s | 2.0 KiB | 00m00s
Copr repo for palemoon owned by bgstack15 100% | 30.9 KiB/s | 1.5 KiB | 00m00s
Copr repo for better_fonts owned by chriscowleyunix 100% | 27.6 KiB/s | 1.5 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Upgrading:
breeze-icon-theme noarch 6.9.0-1.fc41 updates 26.9 MiB
replacing breeze-icon-theme noarch 6.8.0-1.fc41 updates 27.0 MiB
gnome-settings-daemon x86_64 47.2-2.fc41 updates 6.1 MiB
replacing gnome-settings-daemon x86_64 47.1-1.fc41 fedora 6.1 MiB
kf6-filesystem x86_64 6.9.0-1.fc41 updates 1.5 KiB
replacing kf6-filesystem x86_64 6.8.0-1.fc41 updates 1.5 KiB
kf6-kcolorscheme x86_64 6.9.0-1.fc41 updates 211.5 KiB
replacing kf6-kcolorscheme x86_64 6.8.0-1.fc41 updates 213.9 KiB
kf6-kconfig x86_64 6.9.0-1.fc41 updates 2.0 MiB
replacing kf6-kconfig x86_64 6.8.0-1.fc41 updates 2.0 MiB
kf6-kcoreaddons x86_64 6.9.0-1.fc41 updates 1.7 MiB
replacing kf6-kcoreaddons x86_64 6.8.0-1.fc41 updates 1.6 MiB
kf6-kcrash x86_64 6.9.0-1.fc41 updates 78.0 KiB
replacing kf6-kcrash x86_64 6.8.0-1.fc41 updates 79.8 KiB
kf6-kdbusaddons x86_64 6.9.0-1.fc41 updates 282.4 KiB
replacing kf6-kdbusaddons x86_64 6.8.0-1.fc41 updates 284.9 KiB
kf6-kguiaddons x86_64 6.9.0-1.fc41 updates 527.2 KiB
replacing kf6-kguiaddons x86_64 6.8.0-1.fc41 updates 538.7 KiB
kf6-ki18n x86_64 6.9.0-1.fc41 updates 17.4 MiB
replacing kf6-ki18n x86_64 6.8.0-1.fc41 updates 17.4 MiB
kf6-knotifications x86_64 6.9.0-1.fc41 updates 421.5 KiB
replacing kf6-knotifications x86_64 6.8.0-1.fc41 updates 431.2 KiB
kf6-kwallet x86_64 6.9.0-1.fc41 updates 2.1 MiB
replacing kf6-kwallet x86_64 6.8.0-1.fc41 updates 2.1 MiB
kf6-kwallet-libs x86_64 6.9.0-1.fc41 updates 282.3 KiB
replacing kf6-kwallet-libs x86_64 6.8.0-1.fc41 updates 290.2 KiB
kf6-kwidgetsaddons x86_64 6.9.0-1.fc41 updates 4.8 MiB
replacing kf6-kwidgetsaddons x86_64 6.8.0-1.fc41 updates 4.8 MiB
kf6-kwindowsystem x86_64 6.9.0-1.fc41 updates 671.6 KiB
replacing kf6-kwindowsystem x86_64 6.8.0-1.fc41 updates 688.2 KiB
nspr i686 4.36.0-2.fc41 updates 326.5 KiB
replacing nspr i686 4.36.0-1.fc41 updates 337.2 KiB
nspr x86_64 4.36.0-2.fc41 updates 309.9 KiB
replacing nspr x86_64 4.36.0-1.fc41 updates 320.4 KiB
nss i686 3.107.0-1.fc41 updates 2.0 MiB
replacing nss i686 3.106.0-1.fc41 updates 2.0 MiB
nss x86_64 3.107.0-1.fc41 updates 1.8 MiB
replacing nss x86_64 3.106.0-1.fc41 updates 1.9 MiB
nss-softokn i686 3.107.0-1.fc41 updates 2.1 MiB
replacing nss-softokn i686 3.106.0-1.fc41 updates 2.1 MiB
nss-softokn x86_64 3.107.0-1.fc41 updates 1.8 MiB
replacing nss-softokn x86_64 3.106.0-1.fc41 updates 1.9 MiB
nss-softokn-freebl i686 3.107.0-1.fc41 updates 893.4 KiB
replacing nss-softokn-freebl i686 3.106.0-1.fc41 updates 907.4 KiB
nss-softokn-freebl x86_64 3.107.0-1.fc41 updates 830.8 KiB
replacing nss-softokn-freebl x86_64 3.106.0-1.fc41 updates 845.1 KiB
nss-sysinit x86_64 3.107.0-1.fc41 updates 21.1 KiB
replacing nss-sysinit x86_64 3.106.0-1.fc41 updates 22.2 KiB
nss-tools x86_64 3.107.0-1.fc41 updates 2.3 MiB
replacing nss-tools x86_64 3.106.0-1.fc41 updates 2.4 MiB
nss-util i686 3.107.0-1.fc41 updates 191.3 KiB
replacing nss-util i686 3.106.0-1.fc41 updates 196.4 KiB
nss-util x86_64 3.107.0-1.fc41 updates 200.2 KiB
replacing nss-util x86_64 3.106.0-1.fc41 updates 205.1 KiB
python3-aiosignal noarch 1.3.2-1.fc41 updates 33.4 KiB
replacing python3-aiosignal noarch 1.3.1-17.fc41 fedora 33.3 KiB
qadwaitadecorations-qt5 x86_64 0.1.6-3.fc41 updates 149.4 KiB
replacing qadwaitadecorations-qt5 x86_64 0.1.6-2.fc41 updates 149.4 KiB
Transaction Summary:
Upgrading: 29 packages
Replacing: 29 package
Total size of inbound packages is 20 MiB. Need to download 20 MiB.
Is this ok [Y/n]:
[ 1/29] kf6-kcolorscheme-0:6.9.0-1.fc41.x86_64 100% | 692.7 KiB/s | 83.8 KiB | 00m00s
[ 2/29] kf6-ki18n-0:6.9.0-1.fc41.x86_64 100% | 11.5 MiB/s | 1.7 MiB | 00m00s
[ 3/29] kf6-kcoreaddons-0:6.9.0-1.fc41.x86_64 100% | 2.7 MiB/s | 467.7 KiB | 00m00s
[ 4/29] kf6-kwallet-libs-0:6.9.0-1.fc41.x86_64 100% | 4.4 MiB/s | 103.4 KiB | 00m00s
[ 5/29] kf6-knotifications-0:6.9.0-1.fc41.x86_64 100% | 1.4 MiB/s | 164.6 KiB | 00m00s
[ 6/29] gnome-settings-daemon-0:47.2-2.fc41.x86_64 100% | 4.2 MiB/s | 1.1 MiB | 00m00s
>>> Status code: 404 for http://mirror.siena.edu/fedora/linux/updates/41/Everything/x86_64/Packages/g/gnome-settings-daemon-47.2-2.fc41.x86_64.rpm (IP: 199.223.
[ 7/29] kf6-kwallet-0:6.9.0-1.fc41.x86_64 100% | 4.6 MiB/s | 478.7 KiB | 00m00s
>>> Status code: 404 for http://mirror.siena.edu/fedora/linux/updates/41/Everything/x86_64/Packages/k/kf6-kwallet-6.9.0-1.fc41.x86_64.rpm (IP: 199.223.246.113)
[ 8/29] nspr-0:4.36.0-2.fc41.x86_64 100% | 5.4 MiB/s | 127.1 KiB | 00m00s
[ 9/29] nspr-0:4.36.0-2.fc41.i686 100% | 4.7 MiB/s | 138.8 KiB | 00m00s
[10/29] nss-0:3.107.0-1.fc41.x86_64 100% | 5.5 MiB/s | 656.7 KiB | 00m00s
[11/29] nss-softokn-0:3.107.0-1.fc41.x86_64 100% | 2.8 MiB/s | 361.2 KiB | 00m00s
[12/29] kf6-kwindowsystem-0:6.9.0-1.fc41.x86_64 100% | 1.2 MiB/s | 241.3 KiB | 00m00s
[13/29] kf6-kconfig-0:6.9.0-1.fc41.x86_64 100% | 1.1 MiB/s | 507.3 KiB | 00m00s
[14/29] kf6-kcrash-0:6.9.0-1.fc41.x86_64 100% | 84.9 KiB/s | 38.0 KiB | 00m00s
[15/29] nss-softokn-freebl-0:3.107.0-1.fc41.x86_64 100% | 6.1 MiB/s | 310.9 KiB | 00m00s
[16/29] nss-sysinit-0:3.107.0-1.fc41.x86_64 100% | 522.1 KiB/s | 18.3 KiB | 00m00s
[17/29] kf6-kdbusaddons-0:6.9.0-1.fc41.x86_64 100% | 222.3 KiB/s | 104.7 KiB | 00m00s
[18/29] nss-tools-0:3.107.0-1.fc41.x86_64 100% | 8.0 MiB/s | 486.2 KiB | 00m00s
[19/29] nss-softokn-0:3.107.0-1.fc41.i686 100% | 11.7 MiB/s | 395.4 KiB | 00m00s
[20/29] nss-util-0:3.107.0-1.fc41.i686 100% | 4.9 MiB/s | 86.0 KiB | 00m00s
[21/29] kf6-filesystem-0:6.9.0-1.fc41.x86_64 100% | 23.0 KiB/s | 11.6 KiB | 00m01s
>>> Status code: 404 for http://mirror.siena.edu/fedora/linux/updates/41/Everything/x86_64/Packages/k/kf6-filesystem-6.9.0-1.fc41.x86_64.rpm (IP: 199.223.246.11
[22/29] kf6-kwidgetsaddons-0:6.9.0-1.fc41.x86_64 100% | 5.0 MiB/s | 1.7 MiB | 00m00s
[23/29] kf6-kguiaddons-0:6.9.0-1.fc41.x86_64 100% | 289.2 KiB/s | 153.0 KiB | 00m01s
[24/29] nss-util-0:3.107.0-1.fc41.x86_64 100% | 1.2 MiB/s | 81.4 KiB | 00m00s
[25/29] qadwaitadecorations-qt5-0:0.1.6-3.fc41.x86_64 100% | 1.4 MiB/s | 58.9 KiB | 00m00s
[26/29] python3-aiosignal-0:1.3.2-1.fc41.noarch 100% | 310.1 KiB/s | 18.9 KiB | 00m00s
[27/29] breeze-icon-theme-0:6.9.0-1.fc41.noarch 100% | 15.4 MiB/s | 9.6 MiB | 00m01s
>>> Status code: 404 for http://mirror.siena.edu/fedora/linux/updates/41/Everything/x86_64/Packages/b/breeze-icon-theme-6.9.0-1.fc41.noarch.rpm (IP: 199.223.246
[28/29] nss-0:3.107.0-1.fc41.i686 100% | 2.4 MiB/s | 716.3 KiB | 00m00s
[29/29] nss-softokn-freebl-0:3.107.0-1.fc41.i686 100% | 920.9 KiB/s | 339.8 KiB | 00m00s
barryascott
(Barry A Scott)
December 17, 2024, 4:07pm
9
What do you think this is fixing that dnf upgrade --refresh
does not do?
josevillani
(Jose Villani)
December 17, 2024, 4:34pm
10
Hi,
Look at my last post. dnf upgrade --refresh
returned nothing and sudo dnf check-upgrade && sudo dnf upgrade
did.
Additionally man dnf4
contains references to check-update
whereas man dnf5
, to check-upgrade
BTW there was a typo in my last message, I’m fixing it. The peoper syntax is sudo dnf check-upgrade && sudo dnf upgrade
barryascott
(Barry A Scott)
December 17, 2024, 6:07pm
11
What I see is that dnf check-upgrade will
Check if meta data is output of data and only if out of data download
print a report
Then dnf upgrade will
Check if meta data is output of data and only if out of data download
Offer to install any updates found
It is only the meta data that is used to calculate what will be installed.
As both commands will update the meta data as needed then check-upgrade is not needed.
I can only suppose that the result you see is a matter of timing or a problem with a mirror.
Note that will need to add the --refresh
to ensure you get the latest.
dnf check-upgrade --refresh
As shown here:
$ dnf check-upgrade
Updating and loading repositories:
Fedora 41 - aarch64 - Updates 100% | 90.1 KiB/s | 19.9 KiB | 00m00s
Repositories loaded.
$ dnf check-upgrade
Updating and loading repositories:
Repositories loaded.
$ dnf check-upgrade --refresh
Updating and loading repositories:
Fedora 41 - aarch64 100% | 193.4 KiB/s | 20.1 KiB | 00m00s
Copr repo for tools owned by barryascott 100% | 10.8 KiB/s | 1.5 KiB | 00m00s
Fedora 41 openh264 (From Cisco) - aarch64 100% | 5.4 KiB/s | 990.0 B | 00m00s
Copr repo for tools-testing owned by barryascott 100% | 13.7 KiB/s | 1.5 KiB | 00m00s
Fedora 41 - aarch64 - Updates 100% | 176.2 KiB/s | 19.9 KiB | 00m00s
Repositories loaded.
josevillani
(Jose Villani)
December 17, 2024, 7:42pm
12
Might totally happen. Bottom line is that something has changed, it’s annoying but we don’t see the internals and can’t be certain. One can only speculate and hope for the best.
vekruse
(Villy Kruse)
December 17, 2024, 7:49pm
13
I have observed this. After updating with “–refresh” and doing another update with “–refresh” I sometime get additional updates available.
melcar
(Melcar Z)
December 17, 2024, 8:59pm
14
dnf upgrade --refresh seems to work better on my end.
1 Like