Dnf update is not updating

Hello,

I have been having an issue with my Fedora 34 where “dnf update” does not actually offer updates for the majority of my packages.

For instance, running dnf update:

$ sudo dnf update
[sudo] password for _____: 
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.9.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Fedora 34; workstation; Linux.x86_64)'
countme: no event for fedora: budget to spend: 2
Fedora 34 - x86_64                                                                                                                                                                                          111 kB/s |  23 kB     00:00    
reviving: 'fedora' can be revived - metalink checksums match.
fedora: using metadata from Fri 23 Apr 2021 06:47:57 AM.
Fedora 34 openh264 (From Cisco) - x86_64                                                                                                                                                                    4.9 kB/s | 989  B     00:00    
reviving: 'fedora-cisco-openh264' can be revived - metalink checksums match.
fedora-cisco-openh264: using metadata from Mon 22 Feb 2021 07:49:00 PM.
countme: no event for fedora-modular: budget to spend: 2
Fedora Modular 34 - x86_64                                                                                                                                                                                   51 kB/s |  22 kB     00:00    
reviving: 'fedora-modular' can be revived - metalink checksums match.
fedora-modular: using metadata from Fri 23 Apr 2021 06:25:38 AM.
countme: event triggered for updates: bucket 4
Fedora 34 - x86_64 - Updates                                                                                                                                                                                107 kB/s |  22 kB     00:00    
reviving: 'updates' can be revived - metalink checksums match.
updates: using metadata from Mon 06 Jun 2022 10:47:23 PM.
countme: no event for updates-modular: budget to spend: 3
Fedora Modular 34 - x86_64 - Updates                                                                                                                                                                         81 kB/s |  22 kB     00:00    
reviving: 'updates-modular' can be revived - metalink checksums match.
updates-modular: using metadata from Thu 02 Jun 2022 11:13:39 PM.
google-chrome                                                                                                                                                                                                12 kB/s | 1.3 kB     00:00    
reviving: failed for 'google-chrome', mismatched repomd.
repo: downloading from remote: google-chrome
google-chrome                                                                                                                                                                                                22 kB/s | 3.6 kB     00:00    
google-chrome: using metadata from Thu 29 Dec 2022 06:56:40 PM.
google-chrome-beta                                                                                                                                                                                           11 kB/s | 1.3 kB     00:00    
reviving: failed for 'google-chrome-beta', mismatched repomd.
repo: downloading from remote: google-chrome-beta
google-chrome-beta                                                                                                                                                                                           10 kB/s | 3.6 kB     00:00    
google-chrome-beta: using metadata from Thu 29 Dec 2022 06:56:40 PM.
home:Alexander_Pozdnyakov (Fedora_34)                                                                                                                                                                       5.4 kB/s | 1.7 kB     00:00    
reviving: 'home_Alexander_Pozdnyakov' can be revived - repomd matches.
home_Alexander_Pozdnyakov: using metadata from Fri 04 Mar 2022 04:37:24 PM.
MEGAsync                                                                                                                                                                                                    4.1 kB/s | 1.5 kB     00:00    
reviving: failed for 'MEGAsync', mismatched repomd.
repo: downloading from remote: MEGAsync
MEGAsync                                                                                                                                                                                                     20 kB/s |  15 kB     00:00    
MEGAsync: using metadata from Mon 28 Nov 2022 06:56:22 PM.
NordVPN YUM repository - x86_64                                                                                                                                                                              11 kB/s | 2.5 kB     00:00    
reviving: failed for 'nordvpn', mismatched repomd.
repo: downloading from remote: nordvpn
NordVPN YUM repository - x86_64                                                                                                                                                                             5.4 kB/s | 2.7 kB     00:00    
nordvpn: using metadata from Thu 29 Dec 2022 07:38:32 AM.
NordVPN YUM repository - noarch                                                                                                                                                                              14 kB/s | 2.5 kB     00:00    
reviving: failed for 'nordvpn-noarch', mismatched repomd.
repo: downloading from remote: nordvpn-noarch
NordVPN YUM repository - noarch                                                                                                                                                                             2.6 kB/s | 1.3 kB     00:00    
nordvpn-noarch: using metadata from Thu 29 Dec 2022 07:38:30 AM.
RPM Fusion for Fedora 34 - Free                                                                                                                                                                             6.3 kB/s | 2.6 kB     00:00    
reviving: 'rpmfusion-free' can be revived - metalink checksums match.
rpmfusion-free: using metadata from Sun 25 Apr 2021 02:10:08 PM.
RPM Fusion for Fedora 34 - Free - Updates                                                                                                                                                                    30 kB/s | 2.4 kB     00:00    
reviving: 'rpmfusion-free-updates' can be revived - metalink checksums match.
rpmfusion-free-updates: using metadata from Thu 02 Jun 2022 10:16:27 AM.
RPM Fusion for Fedora 34 - Nonfree                                                                                                                                                                           33 kB/s | 2.6 kB     00:00    
reviving: 'rpmfusion-nonfree' can be revived - metalink checksums match.
rpmfusion-nonfree: using metadata from Sun 25 Apr 2021 02:36:02 PM.
RPM Fusion for Fedora 34 - Nonfree - NVIDIA Driver                                                                                                                                                          6.7 kB/s | 2.5 kB     00:00    
reviving: 'rpmfusion-nonfree-nvidia-driver' can be revived - metalink checksums match.
rpmfusion-nonfree-nvidia-driver: using metadata from Thu 02 Jun 2022 09:45:05 AM.
RPM Fusion for Fedora 34 - Nonfree - Updates                                                                                                                                                                6.7 kB/s | 2.5 kB     00:00    
reviving: 'rpmfusion-nonfree-updates' can be revived - metalink checksums match.
rpmfusion-nonfree-updates: using metadata from Thu 02 Jun 2022 10:45:39 AM.
skype (stable)                                                                                                                                                                                              3.7 kB/s | 2.9 kB     00:00    
reviving: failed for 'skype-stable', mismatched repomd.
repo: downloading from remote: skype-stable
skype (stable)                                                                                                                                                                                              7.9 kB/s | 4.5 kB     00:00    
skype-stable: using metadata from Thu 15 Dec 2022 09:46:15 AM.
slack                                                                                                                                                                                                       2.2 kB/s | 1.8 kB     00:00    
reviving: failed for 'slack', mismatched repomd.
repo: downloading from remote: slack
slack                                                                                                                                                                                                       8.2 kB/s |  12 kB     00:01    
slack: using metadata from Mon 28 Nov 2022 04:44:19 PM.
Sublime Text - x86_64 - Stable                                                                                                                                                                               16 kB/s | 2.9 kB     00:00    
reviving: failed for 'sublime-text', mismatched repomd.
repo: downloading from remote: sublime-text
Sublime Text - x86_64 - Stable                                                                                                                                                                              7.1 kB/s | 2.2 kB     00:00    
sublime-text: using metadata from Wed 21 Dec 2022 06:20:38 PM.
teams                                                                                                                                                                                                        14 kB/s | 3.0 kB     00:00    
reviving: 'teams' can be revived - repomd matches.
teams: using metadata from Mon 19 Sep 2022 07:43:00 AM.
Fedora 34 - x86_64 - VirtualBox                                                                                                                                                                             806  B/s | 181  B     00:00    
reviving: 'virtualbox' can be revived - repomd matches.
virtualbox: using metadata from Tue 11 Oct 2022 02:38:41 PM.
Visual Studio Code                                                                                                                                                                                           18 kB/s | 3.0 kB     00:00    
reviving: failed for 'code', mismatched repomd.
repo: downloading from remote: code
Visual Studio Code                                                                                                                                                                                          4.5 MB/s |  31 MB     00:07    
code: using metadata from Fri 23 Dec 2022 01:41:32 AM.
WineHQ packages                                                                                                                                                                                              22 kB/s | 3.3 kB     00:00    
reviving: 'WineHQ' can be revived - repomd matches.
WineHQ: using metadata from Wed 11 Nov 2020 04:11:57 AM.
Completion plugin: Generating completion cache...
--> Starting dependency resolution
---> Package google-chrome-beta.x86_64 108.0.5359.40-1 will be upgraded
---> Package google-chrome-beta.x86_64 109.0.5414.61-1 will be an upgrade
---> Package megasync.x86_64 4.7.1-3.1 will be upgraded
---> Package megasync.x86_64 4.8.1-1.1 will be an upgrade
---> Package nordvpn.x86_64 3.15.0-1 will be upgraded
---> Package nordvpn.x86_64 3.15.3-1 will be an upgrade
---> Package skypeforlinux.x86_64 8.90.0.407-1 will be upgraded
---> Package skypeforlinux.x86_64 8.92.0.204-1 will be an upgrade
---> Package slack.x86_64 4.28.184-0.1.el8 will be upgraded
---> Package slack.x86_64 4.29.149-0.1.el8 will be an upgrade
---> Package code.x86_64 1.73.1-1667967421.el7 will be upgraded
---> Package code.x86_64 1.74.2-1671533504.el7 will be an upgrade
--> Finished dependency resolution
Dependencies resolved.
============================================================================================================================================================================================================================================
 Package                                                     Architecture                                    Version                                                           Repository                                              Size
============================================================================================================================================================================================================================================
Upgrading:
 code                                                        x86_64                                          1.74.2-1671533504.el7                                             code                                                   132 M
 google-chrome-beta                                          x86_64                                          109.0.5414.61-1                                                   google-chrome                                           94 M
 megasync                                                    x86_64                                          4.8.1-1.1                                                         MEGAsync                                                18 M
 nordvpn                                                     x86_64                                          3.15.3-1                                                          nordvpn                                                 24 M
 skypeforlinux                                               x86_64                                          8.92.0.204-1                                                      skype-stable                                           121 M
 slack                                                       x86_64                                          4.29.149-0.1.el8                                                  slack                                                   78 M

Transaction Summary
============================================================================================================================================================================================================================================
Upgrade  6 Packages

Total download size: 467 M
Is this ok [y/N]:

Does anyone have any ideas on how to begin to address this? On my other Fedora machine, “dnf update” should result in dozens if not hundreds of packages that I can update.

I have tried “dnf clean” and “dnf clean dbcache” but I get the same result.

Any thoughts? I apologize if this has been addressed elsewhere and I have just not found the correct set of of instructions.

1 Like

Fedora 36 and Fedora 37 are the currently supported versions, you should upgrade to one of those.

2 Likes

OK, I will do that. Thank you.

1 Like

Fedora 34 has been EOL for about half a year, and will no longer receive updates of any kind. Fedora 35 just went EOL in December.

As suggested, an upgrade to a supported version is recommended. An upgrade to either Fedora 36 or 37 is advised since those are the only currently supported versions.

1 Like

My advice is to fix the dnf issue first, and then upgrade to a supported release for two reasons.
You are supposed to update your system before you system-upgrade , and second you need dnf to work for proper system-upgrade (see Documentation.)

One of your issues is that you have repos and software that don’t belong to Fedora…4.29.149-0.1.el8, 1.74.2-1671533504.el7

Add the --allowerasingflag and see what dnf suggests, but be careful.

Remove software that does not belong to Fedora manually. Reinstall it later - the proper way. Or just remove all of that 3rd party software manually (code, slack, skype, nordvpn, megasync, google-chrome-beta, …) and reinstall it after upgrading to a supported release.

I would even remove or at least disable any third party repo before upgrading.

3 Likes

Upgrading directly from F34 to F37 probably won’t work as the gpg keys for Fedora 37 is not available in Fedora 34. Upgrading to Fedora 36 probably would work. Also, the third party packages may or may not create conflicts. If they do, the conflicting third party package should be removed.

3 Likes

Okay, so upgrading did solve the problem. I went from F34 to F35, then from F35 to F36. No issues, everything worked fine. Maybe I should have stopped there.

I then upgraded from F36 to F37 and now Fedora no longer detects my USB network adapter. It does not appear even when running lspci. So, off onto another adventure I suppose. But the problem stated in this topic has been solved.

3 Likes

Indeed. Feel free to create a new topic for the USB network adapter so we can take a look at that as well, if you haven’t already.

1 Like