Re: issue with dnf system upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 05 Jun 2023 15:14:49 +0200
François Patte <francois.patte@xxxxxxxxxxxxxxxxxxxx> 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.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux