I am going to discuss two scenarios:Then I copied this directory to a USB drive.less updates.txt
On the Fedora system with an internet connection, I downloaded all the packages using the command:On the Fedora system with an internet connection, I downloaded all the packages using the command:On the Fedora system with an internet connection, I downloaded all the packages using the command:On the Fedora system with an internet connection, I downloaded all the packages using the command:I did not test the scenario for package updates from RPM fusion and externally configured repo packages like Brave browser. I only had packages installed only from the default Fedora repos.
First, on the offline system, I got the details of all installed packages that required an update.
Table of Contents
Download all packages
You may use --disablerepo=*
option to disable checking the repo and mirrors. Use this option with caution. I copied the downloaded-packages folder from the USB to the Downloads folder on the system.
Update the offline system
In this method, I listed all the packages installed on the system and saved it to a file:This can be done in a terminal by using the command:
Conclusion
In the above screenshot, you can see the last entry as gpg-pubkey. This item has given me an error later, that say no package available in that name. sudo dnf install *.rpm
Method 2: For systems with no internet connection
Both scenarios follow pretty much the same steps. You download the package updates on another Fedora system that can be connected with internet and then transfer the downloaded updates to the offline Fedora system via a USB.🚧