Hi guys. I really messed something up when upgrading my system some hours ago. Now it won’t even boot into grub. I get this kernel panic screen and have no clue what to do.
I took some melatonin right before deciding to do a massive pacman -Syyu upgrade on the thing.
Any advice for this poor fool??
I have an important interview in the next few days and need to get something running at least.
The things I remember wouldn’t want to upgrade, that I excluded from the Syyu command was some packages to do with libicu, flac (I think that’s what it was) and some other lib thing. (I wrote it down in a text file on my Documents folder in case.)
Now you know not to ignore critical core system libraries. Pacman prevented you from updating because there was some other problem, like with an aur package for example. This was a warning, a protective mechanism and not merely an annoyance. You deliberately ignored it and forced the system to continue the “update” and to break itself.
And never update if you have to do something important. It can wait a day or two or a week.
Let’s hope it was the only problem and the above fixes it.
Do not use any other variation unless you are specifically instructed to in order to solve a problem – or – if you know exactly what the command variation will do.
I was able to load up a bootable usb with a live session and sign into a chroot session into my local partition.
After extracting the pacman-static package and running it with the -Syyuu flagged command, I get a familiar screen to what I’ve seen before.
Below is what I see:
[manjaro bin]# ./pacman-static -Syyuu
:: Synchronizing package databases...
core 139.9 KiB 823 KiB/s 00:00 [####################################] 100%
extra 8.3 MiB 36.5 MiB/s 00:00 [####################################] 100%
multilib 140.0 KiB 6.83 MiB/s 00:00 [####################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron28
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron28
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron28
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron29
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron29
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron29
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron30
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron30
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron30
This point I think the next step is to downgrade certain packages. However I’m not entirely sure which ones. Should I just get rid of the electron packages that are being required by the detailed dependencies?
Yea I realize that now. I had a voice in the back of my mind warning me. But I didn’t listen
I’m glad that I located vital program and documents to separate disk drives. Separate to my boot disk. I don’t mind starting from scratch but I would avoid it if I could.
Those are the incorrect versions. You need to upgrade those packages to match what is in the mirrors. Your system will not work until the icu package on your Stable branch system matches the one on the Stable branch mirrors:
mbn info icu -q | grep -Ev 'Name|Repository|Packager'
Branch : archlinux
Version : 76.1-1
Build Date : Fri 07 Feb 2025 02:17:51
Branch : unstable
Version : 76.1-1
Build Date : Fri 07 Feb 2025 02:17:51
Branch : testing
Version : 76.1-1
Build Date : Fri 07 Feb 2025 02:17:51
Branch : stable
Version : 76.1-1
Build Date : Fri 07 Feb 2025 02:17:51
mbn info flac -q | grep -Ev 'Name|Repository|Packager'
Branch : archlinux
Version : 1.5.0-1
Build Date : Thu 20 Feb 2025 03:37:50
Branch : unstable
Version : 1.5.0-1
Build Date : Thu 20 Feb 2025 03:37:50
Branch : testing
Version : 1.5.0-1
Build Date : Thu 20 Feb 2025 03:37:50
Branch : stable
Version : 1.5.0-1
Build Date : Thu 20 Feb 2025 03:37:50
mbn can be found in the manjaro-check-repos package
There seems to be some misunderstanding about what depends on what. The electron packages are AUR packages. When you built them on your system, you had icu version 75 & flac version 1.4 on your system, so the electron packages were built to depend on icu version 75 & flac version 1.4. But you now have to install icu version 76 & flac version 1.5, which means those electron packages will have to be rebuilt to depend on icu version 76 & flac version 1.5. And to do that, you have to first remove those AUR electron packages so that the icu & flac upgrades can proceed.
You can then rebuild the AUR electron packages after the system update (if you really need those earlier versions of electron).
If you do need to install those electron packages from the AUR, I would recommend that you use the precompiled binaries (electron28-bin, electron29-bin & electron30-bin). It will take a lot less time to build them, and they have fewer dependencies, which should reduce problems with future system updates:
pamac info electron28-bin electron29-bin electron30-bin
Name : electron28-bin
Version : 28.3.3-3
Description : Build cross platform desktop apps with web technologies — prebuilt
URL : https://electronjs.org
Licenses : LicenseRef-custom MIT
Repository : AUR
Groups : --
Depends On : alsa-lib gtk3 nss
Optional Dependencies : kde-cli-tools [Installed]
pipewire [Installed]
qt6-base [Installed]
gtk4 [Installed]
trash-cli
xdg-utils [Installed]
Make Dependencies : --
Check Dependencies : --
Provides : electron28=28.3.3
Replaces : --
Conflicts With : electron28
Maintainer : yurikoles
First Submitted : Fri 27 Oct 2023 01:15:29
Last Modified : Wed 21 Aug 2024 19:37:12
Votes : 3
Out of Date : --
Name : electron29-bin
Version : 29.4.6-2
Description : Build cross platform desktop apps with web technologies — prebuilt
URL : https://electronjs.org
Licenses : LicenseRef-custom MIT
Repository : AUR
Groups : --
Depends On : alsa-lib gtk3 nss
Optional Dependencies : kde-cli-tools [Installed]
pipewire [Installed]
qt6-base [Installed]
gtk4 [Installed]
trash-cli
xdg-utils [Installed]
Make Dependencies : --
Check Dependencies : --
Provides : electron29=29.4.6
Replaces : --
Conflicts With : electron29
Maintainer : yurikoles
First Submitted : Wed 27 Dec 2023 20:42:11
Last Modified : Wed 21 Aug 2024 19:31:29
Votes : 4
Out of Date : --
Name : electron30-bin
Version : 30.5.1-1
Description : Build cross platform desktop apps with web technologies — prebuilt
URL : https://electronjs.org
Licenses : LicenseRef-custom MIT
Repository : AUR
Groups : --
Depends On : alsa-lib gtk3 nss
Optional Dependencies : kde-cli-tools [Installed]
pipewire [Installed]
qt6-base [Installed]
gtk4 [Installed]
trash-cli
xdg-utils [Installed]
Make Dependencies : --
Check Dependencies : --
Provides : electron30=30.5.1
Replaces : --
Conflicts With : electron30
Maintainer : zxp19821005
First Submitted : Fri 29 Mar 2024 12:38:37
Last Modified : Fri 13 Sep 2024 13:36:03
Votes : 1
Out of Date : --
If you have a live usb you can always save documents from the not booting root.
You grub is ok looks to me, kernel 6.13 starts to load and fails to find filesystem. That is why i was not sure this comes from icu only… unfortunately i was right. But i have no idea why that happens.
I note that your system BIOS appears to be rather old (BIOS F14e 2021-10-15). While updating to the latest (non-beta) BIOS available may not directly solve this issue, an updated BIOS will usually include fixes for known problems and important security mitigations.