Skip to main content
Topic: pacman commits suicide (Read 1893 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

pacman commits suicide

A package (balsa) couldn't load libicuuc.so.60
Then I did
pacman -S system/icu
which installed this library

but know, pacman itself doesn't run anymore since it needs libicuuc.so.59

Oh dear !!!

Re: pacman commits suicide

Reply #1
Similar problem was here but somehow the forum was down at that time i think or i somehow missed it all.
you can fake it and download the library from web and copy it when it belongs (with all files it needs) than tun pacman and install it properly to remove these files or you will sometime in the future face the same problem.

Also in other post you mentioned missing things and packages from SF.net.
I think all mirror on SF.net are dead by now and new one where created.

Links:
I took the original idea from Manjaro forun:
https://forum.manjaro.org/t/pacman-libicuuc-so-58-no-such-file-or-directory/15646


Re: pacman commits suicide

Reply #3
A package (balsa) couldn't load libicuuc.so.60
Then I did
pacman -S system/icu
which installed this library
but know, pacman itself doesn't run anymore since it needs libicuuc.so.59
Oh dear !!!

Your mirrorlist is outdated. You must download the pacman package and untar it from /:
Code: [Select]
% cd /
% wget https://mirrors.dotsrc.org/artix-linux/repos/system/os/x86_64/pacman-5.0.2-9-x86_64.pkg.tar.xz -O /tmp/pacman-5.0.2-9-x86_64.pkg.tar.xz
% sudo tar Jxvf /tmp/pacman-5.0.2-9-x86_64.pkg.tar.xz
Now make this in your /etc/pacman.d/mirrorlist
Code: [Select]
 # Artix mirrors
 Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
 Server = http://artix.wheaton.edu/repos/$repo/os/$arch
 Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
 Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
 Server = https://www.uex.dk/public/artix/$repo/os/$arch
And re-install pacman with pacman (so you can pacman while you pacman):
Code: [Select]
% sudo pacman -Sy pacman
% sudo pacman -Su

Re: pacman commits suicide

Reply #4
Another solution is to boot livecd, mount your stuff on /mnt

Code: [Select]
pacman -Sy pacman -r /mnt

Re: pacman commits suicide

Reply #5
Your mirrorlist is outdated. You must download the pacman package and untar it from /:
Code: [Select]
% cd /
% wget https://mirrors.dotsrc.org/artix-linux/repos/system/os/x86_64/pacman-5.0.2-9-x86_64.pkg.tar.xz -O /tmp/pacman-5.0.2-9-x86_64.pkg.tar.xz
% sudo tar Jxvf /tmp/pacman-5.0.2-9-x86_64.pkg.tar.xz
Now make this in your /etc/pacman.d/mirrorlist
Code: [Select]
 # Artix mirrors
 Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
 Server = http://artix.wheaton.edu/repos/$repo/os/$arch
 Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
 Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
 Server = https://www.uex.dk/public/artix/$repo/os/$arch
And re-install pacman with pacman (so you can pacman while you pacman):
Code: [Select]
% sudo pacman -Sy pacman
% sudo pacman -Su


Many thanks, I've tried this.
But now I get another error
pacman -Su
gives
:: Retrieving packages...
error: failed retrieving file 'netifrc-0.6.0-1-x86_64.pkg.tar.xz' from mirror1.artixlinux.org : Maximum file size exceeded
error: failed retrieving file 'netifrc-0.6.0-1-x86_64.pkg.tar.xz' from artix.wheaton.edu : Maximum file size exceeded
error: failed retrieving file 'netifrc-0.6.0-1-x86_64.pkg.tar.xz' from mirror.strits.dk : Maximum file size exceeded
error: failed retrieving file 'netifrc-0.6.0-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

Sorry, but I think I have to give up with ARTIX.
Personally, I have been using and I will be using Gentoo.
I was looking for a stable and easy to use Linux distribution for a friend of mine who has no knowledge about installing / compiling etc.
She just wants  to use some applications like firefox and balsa. She needs a simple and fail proof update procedure.

Re: pacman commits suicide

Reply #6
No idea where you found -Su the minimum you need  is -Syu and I would recommend
Code: [Select]
sudo pacman -Syyu
for all updates

Re: pacman commits suicide

Reply #7
Its sudo packman -Syyu that will refresh the data bases completely every time regardless, Really if you are a gentoo user you should know the importance of researching !st.
and to fix shared object  libicuuc.so.59  icu 60.1.1 is the correct version and is in stable system, repro for at least a week.

"Cannot open shared object file" error

It looks like previous pacman transaction removed or corrupted shared libraries needed for pacman itself.

To recover from this situation you need to unpack required libraries to your filesystem manually. First find what package contains the missed library and then locate it in the pacman cache (/var/cache/pacman/pkg/). Unpack required shared library to the filesystem. This will allow to run pacman.

Now you need to reinstall the broken package. Note that you need to use --force flag as you just unpacked system files and pacman does not know about it. pacman will correctly replace our shared library file with one from package.

That's it. Update the rest of the system.

So simple if you research 1st


Re: pacman commits suicide

Reply #9

Sorry, but I think I have to give up with ARTIX.


Please don't let the door hit you in the back and use that refund check wisely.

Except for a few hour delay in updates of sig.mismatches in repositories, Artix has been more reliable than Debian had been for years.


Re: pacman commits suicide

Reply #10
Tell me about it when I was using Ubuntu anything not fixed by the release date You had to wait till the next release. Debian could be a 2 year wait.