Hi,
I cannot add remove or update software. When I run the below in terminal I get this:
~ >>> sudo pacman -Syu
[sudo] password for jarrod:
warning: config file /etc/pacman.conf, line 20: directive 'SyncFirst' in section 'options' not recognized.
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
TROMrepo 0.0 B 0.00 B/s 00:01 [######################] 100%
chaotic-aur 628.5 KiB 187 KiB/s 00:03 [######################] 100%
:: Starting full system upgrade...
warning: appimagelauncher: local (2.2.0-10) is newer than chaotic-aur (2.2.0-9)
warning: easystroke: local (0.6.0-24.4) is newer than chaotic-aur (0.6.0-24.1)
:: Replace lib32-libva-mesa-driver with multilib/lib32-mesa? [Y/n] y
:: Replace lib32-mesa-vdpau with multilib/lib32-mesa? [Y/n] y
:: Replace libva-mesa-driver with extra/mesa? [Y/n] y
:: Replace mesa-vdpau with extra/mesa? [Y/n] y
:: Replace p7zip with extra/7zip? [Y/n] y
warning: qt5gtk2: local (1.0-8) is newer than TROMrepo (1.0-3)
:: Replace sdl2 with extra/sdl2-compat? [Y/n] y
:: Replace tracker3 with extra/tinysparql? [Y/n] y
:: Replace webrtc-audio-processing with extra/webrtc-audio-processing-0.3? [Y/n] y
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): 2
:: There are 3 providers available for phonon-qt6-backend:
:: Repository extra
1) phonon-qt6-mpv 2) phonon-qt6-vlc
:: Repository chaotic-aur
3) phonon-qt6-gstreamer-git
Enter a number (default=1): 3
looking for conflicting packages...
warning: removing 'gtkhash-1.5-3.3' from target list because it conflicts with 'gtkhash-thunar-1.5-3.3'
:: gtkhash-thunar-1.5-3.3 and gtkhash-1.5-3 are in conflict. Remove gtkhash? [y/N] y
:: nodejs-23.11.1-1 and nodejs-lts-hydrogen-18.20.4-1 are in conflict. Remove nodejs-lts-hydrogen? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron28
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron28
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron28
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by electron28
:: 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
I followed the instruction on the link. I manually found the folder: filesystem/etc/pacman.d then right clicked and edited as root adding the new address.
When I refresh database in add/remove I get the following error:
āerror failed to prepare transactionā
āFailed to generate wordnet-common informationā
I managed to remove many conflicts for sdl and gtkhash and I am now stuck on nodejs.
Adventure below:
Checking inter-conflicts...
Warning: removing 'sdl2-2.32.8-1' from target list because it conflicts with 'sdl2-compat-2.32.56-1'
Warning: removing 'nodejs-24.2.0-1' from target list because it conflicts with 'nodejs-lts-iron-20.19.2-1'
Warning: removing 'gtkhash-1.5-3.3' from target list because it conflicts with 'gtkhash-thunar-1.5-3.3'
Error: unresolvable package conflicts detected
Failed to prepare transaction:
conflicting dependencies:
In add/remove I searched for nodejs then selected the relevant file and that led to another conflict and another and so on. Until the transaction was successful. Code below:
Preparing...
Checking dependencies...
Failed to prepare transaction:
could not satisfy dependencies:
- removing nodejs-lts-hydrogen breaks dependency 'nodejs' required by node-gyp
Preparing...
Checking dependencies...
Failed to prepare transaction:
could not satisfy dependencies:
- removing nodejs-lts-hydrogen breaks dependency 'nodejs' required by nodejs-nopt
- removing node-gyp breaks dependency 'node-gyp' required by npm
Preparing...
Checking dependencies...
Failed to prepare transaction:
could not satisfy dependencies:
- removing node-gyp breaks dependency 'node-gyp' required by npm
Preparing...
Checking dependencies...
Warning: nodejs-lts-hydrogen optionally requires npm: nodejs package manager
Running pre-transaction hooks...
Refreshing the chaotic-aur keyring...
warning: config file /etc/pacman.conf, line 20: directive 'SyncFirst' in section 'options' not recognized.
==> Appending keys from chaotic.gpg...
gpg: invalid size of lockfile '/etc/pacman.d/gnupg/pubring.gpg.lock'
gpg: cannot read lockfile
gpg: can't lock '/etc/pacman.d/gnupg/pubring.gpg'
gpg: key 57F3D9CC660431DD: public key not found: General error
gpg: error reading '/usr/share/pacman/keyrings/chaotic.gpg': General error
gpg: import from '/usr/share/pacman/keyrings/chaotic.gpg' failed: General error
==> Locally signing trusted keys in keyring...
-> Locally signed 1 key.
==> Importing owner trust values...
==> Updating trust database...
gpg: next trustdb check due at 2025-07-01
Removing npm (10.8.3-1)...
Removing node-gyp (10.2.0-1)...
Removing semver (7.6.3-1)...
Removing nodejs-nopt (7.2.0-2)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Transaction successfully finished.
nodejs iron conflict is now resolved however I now have a nodejs hydrogen (older release) conflict and I cannot see how to uninstall it in add/remove.
Warning: removing 'nodejs-24.2.0-1' from target list because it conflicts with 'nodejs-lts-hydrogen-18.12.0-2'
I then added hyrdogen from add/remove so that I could remove it and I did remove it but I still have the same error and also this error below:
conflicting dependencies:
\96ß¾b\95h\B4\C0\9E
\F8q and L\A1N\BDMF\AA6̰\FAq are in conflict
Thank you for the details. Weird that you got so many dependencies errors. Cant you just install nodejs-lts-iron and at the same time remove 'nodejs-lts-hydrogen ? Select both and try to apply.
Resolving dependencies...
Checking inter-conflicts...
Warning: removing 'nodejs-24.2.0-1' from target list because it conflicts with 'nodejs-lts-hydrogen-18.12.0-2'
Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'nodejs>=20.17.0' required by npm
Transaction cancelled.
I can install versions of node through terminal using nvm.
I installed 18.12, 20.17, 22, 24 etc and then uninstalled them and then I made sure there was no versions left on my computer through nvm.
to remove nvm i deleted a folder in /var/tmp/pamac-build-jarrod/npm
the internet mentioned to edit a bashfile but i didnt have luck working that out.
I still get them same dependency error. What else can I do, do i need to do a clean install?
I cleared some caches in preferences of add/remove.
could not satisfy dependencies:
- unable to satisfy dependency 'libicui18n.so=75-64' required by electron28
- unable to satisfy dependency 'libicuuc.so=75-64' required by electron28
- unable to satisfy dependency 'libFLAC.so=12-64' required by electron28
- unable to satisfy dependency 'nodejs>=20.17.0' required by npm
Make sure you remove all electron versions that are not needed. It usually creates a lot of conflicts. They are installed because of whatever apps you have installed.
waiting for another package manager to quit
Should go away after some time especially after a reboot. Try to clear the cache for packages from the Add/Remove menu. Also try the terminal with pamac update . I would say it is overkill to reinstall tromjaro again.
I would also suggest removing unwanted Electron versions from your system, based on your initial post that seems to be triggering these conflicts. Also take note of the pacman -Qdt command which will list unwanted programs on your system which are usually safe to remove, these are programs that were previously installed as dependencies but are not needed anymore because the program that depended on it was either uninstalled or donāt require it as a dependency anymore - also note that manually installed programs would never get listed by that command.
This usually happens when pamac is running in the background checking for updates, it creates a lock file at /var/lib/pacman/db.lck to prevent other package managers from trying to alter the package database at the same time. If pacman or pamac is interrupted while changing the database, this stale lock file can remain. When you killed the pamac backgroud process that might have left the database lock file in place without giving pamac a change to remove it. If you are certain that no instances of pacman or pamac are currently running in the background then delete the lock file:
sudo rm /var/lib/pacman/db.lck
Then you should be able to run pacman and pamac like normal again.
The conflicts maybe resolved and now Iām up to a keyring error.
I think its from not updating in so long (be over 6 months).
Iāll continue to follow some articles and this were Iām up to when i try sudo pamac -Syy
Total (874/874) 2.6 GiB 3.24 MiB/s 13:34 [######################] 100%
(874/874) checking keys in keyring [######################] 100%
downloading required keysā¦
:: Import PGP key 349BC7808577C592, āGaruda Builder team@garudalinux.orgā? [Y/n] y
error: key ā349BC7808577C592ā could not be looked up remotely
:: Import PGP key 3A40CB5E7E5CBC30, āGaruda Builder team@garudalinux.orgā? [Y/n] y
error: key ā3A40CB5E7E5CBC30ā could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
That is surprising because this command should only list dependencies that are no longer required (not even optionally) by any other packages, and like I said it wonāt list any packages that you have manually installed on your own. I wonder if pamac wrongly flags packages as dependencies or something, or else I donāt know how this could list out packages you actually need. Can you show me the output of that command on your system? On my personal system it lists these packages:
I have done many keyring stuff and will need to keep trying.
This link is a little tricky for me to understand but will keep trying.
when i run pacman -Syu I get this
(839/839) checking keys in keyring [######################] 100%
(839/839) checking package integrity [######################] 100%
error: appmenu-glib-translator-git: signature from "TNE <tne@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/appmenu-glib-translator-git-25.04.r4.gc172702-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]