You are not logged in.

#1 2025-02-22 02:02:58

xmonad_and_dnb_enjoyer
Member
Registered: 2022-05-11
Posts: 11
Website

[SOLVED] Pacman broke due to partial upgrade

The dumb way...

I did an incomplete upgrade of my system, I've been trying to fix it but i don't know how i can fix this.

I didnt let it upgrade icu, when the update completed i couldn't run pacman or yay anymore cus apparently they require it.

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

I download the source code of the current version, install it using make:

 ./configure --prefix=/usr && make &&  sudo make install 

yay and pacman work again
when i try do -Syyu and it tries to upgrade icu it gives me the error that the files already exist

 error: failed to commit transaction (conflicting files)
icu: /usr/lib/icu/76.1/Makefile.inc exists in filesystem
icu: /usr/lib/icu/76.1/pkgdata.inc exists in filesystem
icu: /usr/lib/libicudata.so.76 exists in filesystem
icu: /usr/lib/libicudata.so.76.1 exists in filesystem
icu: /usr/lib/libicui18n.so.76 exists in filesystem
icu: /usr/lib/libicui18n.so.76.1 exists in filesystem
icu: /usr/lib/libicuio.so.76 exists in filesystem
icu: /usr/lib/libicuio.so.76.1 exists in filesystem
icu: /usr/lib/libicutest.so.76 exists in filesystem
icu: /usr/lib/libicutest.so.76.1 exists in filesystem
icu: /usr/lib/libicutu.so.76 exists in filesystem
icu: /usr/lib/libicutu.so.76.1 exists in filesystem
icu: /usr/lib/libicuuc.so.76 exists in filesystem
icu: /usr/lib/libicuuc.so.76.1 exists in filesystem
icu: /usr/share/icu/76.1/LICENSE exists in filesystem
icu: /usr/share/icu/76.1/config/mh-linux exists in filesystem
icu: /usr/share/icu/76.1/install-sh exists in filesystem
icu: /usr/share/icu/76.1/mkinstalldirs exists in filesystem
Errors occurred, no packages were upgraded. 

when i delete the files pacman doesn't work
when i install the version of icu that i currently have installed that pacman is trying to upgrade from pacman doesn't work

how do i fix my system?
thanks in advance!

Last edited by xmonad_and_dnb_enjoyer (2025-02-22 12:35:37)


who are you to try and stop me? ~C
"Errare humanum est, sed perseverare diabolicum." - Lucius Annaeus Seneca

Offline

#2 2025-02-22 02:07:15

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: [SOLVED] Pacman broke due to partial upgrade

if pacman ever stops working due to a partial update, the solution isn't to compile from source, the solution is to use a live usb and pacstrap the missing / required package. that's what you should be doing.

Offline

#3 2025-02-22 02:13:15

xmonad_and_dnb_enjoyer
Member
Registered: 2022-05-11
Posts: 11
Website

Re: [SOLVED] Pacman broke due to partial upgrade

thank you my bad


who are you to try and stop me? ~C
"Errare humanum est, sed perseverare diabolicum." - Lucius Annaeus Seneca

Offline

#4 2025-02-26 03:41:41

lucifei
Member
Registered: 2023-11-22
Posts: 3

Re: [SOLVED] Pacman broke due to partial upgrade

xmonad_and_dnb_enjoyer wrote:

thank you my bad

how?I have same problem!!! ?

Offline

#5 2025-02-26 04:48:59

NuSkool
Member
Registered: 2015-03-23
Posts: 285

Re: [SOLVED] Pacman broke due to partial upgrade

https://wiki.archlinux.org/title/Instal … l_packages

Last edited by NuSkool (2025-02-26 04:52:30)


Scripts I Use                                                 :  https://github.com/Cody-Learner
grep -m1 'model name' /proc/cpuinfo    : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo    : Intel(R) N95
grep -m1 'model name' /proc/cpuinfo    : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics

Offline

Board footer

Powered by FluxBB