How to downgrade a package using dnf without internet access?


I can’t connect to wifi because of the new iwl7260-firmware-* not working for me.

I was able to get the rpms for a working version of the iwl7260-firmware.

I tried using

dnf downgrade ./iwl7260-firmware-

but results in an error with the following message
Failed to download metadata for repo 'fedora-modular'
Error: Failed to download metadata for repo 'fedora-modular'

I have already downloaded the necessary rpms, but unable to downgrade it.

1 Like

You can do

sudo dnf install /path-to/downloaded-package.rpm

If that doesn’t work, add a --disablerepo=* to the command so metadata isn’t fetched from the servers.


An alternate option would be:

rpm -Uvh --force ./iwl7260-firmware-


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.