Hi.
Tried to update my system, but the update failed due to something like adw-gtk-theme and adw-gtk3 incompatibility.
I tried updating several packages separately and there were no errors. Turned off the computer.
The next time I turned on the computer there was only a black screen.
If you enter the console (Ctrl+Alt+F2) it shows an error.
flatpak: error while loading shared libraries: libappstream.so.4: cannot open shared object file: No such file or directory.
Tried these commands: sudo pacman-mirrors -f3 sudo pacman -Syyu
But the update does not happen and ends up with this error with ‘adw-gtk-theme’ ‘adw-gtk3’
Startx didn’t help either.
Some letters in the console are displayed as squares.
Now I can’t update and login to my system.
Can anyone tell me how to get out of this situation?
OS Linux 5.15.131-1-Manjaro
As a new user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit. To that end, some or all these links will be invaluable:
:: Updating package databases...
core downloading...
extra downloading...
community downloading...
multilib downloading...
:: A full system update is starting...
dependency resolution...
checking conflicts...
:: 'adw-gtk-theme' and 'adw-gtk3' conflict
The syntax is not quite right - the output wasn’t posted to 0x0.st and you did not get a link back
You should have gotten this error instead: curl: (26) Failed to open/read local data from file/application
By the way, I also thought that this would be an error and tried to put the correct symbol, but without any problems I received the link https://0x0.st/Xxiu.txt
’ - On this forum and in the console, this character appears as a comma.
But for example, in the browser line or in the terminal, this symbol looks normal.
I’ll probably manually type everything that’s written in my console.
> LANG=C sudo pacman -Syu | curl -F 'file=@-' https:0x0.st
[sudo] password for admin:
:: Replace adw-gtk3 with extra/adw-gtk-theme? [Y/n] y
:: Replace bashrc-manjaro with core/bash? [Y/n] y
:: Replace kauth with extra/kauth5? [Y/n] y
:: Replace kcoreaddons with extra/kcoreaddons5? [Y/n] y
:: Replace kitemmodels with extra/kitemmodels5? [Y/n] y
:: Replace manjaro-gdm-branding with extra/manjaro-gnome-settings? [Y/n] y
warning: nano-syntax-highlighting: local (2020.10.10+10+g1aa64a8-2) is newer than extra (2020.10.10-2)
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
https://0x0.st/Xx-t.txt
> LANG=C sudo pacman -Syu | curl --data-binary @- https://paste.rs
[sudo] password for admin:
:: Replace adw-gtk3 with extra/adw-gtk-theme? [Y/n] y
:: Replace bashrc-manjaro with core/bash? [Y/n] y
:: Replace kauth with extra/kauth5? [Y/n] y
:: Replace kcoreaddons with extra/kcoreaddons5? [Y/n] y
:: Replace kitemmodels with extra/kitemmodels5? [Y/n] y
:: Replace manjaro-gdm-branding with extra/manjaro-gnome-settings? [Y/n] y
warning: nano-syntax-highlighting: local (2020.10.10+10+g1aa64a8-2) is newer than extra (2020.10.10-2)
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
https://paste.rs/wbn4a
LANG=C sudo pacman -Syu | curl -F 'file=@-' https:0x0.st
instead of just LANG=C sudo pacman -Syu
Are you on a TTY?
I guess you are - black screen and all that …
You can redirect and record the output in a file - and then post the contents of that file.
Two possibilities come to mind:
script myupdaterecord
(this will start the script program and record everything that follows in the file myupdaterecord)
after that, start the command as usual:
LANG=C sudo pacman -Syu
When you are done - fail or not, when you are done recording … press CTRL+d - to end the script program, to end the recording
(else it will keep recording everything you do and type)
Then you have everything in that file myupdaterecord and can send it: cat myupdaterecord | curl -F 'file=@-' https://0x0.st
… or you can try:
sudo pacman -Syu | tee -a myupdaterecord
I don’t know which one will work better.
Probably script .
Why a different method?
because your current output doesn’t show what is conflicting with what - and why.
There is an error, but no explanation for it.
That info is usually shown - but it is visible not in your output.
Be careful and review the recorded file before you post it! - script will record everything, passwords included.
You likely don’t want to post that - edit the file first before you post it!
You could also chroot (manjaro-chroot -a)
Then you’d have a graphical environment and could easily copy/paste the output.
I’d say (speculation):
remove adw-gtk3 (as I don’t have it in my Gnome installation)
essentially: remove the source of the conflict
and then run the update again
None of that!
(works for a local installation, though
but then again:
the package manager wouldn’t know about it - and would not complain
like it clearly does …)
That is not how the package manager works!
Use the package manager!
Don’t just delete stuff without it (the package manager) knowing about it.
desist!
Use pacman -R ...
or even pacman -Rns ...
to remove it.
Be careful - look at what will be done.
It will be shown to you … before you commit to what is shown to you.
LANG=C sudo pacman -R adw-gtk3 | curl -F 'file@-' https://0x0.st
[sudo] password for admin:
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
451 Unavailable For Legal Reasons
Its a simple error of a simple problem that will have a simple fix … but we need to see it first.
PS
Somewhere in here a typo got introduced and this URL is malformed.
PPS
This is an entirely different error - likely from having pacman open/running multiple times at once (multiple TTYs?) or from somehow exiting it non-gracefully.