Installing icu (75.1-1) breaks dependencies

This is similar to Running into a couple of issues while trying to update using yay, however the suggested fix there did not work for me and I believe some surrounding circumstances may be different.

After yay updates AUR packages it moves on to system packages, at which point I get

:: Replace dbus-python with extra/python-dbus? [Y/n] 
resolving dependencies...
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 electron22
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by electron22
:: 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
 -> Failed to install layer, rolling up to next layer.error:error installing repo packages

No matter if I replace python-dbus or not, it always fails. As mentioned, I have tried adding

Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.onet.pl/pub/mirrors/archlinux/$repo/os/$arch
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch

at the start of my /etc/pacman.d/mirrorlist file and I have also tried just rebuilding the mirrors normally with reflector, the output of which I then copied into the mirrorlist file. None of these fixed the issue, although I’m not sure how updating my mirrors would solve a dependency problem anyways.

Either way, I’d be happy about some help here!

1 Like

What is the output of pactree -r electron22 and pactree -r electron25?

If nothing important is showing then try uninstalling those two - sudo pacman -R electron22 electron25 and then try updating again.

10 Likes

You should remove electron22 and electron25. I would argue any application that still relies on versions that old shouldn’t be kept around at this point.

4 Likes

Each just outputs themselves. Probably some leftover dependencies from something I installed who knows when then. I suppose in that case I’ll just try uninstalling them, thanks for the pactree command, I didn’t know that one before.

3 Likes

Welcome to the purple side @Ny4n :enos_flag:

2 Likes

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