You are not logged in.
For whoever stumbling on this thread read post #20 and #23 thanks to that I was also able to clean a bunch of unwanted cruft in my system.
Last edited by whoscheckingin (2025-02-22 15:36:19)
Offline
dawalters wrote:To drill home what Scimmia has been saying, for the people who are having this issue with older electrons (28, 29, 30, 31), check that you use them for something:
pacman -Qi electron<version-you-want-to-check>
This will have a line saying "Required By:". Check that this doesn't say "None". If it says "None", it's probably because some other app that uses electron has moved to another version, and the old ones are left behind.
You can then remove them if they aren't used:sudo pacman -Rs electron<version-you-dont-need>
For example, `code` currently uses `electron32`. I suspect that it is probably the reason I had these older electrons installed.
Huge thanks for that explanation! And for registering to only post that helpful instruction.
Honestly, I don’t understand why spam the entire thread by comments that provide no real help for those who seek the solution of their issue. If I’m a novice, I may not understand how to properly check if the package required by any other one. At least a link to a proper section in the wiki would help much more than play this game with replying with one word of wisdom to others. I’m not a novice, yet I was unsure what to do here, since it’s my first time dealing with such an issue. I, too, thought that the orphans are removed automatically when they aren’t needed by any other package and I did not explicitly install them. I am surprised it’s an issue I should deal with.
Removing the unused old electrons helped me. In my case, they were installed by code, and were versions 28-30. I don’t remember installing them from AUR, more likely they were present in the repositories at some point and are no longer there.
The recommended Removing unused packages (orphans) command,
sudo pacman -Qdtq | sudo pacman -Rns -
returned a lot of packages marked as ‘optionally requires,’ e.g.
:: gegl optionally requires graphviz: for gegl-introspect :: gperftools optionally requires graphviz: pprof graph generation
Which I’m not sure whether I want to remove them or it’s better to leave them untouched.
In the wiki, as always, the information is obscure. The following note `The arguments -Qt list only true orphans.` is of no help, that’s not what one looks for when wants to remove only the orphans that aren’t needed anywhere. E.g. when I want to remove only the things that are not required at all, and not touch what is optionally required.
Man page makes it not clear to me either, so I guess I need to invest much more resources into that, if I’m looking to understand how to deal with this situation in the future. `-t` is a substitute for `--unrequired` which is
Restrict or filter output to print only packages neither required nor optionally required by any currently installed package. Specify this option twice to include packages which are optionally, but not directly, required by another package.
But if I do `sudo pacman -Qt`, that’s a lot of the packages that I use daily. So are they true orphans, really?
---
So, on the topic: explicitly removing only the electrons solved the issue for me, while the rest of the orphans is more likely just another topic to discuss.
And speaking of ‘unrelated issues,’ they look very related to me, all of them are broken with the update of icu. As all the packages strictly specify, they want the icu to be no newer than v.75. AUR or no AUR, it makes no difference here, I’d say. It rather specifies where you should look for updates, the official repository or not.
Saying all that, for me the solution looks like:
- either to wait for the repository maintainers to rebuild packages (so the issue will resolve itself)
- and/or remove your local packages that were in the repository when you installed them, but are no longer there (and in AUR now). If you don’t need them. As is the case for me, with the electron28,29,30. I see electron27,31,32,33,34 are in the repository.
- or if you cannot afford to remove the packages, rebuild them with the newer icu, right? (I don’t know how to properly do that, so no help from me here.)
"pacman -Qt" does not mean orphan at all, it means any packages not required (optional or otherwise) by any other packages, meaning they are independent of each other, that doesn't mean orphan, it means you can safely remove that package without having that package messing up another package. what you are looking for is "pacman -Qdt" which means packages that were installed as dependencies and are now no longer required by any packages (explicit or otherwise).
Offline
Thanks for the many helpful comments here;
I'm having same error , however electron29 still is required by Caprine; How to fix it then? Or are the only options to either remove Caprine / Wait until it's updated to use a more recent version?
Offline
I have no electron, but i have the error:
{25-02-23 10:57}asus-laptop:~ me% yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Packages not in AUR: js91
-> Missing AUR Debug Packages: sdl2-debug
:: 128 packages to upgrade/install.
... removed huge list...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source_x86_64 files with sha256sums...
rustdesk-1.3.8-x86_64.pkg.tar.zst ... Passed
:: (1/2) Parsing SRCINFO: rustdesk-bin
:: (2/2) Parsing SRCINFO: qt5-webkit
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by qt5-webkit
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by qt5-webkit
-> error installing repo packages
{25-02-23 10:57}asus-laptop:~ me%
Offline
You will need to remove qt5-webkit (and anything that depends on it) , perfrom the update and rebuild qt5-webkit against the new icu .
You have another issue in your setup :
community is up to date
You haven't looked at an important .pacnew file in 2 years, see https://archlinux.org/news/cleaning-up- … ositories/
Please start a new thread if you need more help.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
To drill home what Scimmia has been saying, for the people who are having this issue with older electrons (28, 29, 30, 31), check that you use them for something:
pacman -Qi electron<version-you-want-to-check>
This will have a line saying "Required By:". Check that this doesn't say "None". If it says "None", it's probably because some other app that uses electron has moved to another version, and the old ones are left behind.
You can then remove them if they aren't used:sudo pacman -Rs electron<version-you-dont-need>
For example, `code` currently uses `electron32`. I suspect that it is probably the reason I had these older electrons installed.
Many thanks for that. I'd been puzzling over it for a couple of days.
Offline
I haven't bean messing with the pacman.conf but still got the error.
However my problems where solved by removing all versions of electron and a few apps.
:: Synchronising package databases...
core is up to date
extra 7.7 MiB 7.04 MiB/s 00:01 [--------] 100%
multilib is up to date
:: Starting full system upgrade...
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 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 icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron29
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron29
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron29
:: 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
sudo pacman -R electron{28,29,30,31,32,33} element-desktop obsidian
checking dependencies...
Packages (8) electron28-28.3.3-3 electron29-1:29.4.6-2
electron30-30.5.1-3 electron31-31.7.7-1
electron32-32.3.0-1 electron33-33.4.0-1
element-desktop-1.11.91-1 obsidian-1.8.4-2
Total Removed Size: 1463.31 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/8) removing obsidian [--------] 100%
(2/8) removing element-desktop [--------] 100%
(3/8) removing electron33 [--------] 100%
(4/8) removing electron32 [--------] 100%
(5/8) removing electron31 [--------] 100%
(6/8) removing electron30 [--------] 100%
(7/8) removing electron29 [--------] 100%
(8/8) removing electron28 [--------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
After that updating worked as expected. Got KiCAD version 9!
Offline
To drill home what Scimmia has been saying, for the people who are having this issue with older electrons (28, 29, 30, 31), check that you use them for something:
pacman -Qi electron<version-you-want-to-check>
This will have a line saying "Required By:". Check that this doesn't say "None". If it says "None", it's probably because some other app that uses electron has moved to another version, and the old ones are left behind.
You can then remove them if they aren't used:sudo pacman -Rs electron<version-you-dont-need>
For example, `code` currently uses `electron32`. I suspect that it is probably the reason I had these older electrons installed.
Made an account so that I could personally thank you for this post
Offline
Mod note: since the topic is nothing more than 'me too' at this point, I'll close it now.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline