Issues Resolving Dependencies for Electron32 to Update

For over an hour, I have been trying to update my system, and dependencies keep blocking it.

sudo pacman -Syu                                                                        ✔ 
[sudo] password for [censored]: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace sdl2 with extra/sdl2-compat? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron30
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron30
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron30
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by electron30
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron32
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron32
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron32
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by electron32

Following this, I started searching online and followed a recommendation to delete electron30, as I could always reinstall it later. electron32 was an issue, though.

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

I then tried to update icu and again failed.

sudo pacman -S icu  
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron32
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron32
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by harfbuzz-icu
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by raptor

After more searching online, several different resolved questions on forums pointed to the mirror list being the issue. After looking up what the mirror list was, I thought it didn’t sound right, but I tried optimizing them anyway, as I noticed that despite living in the US, it was trying to use the Netherlands. This got the same dependency issues. Finally, I thought, if electron has already passed version 32, then maybe I can bypass these issues by installing a later version.

 sudo pacman -S electron                                                               1 ✘ 
[sudo] password for [censered]: 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron32
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by electron32
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by libarchive
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by libsndfile
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by openconnect
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by sane

Does anyone have any ideas what I should try next? This is my first help forum post… ever, so I hope I did it right.

Your electron versions (30 and 32) are all AUR packages.

code from the Manjaro repos depends on electron34 - this is also in the normal Manjaro repos

sudo pacman -Syuw code
[sudo] password for jo: 
:: Synchronizing package databases...
 core is up to date
 extra                                                      8,3 MiB  4,53 MiB/s 00:02 [#################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...

Packages (5) c-ares-1.34.5-1  electron34-34.5.6-1  minizip-1:1.3.1-2  ripgrep-14.1.1-1  code-1.100.2-1

Total Download Size:  98,71 MiB

I tried running sudo pacman -Syuw code, and while that didn’t work it did leave out the line looking for conflicting packages... that it had always done before. It seems to keep deciding that trying to install updates will break dependencies. I really don’t want to try and force it somehow and brick my computer.

sudo pacman -Syuw code                                                              INT ✘ 
[sudo] password for azriel: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace sdl2 with extra/sdl2-compat? [Y/n] y
resolving dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron32
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron32
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron32
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by electron32

The above was just an example to see what would happen when I try to install code,
to show me (and you) that both code and electron34 are in the repos.

You should still just use
sudo pacman -Syu

electron32 either needs to go completely, or temporarily at least, so the update can go through

pacman -Syuw only fetches the packages but doesn’t install them - I wanted to use it to download the code package to have a look at it’s dependencies - but the command itself was enough already to see that.

Solved, thank you! I somehow got it in my head that saying electron 32 was a dependency for code meant it was needed for the OS. I’m too used to calling Code, Visual Studio.

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