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?
dnf -v list --upgrades --refreshInteresting Dave. Both updates-x86_64-nonfree and updates-x86_64 had out-of-date metadata:
On 24/03/2024 19:19, David W. Hodgins wrote:
dnf -v list --upgrades --refreshInteresting 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.
On Mon, 25 Mar 2024 09:36:02 -0400, Grimble <grimble@nomail.afraid.org> wrote:
On 24/03/2024 19:19, David W. Hodgins wrote:
dnf -v list --upgrades --refreshInteresting 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.
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
On Mon, 25 Mar 2024 09:36:02 -0400, Grimble <grimble@nomail.afraid.org> wrote:Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
On 24/03/2024 19:19, David W. Hodgins wrote:
dnf -v list --upgrades --refreshInteresting 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.
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
On 25/03/2024 16:47, David W. Hodgins wrote:
On Mon, 25 Mar 2024 09:36:02 -0400, Grimble <grimble@nomail.afraid.org>Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
wrote:
On 24/03/2024 19:19, David W. Hodgins wrote:
dnf -v list --upgrades --refreshInteresting 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.
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
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.
On 25/03/2024 16:47, David W. Hodgins wrote:
On Mon, 25 Mar 2024 09:36:02 -0400, Grimble <grimble@nomail.afraid.org>Thanks, Dave. I don't use dnfdragora - I run dnf from a script in
wrote:
On 24/03/2024 19:19, David W. Hodgins wrote:
dnf -v list --upgrades --refreshInteresting 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.
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
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
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 763 |
Nodes: | 10 (0 / 10) |
Uptime: | 179:33:11 |
Calls: | 111 |
Files: | 46,971 |
Messages: | 11,214 |