On Mon, 05 Jun 2023 15:14:49 +0200
François Patte <francois.patte(a)mi.parisdescartes.fr> wrote:
Bonjour,
Today I tried to upgrade from fc34 to fc36.
Downloading the package was okay. Problems occur when I agreed to
system-upgrade-reboot:
1- No display... I could only dee the led showing HDD accesses
2- After sometimes (when no more accesses were showed, I press enter
key on the keyboard and the system rebooted on fc34 kernel and still
no display...
3- I pressed the "y" key on the the keyboard (in case the system
upgrade was asking some question...) and the display came (hurray!) :
I could see the login screen of the fc36 version. I could login but
all my previous display settings were gone....
4- I checked the kernel with command uname -r and it is stille the
fc34 kernel which running... No f36 packages have been installed in
/boot.... 5- many packages from fc34 remain installed and only some
fc36 packages have been installed.
What can I do to have a coherent fc36 install now?
I think you probably ran into some kind of incompatibility because you
were jumping 2 releases. If you had moved to f35 and then f36 it
probably would have succeeded. Others are suggesting a new install of
the latest stable fedora version. And that is good advice, but I'll
give you advice on how I would recover if I faced this situation.
Because both versions are end of life, their repositories will be
frozen at what was in them when they were changed to EOL.
Check if the two packages fedora-repos and fedora-release were
installed during the upgrade.
rpm -qi fedora-repos
rpm -qi fedora-release
If they are f36 versions, skip the next paragraph. If 34 versions are
still there along with the f36 versions, you will have to remove them,
making sure you remove only the f34 version
dnf remove [fedora-repos f34 version] [fedora-release f34 version]
If f36 versions weren't there, what you should do is go to koji and
download and install the two packages
fedora-repos
https://koji.fedoraproject.org/koji/buildinfo?buildID=2143081
fedora-release
https://koji.fedoraproject.org/koji/buildinfo?buildID=2095759
for f36.
dnf -C update [fedora-repos f36 pkg] [fedora-release f36 pkg]
Once that is done,
dnf distrosync
That should pull in all possible f36 package updates for packages you
have installed, and install them. You will only have one kernel, so
you should probably go back to koji and install at least a second
kernel for f36, so you have a fallback. That should be this one,
https://koji.fedoraproject.org/koji/buildinfo?buildID=2194405
You will have to download all the rpms that you currently have
installed for the kernel and install them individually.
dnf -C install $(ls kernel*.rpm)
There will probably be packages that don't have updates and have
conflicts that you will have to work around, as well.