Upgrade has gone horribly wrong: Can not run DNF or anything graphical

  • OpenMandriva Lx version: 25.03 (ROME)

  • Desktop environment: KDE

  • Description of the issue:

After installing packages updates OpenMandriva no longer boots correctly. When attempting to use the latest kernel it stops displaying anything at all when GRUB passes control to Linux. That however might be my fault as I installed a custom Plymouth theme. HOWEVER when running a slightly older kernel SDDM doesn’t start.

After some tinkering I have managed to reach a console and found that running “dnf upgrade” results in:

ImportError: /lib64/iccuc.so.76: undefined symbol: icudt76_dat

Running “startx” results in:

Symbol lookup error: /lib64/iccuc.so.76: undefined symbol: icudt76_datxinit

I’m guessing that resolving this problem will require manually downloading patched packages and upgrading by direct use of RPM.

1 Like

Hello, another user reported a similar issue with upgrading in this thread, I have linked the solution, but best give the thread a read over to ensure it is the same issue:

2 Likes

OM doesn't boot after latest update - #12 by bero

Just to be sure, did you use dnf upgrade or dnf distro-sync?

I just used Discover rather than the command line.

There are 4 ways to update OpenMandriva listed here.

OpenMandriva wiki

How to update system

How to update your Rock or Rolling system

I use the system update in the application menu.

1 Like

I am not one to scream RTFM, but @RyanMcCoskrie , you have been here since Jan 6. In all that time, you have not read anything about how to manage your system. OpenMandriva is a unique Distro. It is not like any other AND it is a rolling distro.

I’m not even going to ask if you have a good backup of your home folder.

2 Likes

I advise against using the KDE Discover app, or whatever Gnome uses, or the Mint app store, or whatever you have.

In the OM-Welcome app you will find a system upgrade program. Use that if you don’t want to use the terminal. Otherwise, open a terminal and run
sudo dnf clean all;dnf clean all;sudo dnf distro-sync --refresh --allowerasing

2 Likes

The only graphical app that can update the system without breaking it is Dnfdrake.

Make sure you read the thread underneath the solution post in the other thread as there is an extra step needed which I explained there.

Although I downloaded all the files in the link Bero gave, I think the only ones really needed are
icu-data-76.1-2-omv2590.x86_64.rpm and lib64icuuc-76.1-2-omv2590.x86_64.rpm

But if it asks for others, you can find them at the same link.

You’ll need to boot into a live flash drive session which should be able to access the hard drive OM is installed on. Then place the files somewhere in the home drive for easy navigation to from console boot.

After replacing the files it’s likely that other programs still won’t work, but DNF should be working at that point and you can distro-sync to complete the upgrade properly.