Discussion:
dnf doesn't find updates
(too old to reply)
Grimble
2024-03-24 17:36:54 UTC
Permalink
I use dnf to manage updates on two machines. On one, the recent 200+
list of packages was successfully completed. On this machine, dnf
continually returns "Nothing to do" despite the mgaapplet showing that
updates are available.
The list of enabled repos is the same, and the contents of dnf.conf are
#dnf install dnf had no effect.
This is a recent development, because dnf ran last successfully on this
machine on 21 March with 4 updates.
Anyone with an idea where else to look?
--
Grimble
Machine 'Haydn' running Plasma 5.27.10 on 6.6.18-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
David W. Hodgins
2024-03-24 19:19:41 UTC
Permalink
Post by Grimble
I use dnf to manage updates on two machines. On one, the recent 200+
list of packages was successfully completed. On this machine, dnf
continually returns "Nothing to do" despite the mgaapplet showing that
updates are available.
The list of enabled repos is the same, and the contents of dnf.conf are
#dnf install dnf had no effect.
This is a recent development, because dnf ran last successfully on this
machine on 21 March with 4 updates.
Anyone with an idea where else to look?
What's the output of "dnf -v list --upgrades --refresh"?

Regards, Dave Hodgins
Grimble
2024-03-25 13:36:02 UTC
Permalink
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
out-of-date metadata:

mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01 BST.
Mageia 9 - x86_64 - Nonfree - Updates
reviving: failed for 'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree
Mageia 9 - x86_64 - Nonfree - Updates
updates-x86_64-nonfree: using metadata from Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64
reviving: 'mageia-x86_64' can be revived - repomd matches.
mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00 BST.
Mageia 9 - x86_64 - Updates
reviving: failed for 'updates-x86_64', mismatched repomd.
repo: downloading from remote: updates-x86_64
Mageia 9 - x86_64 - Updates
updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01 GMT.

However, dnf still claims no updates available.
--
Grimble
Machine 'Haydn' running Plasma 5.27.10 on 6.6.18-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
David W. Hodgins
2024-03-25 16:47:17 UTC
Permalink
Post by Grimble
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01 BST.
Mageia 9 - x86_64 - Nonfree - Updates
reviving: failed for 'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree
Mageia 9 - x86_64 - Nonfree - Updates
updates-x86_64-nonfree: using metadata from Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64
reviving: 'mageia-x86_64' can be revived - repomd matches.
mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00 BST.
Mageia 9 - x86_64 - Updates
reviving: failed for 'updates-x86_64', mismatched repomd.
repo: downloading from remote: updates-x86_64
Mageia 9 - x86_64 - Updates
updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01 GMT.
However, dnf still claims no updates available.
Including the "list" command just shows if there are updates available

To actually update the metadata run it again without list.

"dnf -v --upgrades --refresh".

It would be better to figure out why dnfdragora is not updating the list
as it should, but I haven't used it much and am not sure how to go about
debugging it.

Regards, Dave Hodgins
TJ
2024-03-25 21:26:08 UTC
Permalink
Post by David W. Hodgins
Post by Grimble
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01 BST.
Mageia 9 - x86_64 - Nonfree - Updates
reviving: failed for 'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree
Mageia 9 - x86_64 - Nonfree - Updates
updates-x86_64-nonfree: using metadata from Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64
reviving: 'mageia-x86_64' can be revived - repomd matches.
mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00 BST.
Mageia 9 - x86_64 - Updates
reviving: failed for 'updates-x86_64', mismatched repomd.
repo: downloading from remote: updates-x86_64
Mageia 9 - x86_64 - Updates
updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01 GMT.
However, dnf still claims no updates available.
Including the "list" command just shows if there are updates available
To actually update the metadata run it again without list.
"dnf -v --upgrades --refresh".
It would be better to figure out why dnfdragora is not updating the list
as it should, but I haven't used it much and am not sure how to go about
debugging it.
Regards, Dave Hodgins
FWIW, the distrib-coffee Tier 1 mirror has been down for a few days, and
that means all the mirrors that use it as a source are also out-of-date.

If you are using one of those mirrors, you should switch to one from
https://mirrors.mageia.org/status that shows as green.

TJ
Grimble
2024-03-26 13:40:49 UTC
Permalink
Post by David W. Hodgins
Post by Grimble
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01 BST.
Mageia 9 - x86_64 - Nonfree - Updates
reviving: failed for 'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree
Mageia 9 - x86_64 - Nonfree - Updates
updates-x86_64-nonfree: using metadata from Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64
reviving: 'mageia-x86_64' can be revived - repomd matches.
mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00 BST.
Mageia 9 - x86_64 - Updates
reviving: failed for 'updates-x86_64', mismatched repomd.
repo: downloading from remote: updates-x86_64
Mageia 9 - x86_64 - Updates
updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01 GMT.
However, dnf still claims no updates available.
Including the "list" command just shows if there are updates available
To actually update the metadata run it again without list.
"dnf -v --upgrades --refresh".
It would be better to figure out why dnfdragora is not updating the list
as it should, but I haven't used it much and am not sure how to go about
debugging it.
Regards, Dave Hodgins
Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
cron.daily. I first run dnf check-update to see how many updates are
waiting (I thought about doing a checkpoint if there many updates to
apply). There must be something amiss with this, because that is where I
exit if no updates are expected. It ran at 4:02 this morning with zero
result, but I've just run #dnf -v upgrade from the command line and it
all worked - 242 packages.
Further investigation needed.
--
Grimble
Machine 'Haydn' running Plasma 5.27.10 on 6.6.18-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
jim whitby
2024-03-26 14:54:42 UTC
Permalink
Post by Grimble
Post by David W. Hodgins
Post by Grimble
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01
BST. Mageia 9 - x86_64 - Nonfree - Updates reviving: failed for
'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree Mageia 9 -
x86_64 - Nonfree - Updates updates-x86_64-nonfree: using metadata from
Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64 reviving: 'mageia-x86_64' can be revived - repomd
matches. mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00
BST.
Mageia 9 - x86_64 - Updates reviving: failed for 'updates-x86_64',
mismatched repomd.
repo: downloading from remote: updates-x86_64 Mageia 9 - x86_64 -
Updates updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01
GMT.
However, dnf still claims no updates available.
Including the "list" command just shows if there are updates available
To actually update the metadata run it again without list.
"dnf -v --upgrades --refresh".
It would be better to figure out why dnfdragora is not updating the
list as it should, but I haven't used it much and am not sure how to go
about debugging it.
Regards, Dave Hodgins
Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
cron.daily. I first run dnf check-update to see how many updates are
waiting (I thought about doing a checkpoint if there many updates to
apply). There must be something amiss with this, because that is where I
exit if no updates are expected. It ran at 4:02 this morning with zero
result, but I've just run #dnf -v upgrade from the command line and it
all worked - 242 packages.
Further investigation needed.
Timing differences between when metada was last updated, script run and
when you ran dnf upgrade.

Might help to update metadata when you run script.
E.G.: dnf --refresh check-update
--
Jim Whitby


<Culus-> libc6 is not essential :|
----------------------
Mageia release 9 (Official) for x86_64
6.6.18-server-1.mga9
----------------------
Grimble
2024-03-26 15:57:33 UTC
Permalink
Post by jim whitby
Post by Grimble
Post by David W. Hodgins
Post by Grimble
Post by David W. Hodgins
dnf -v list --upgrades --refresh
Interesting Dave. Both updates-x86_64-nonfree and updates-x86_64 had
mageia-x86_64-nonfree: using metadata from Sat 19 Aug 2023 20:05:01
BST. Mageia 9 - x86_64 - Nonfree - Updates reviving: failed for
'updates-x86_64-nonfree', mismatched repomd.
repo: downloading from remote: updates-x86_64-nonfree Mageia 9 -
x86_64 - Nonfree - Updates updates-x86_64-nonfree: using metadata from
Thu 21 Mar 2024 04:44:16 GMT.
Mageia 9 - x86_64 reviving: 'mageia-x86_64' can be revived - repomd
matches. mageia-x86_64: using metadata from Sat 19 Aug 2023 22:28:00
BST.
Mageia 9 - x86_64 - Updates reviving: failed for 'updates-x86_64',
mismatched repomd.
repo: downloading from remote: updates-x86_64 Mageia 9 - x86_64 -
Updates updates-x86_64: using metadata from Mon 18 Mar 2024 16:08:01
GMT.
However, dnf still claims no updates available.
Including the "list" command just shows if there are updates available
To actually update the metadata run it again without list.
"dnf -v --upgrades --refresh".
It would be better to figure out why dnfdragora is not updating the
list as it should, but I haven't used it much and am not sure how to go
about debugging it.
Regards, Dave Hodgins
Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
cron.daily. I first run dnf check-update to see how many updates are
waiting (I thought about doing a checkpoint if there many updates to
apply). There must be something amiss with this, because that is where I
exit if no updates are expected. It ran at 4:02 this morning with zero
result, but I've just run #dnf -v upgrade from the command line and it
all worked - 242 packages.
Further investigation needed.
Timing differences between when metada was last updated, script run and
when you ran dnf upgrade.
Might help to update metadata when you run script.
E.G.: dnf --refresh check-update
Sorry Jim, I didn't show the complete command - I do --refresh
--
Grimble
Machine 'Haydn' running Plasma 5.27.10 on 6.6.18-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
jim whitby
2024-03-26 17:52:40 UTC
Permalink
<snip>
Post by Grimble
Sorry Jim, I didn't show the complete command - I do --refresh
Is this occuring *all* the time? If not.

Still might be a timing proplem...
If the mirror was updated after the check, and before you ran manually...
Presuming the metadata was updated when you ran manually.

Otherwise, I'm a lost babe in the woods.
--
Jim Whitby


This fortune intentionally says nothing.
----------------------
Mageia release 9 (Official) for x86_64
6.6.18-server-1.mga9
----------------------
Loading...