Hello,
Would it be possible to upgrade a PC Fedora 29 to Fedora 31 with the dnf method ?
Best Regards.
myagfedora
Hello,
Would it be possible to upgrade a PC Fedora 29 to Fedora 31 with the dnf method ?
Best Regards.
myagfedora
From Quick Docs:
However, for the first month or so after a new release, upgrades from the last-but-one release are āsupportedā (N-2, where N is the current release).
Hello,
yes, this upgrade is supported and generally works without problems. Follow these steps:
sudo dnf install python3-dnf-plugin-system-upgrade
sudo dnf update --refresh
sudo dnf module list --installed
sudo dnf module reset <modulename>
ā this will tell DNF to use a newer stream to upgrade the packages.sudo dnf system-upgrade download --releasever=31
sudo dnf system-upgrade reboot
After some time, your Fedora should be upgraded to the 31 version.
Hello,
Thans for your answer.
I have checked the module list with the command ā|sudo dnf module list
āinstalledā
and it seems that I have no modules installed.
Now I am stuck at this point : |sudo dnf system-upgrade download
āreleasever=31|
It gives me the following error message:
[root@webkiosk2 ~]# dnf -y system-upgrade download --releasever=31
Adobe Systems Incorporated 9.4 kB/s | 2.9 kB 00:00
Fedora Modular 31 - i386 49 kB/s | 54 kB 00:01
Error: Failed to download metadata for repo āfedora-modularā: Cannot
prepare internal mirrorlist: Status code: 404 for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-31&arch=i386
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-31&arch=i386
At this point, I cannot update my system from Fedora 29 to Fedora 31
Any help will be appreciated.
Best Regards.
Giuseppe Angelini
Hello,
you also should find out, whether you have some modules enabled with dnf module list --enabled
. Letās assume, that you do not.
The error you are getting suggests that there is something wrong with the modular repository, maybe it was not available in that particular time, or it was not fully synchronized. You could also repeat that action at some other time to see if it helps.
If not, you can disable modular repositories (on condition that no modules are installed or enabled) and then try to upgrade without modular informations, which should be possible, too.
You can disable the repos using dnf config-manager --disablerepo=\*modular\*
.
@myagfedora
Just recently there was a similar issue that had repomd in the title. On that one the problem was that the OP was running an i386 machine on F30 and was trying to update to F31.
The solution was that āYOU CANāT DO THATā.
F30 was the last release to support 32 bit architecture and those machines cannot do the upgrade to F31
Your post above with the error message
shows that your system is looking for an i386 architecture in F31 and with the removal of 32 bit support YOU CANāT DO THAT.
If your hardware supports 64 bit but you are only running 32 bit then a new install of F31 should fix your problem. If you are on 32 bit hardware then you will need to stay at F30 or below, upgrade to 64 bit hardware, or switch to another distro that still supports 32 bit hardware with new releases.
The release notes here document the change.