Can't login after partial upgrade

I did something not right: I update the system and ignored a package with:

sudo pacman -Syu --ignore icu

Now I can’t login.
If I try to update in another tty:

pacman: error while loading shared libraries: libicuuc.so.76: cannot open shared object file: No such file or directory

Maybe my repository was not totally updated when I did the command with ignore icu.
Even timeshift needs libicuuc

Maybe you could use pacman-static in chroot from a live USB to update the system again without ignoring packages and see if it fixes it?

3 Likes

Please see:

Regards.

2 Likes

I’ll just drop this here for consideration:

pacman -Qii icu
Name            : icu
Version         : 75.1-2
Description     : International Components for Unicode library
Architecture    : x86_64
URL             : https://icu.unicode.org
Licenses        : LicenseRef-Unicode-3.0  BSD-2-Clause  BSD-3-Clause
Groups          : None
Provides        : libicudata.so=75-64  libicui18n.so=75-64  libicuio.so=75-64  libicutest.so=75-64
                  libicutu.so=75-64  libicuuc.so=75-64
Depends On      : gcc-libs  glibc  sh
Optional Deps   : None
Required By     : boost-libs  calibre  gspell  harfbuzz-icu  haskell-text-icu  kdelibs  kdeplasma-addons
                  konsole  lib32-icu  libcdr  libe-book  libical  libmspub  libqalculate  libqxp
                  libreoffice-fresh  libvisio  libxml2  libzmf  manjaro-settings-manager  mpd  nodejs
                  plasma-desktop  plasma-workspace  postgresql  qt6-5compat  qt6-base  qt6-webengine  raptor
                  smbclient  thunderbird  tinysparql  vte3  webkit2gtk  webkit2gtk-4.1  xerces-c
Optional For    : qt4  tesseract  xfsprogs
Conflicts With  : None
Replaces        : None
Installed Size  : 40.64 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Mon 23 Dec 2024 19:49:25 GMT
Install Date    : Tue 04 Feb 2025 12:47:45 GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Backup Files    : None
Extended Data   : pkgtype=pkg

Of particular interest is the Required By: section.

Any particular reason you wanted to hold that package back? :wink:

1 Like

No reason to hold that package, is that seems others packages are dependent of icu and I have no way of update.

I ignored the package “icu” because it was necessary by another which I don’t remember now,
and then came a lot of others , it was a lack of attention by my side.
I think I have to reinstall Manjaro.

1 Like

I think a fix via chroot and re-running the upgrade (preferably with pacman first, then any AUR stuff with the helper you use).

1 Like

When I run pacman says it needs icu. :smiling_face_with_tear:

I thought that might still run OK from chroot. Unfortunately I think you might be right re. a reinstallation; it’s looking a bit like “depencency hell”. :cold_sweat:

1 Like

https://wiki.archlinux.org/title/Pacman#Using_pacman-static

2 Likes

Interesting! I’d not looked into that before. Will need to bookmark this. :wink:

1 Like

I bypassed the login screen, I am on a manjaro terminal tty1, should work too.
I feel blind with only command line.
Will leave to do this tomorrow.

1 Like

Many thanks to all involved, and of course to pacman-static :v::+1::point_up::kissing_smiling_eyes:
Couldn’t wait till tomorrow.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.