My Package Manager failed to update. I tried updating a few packages at a time, in the hopes that I’d be able to find out which bit wasn’t working. Updated quite a few, then it failed again. Then the Package Manager disappeared completely. Looking in the forum I have tried a few suggestions, but still failed to get things back to work. I can’t read pdfs, nor does Libreoffice open, along with several other apps, but some do open. Presumably those that use libxml2 fail, but…:
[katherine@katherine-labtop ~]$ sudo pacman -Syu
[sudo] password for katherine:
:: Synchronising package databases...
core is up to date
extra is up to date
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 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 electron33
:: installing libxml2 (2.14.3-1) breaks dependency libxml2.so=2-64 required by rest
That’s a bad idea, because it’s guaranteed to break your system.
Also, you are probably better off updating by way of pacman — not pamac — from within a tty environment, and rebooting right away after the process has finished.
For now, I will leave you with these two HowTos, hoping they may be of help…
I was able to remove electron32 and electron33 but when I tried to remove “rest” I got the message:
sudo pacman -R rest
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing rest breaks dependency 'rest' required by lib32-rest
I fear I’ve played too much with trying out different apps, which probably accounts for probably dormant, unnecessary dependencies - but Linux, in its various forms, is so much more fun Windows!
I think I tried that correctly, but obviously not completely correctly:
sudo pacman -R lib32-rest
[sudo] password for katherine:
checking dependencies...
Packages (1) lib32-rest-0.8.1-4
Total Removed Size: 0.13 MiB
:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing lib32-rest [######################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[katherine@katherine-labtop ~]$ sudo pacman -Syu
:: Synchronising package databases...
core is up to date
extra is up to date
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 libxml2 (2.14.3-1) breaks dependency libxml2.so=2-64 required by rest
Looks like things are happening now, but I’ve got a bit of waiting to do (currently at 11/505 - so I’m obviously a bit behind with my upgrades.
Thank you so much for your guidance.
Update has now finished, laptop restarted, and all is working! So thank you.
Sorry about the formatting - I copied the Terminal output using the “HTML” option, and pasted that, thinking that would do the job correctly!
There are so many ways one can be wrong! Challenge is to remember the right ways in future.