Can't do update because of `libicuuc`

[i3hunor@HunorT480 ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace dbus-python with extra/python-dbus? [Y/n] 
:: Replace tepl with extra/libgedit-tepl? [Y/n] 
resolving dependencies...
:: There are 2 providers available for qt6-multimedia-backend:
:: Repository extra
   1) qt6-multimedia-ffmpeg  2) qt6-multimedia-gstreamer

Enter a number (default=1): 
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (75.1-1) breaks dependency 'libicui18n.so=74-64' required by electron25
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by electron25
:: installing icu (75.1-1) breaks dependency 'libicui18n.so=74-64' required by electron26
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by electron26

This is what I get when i try to update and i dont understand what i did wrong.
Any idea what can i do?

remove that

and that as well

2 Likes

It is a dependencie on caprine.
And i need caprine in the following months.

sudo pacman -R electron25 electron26
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing electron26 breaks dependency 'electron26' required by caprine 

look for a repo version of electron if you need it - I have not looked, I don’t know

remove it or you can’t update - you can reinstall it afterwards

2 Likes

Okay, I try to remove electron25 and 26 and caprinte too. Hope it solves the problem.

The AUR page for caprine currently says it requires electron29 which is in the repos.

https://aur.archlinux.org/packages/caprine
https://packages.manjaro.org/?query=electron

EDIT:

So as @Nachlese said, remove the out-dated caprine, electron25 and electron26 and reinstall caprine after updating.

1 Like

As already mentioned:

Remove electron 25/26, and any apps depending on them.

sudo pacman -R caprine electron25 electron26

2. Reboot (optional)
3. Perform update

Reinstall any apps as needed.


After successful update, if you still actually need an older electron version, consider using (for example) electron25-bin from the AUR until whatever app that needs it is updated. :eyes:

Of course, if the update is successful, you probably won’t need to resort to this. Cheers.

1 Like

I did that and the the update was possible, but now i cant use yay

sudo pacman -S caprine
error: target not found: caprine
yay -S caprine
yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

Then you might need to… reboot.

pamac search caprine --aur
pamac build caprine

Caprine only seems available from the AUR.

2 Likes
pacman -R yay-git && pacman -S yay 

solved the problem.
Thanks for everyones help, you really helped me out here.

1 Like

So the version of yay that you used was another AUR package.
You need to keep track of those yourself - and minimize the use in favor of the packages in the official repo.

2 Likes

I was just about to comment about the version, I was going to suggest your mirror may be out of date.

However I didn’t realise you were using yay-git. If I had, I would’ve told you to use the one from the repo, as you’ve done.

1 Like

Thank you!
How can i list the non aur packages I have?
I do not have any understanding how the package managers work.

I’d have to look that up myself - don’t know off the top of my head.
You can always do it like you did here:
first use pacman to update - and if then something fails:
then you will notice the AUR packages and can deal with it :man_shrugging:

Not the most elegant solution, but it works :wink:

2 Likes

Then, it’s time to educate yourself:

Plus:

And of course:

2 Likes

Thanks everyone for helping me.
Have a great day!

2 Likes

Here are some useful links. You should read the one about the AUR, before using the AUR.

https://wiki.archlinux.org/title/Pacman
https://wiki.archlinux.org/title/Aur
https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave
https://wiki.archlinux.org/title/Pacman/Tips_and_tricks

2 Likes

Though I appreciate the Solution vote, the honour really should belong to @Nachlese for first bringing attention to a solution.

I have reassigned the little tick. Cheers.

2 Likes

Thank you, :man_bowing: but: no need
I really don’t care about such things.

1 Like

Nor I.

However, it does help promote critical thinking for newer users. :wink:

2 Likes