Unable to log in after update

The log in window says I should change the current theme. I opened a terminal window on a usb live and I should set the Themes to breeze and there is an error I am unable to solve. It says:
plasma-apply-lookandfeel: symbol lookup error: /usb/lib/libKF6IconThemes.so.6: undefined symbol: _ZN19KColorSchemeManager8instanceEv

This is the problem… how can I solve it?
If I can’t solve it I should be thinking of reinstalling. That seems to
be the only way…it’ s silly it happened because I upgraded manjaro

Hmm, we had some similar before: Symbol lookup error

Well I have plenty of AUR git packages.

bluez-tools-git r127.gf653217-2 AUR 270.9 kB
git 2.46.1-1 extra 29.4 MB
karchive-git 6.5.0_r797.g827cab1-1 AUR 1.2 MB
kauth-git 6.5.0_r686.g98de44c-1 AUR 790.9 kB
kcodecs-git 6.5.0_r620.g3f6f974-1 AUR 1.1 MB
kcolorscheme-git 6.5.0_r227.g87a88f9-1 AUR 442.0 kB
kconfig-git 6.5.0_r1408.g4f20d5ca-1 AUR 3.9 MB
kcoreaddons-git 6.5.0_r2080.g3d347776-1 AUR 3.4 MB
kdeclarative-git 6.5.0_r1322.g275d08c5-1 AUR 908.3 kB
kglobalaccel-git 6.5.0_r781.g5f3432e-1 AUR 532.5 kB
kguiaddons-git 6.5.0_r609.g4c0d220-1 AUR 826.4 kB
ki18n-git 6.5.0_r758.g6747db6-1 AUR 18.7 MB
kirigami-git 6.5.0_r4620.gb97fa382-1 AUR 5.0 MB
kitemviews-git 6.5.0_r562.gd6d0f6c-1 AUR 817.6 kB
knotifications-git 6.5.0_r999.ga730d38-1 AUR 725.3 kB
ksvg-git r5198.5ed58342-1 AUR 825.3 kB
kwidgetsaddons-git 6.5.0_r1397.g5d8e84bd-1 AUR 8.5 MB
kwindowsystem-git 6.5.0_r1062.g1a1e7f5-1 AUR 1.9 MB
polkit-qt6-git 0.200.0.r1.ge01dc18-1 AUR 363.8 kB
rofi-bluetooth-git r33.9d91c04-2 AUR 42.9 kB
slowrx-git r132.ca6d701-1 AUR 136.6 kB
solid-git 6.5.0_r1062.gad562b24-1 AUR 2.9 MB
upower-git 1.90.6.r0.g94c91f9-1 AUR 1.1 MB
vlsub-git 0.10.2.r26.g3d1998f-1 AUR 175.1 kB

Those are not official repository gits… should I remove all AUR gits?
I tried replacing kcolorsceme-git but:

pacman -R kcolorscheme-git
checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by ark
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by breeze
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by dolphin
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by elisa
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by frameworkintegration
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kasts
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kate
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kcalc
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kconfigwidgets
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kde-gtk-config
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kiconthemes
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kio
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by konqueror
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by konsole
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by ksvg-git
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by ksystemlog
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by ktexteditor
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by ktextwidgets
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kwallet
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kwin
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by kxmlgui
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by libkdegames
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by libplasma
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by okular
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by oxygen
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by partitionmanager
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by plasma-integration
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by plasma-nm
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by plasma-workspace
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by qqc2-breeze-style
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by qqc2-desktop-style
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by systemsettings
:: removing kcolorscheme-git breaks dependency ‘kcolorscheme’ required by yakuake

Seems you have the older 6.5.0 framework mixed with the newer 6.6.0 from the official repos. That might create your issues. Remove the AUR pkgs.

I cannot remove them all. And the problem seems to be kcolorscheme.

kcolorscheme is a required dependency of many KDE apps. What you need to do is replace the AUR versions with the versions from Manjaro’s repositories.

You can make a list with pacman -Q | grep '-git' > list.txt. Then clean that list up with packages not part of KDE frameworks. Then you can do a sudo pacman -Rdd $(cat list.txt) to remove those packages. Then edit the list and remove -git from the names and do a sudo pacman -S $(cat list-without-git-suffix.txt).

1 Like

I tried this command but…

-Q | grep ‘kcolorscheme-git’ > list.txt
bash: -Q: command not found

Because kcolorscheme-git is the problem
or have I not undertood what you meant?
I should make a list with :

`-Q | grep '-git" > list.txt

and then clean this list… and how do I clean it?

Please help me. The alternative solution is to reinstall but then I would lose many files I haven’t saved

Firstly, you keep missing the pacman command name which is why you get an error about -Q. Secondly, because the pattern given to grep starts with a - it confuses things, but you can use -- to tell grep to stop expecting options, so the command to run is (probably) more like

 pacman -Q | grep -- '-git' > list.txt

Thank You… I do it and this is what I get… what am I supposed to do then?

[manjaro /]# pacman -Q | grep - - ‘-git’ > list.txt
[manjaro /]# pacman -Q | grep - - ‘kcolorscheme-git’ > list.txt
[manjaro /]#

no list appears after that

The list is inside the text file called list.txt - that is what the redirection by > means.

I think that you only want the results of the first command (and the second one will have overwritten the file, so you need to run the first command again). I think the suggestion is then to run

 sudo pacman -Rdd $(cat list.txt)

which (according to the pacman man page) will remove the things listed in list.txt without considering dependencies. A cautious person would at the very least look at the list.txt file first to see if it seems reasonable - that is, it looks like a list of installed things which have -git in their name.

The suggestion then is to install the correct versions of these things by editing the list and remove -git from the names (that is, using a text editor to edit the list.txt file you created and saving as a new name, such as list-without-git-suffix.txt) and do a sudo pacman -S $(cat list-without-git-suffix.txt) .

This is just me breaking down the previous post a bit :slight_smile: I’m not adding any new information.

EDIT:

@chicho1704

and note that you seem to have added an unwanted space between the two - in your command. You have

pacman -Q | grep - - ‘-git’ > list.txt
but I had
pacman -Q | grep -- '-git' > list.txt

1 Like

the list doesn’t “appear
the list IS the contents of that text file
that command writes it’s output to that file

you can see it/display it by:
cat list.txt
or
less list.txt
or use any editor of your choice to open it and read it



leave out the last part > list.txt
and the list will “appear” on your screen
but then you won’t have a file containing that list

1 Like

Ok I am able to open and read it but don’t know how to modify it. I have to replace all -git files with files witout git… and cannot do it. I tried it with nano but it did not work

Why would you even want to?

… no need to do that - mine and @Phemisters idea … was just the explanation for how the contents of that file are created

that is the purpose and practical application of creating that file

… to easily and, so to say, with one fell swoop, remove all these …

You can read it - or not -
the contents will be all the things that need to be removed.
It is used as the input for the command:
sudo pacman -Rdd

ok… I did it and got this:

sudo pacman -Rdd $(cat list.txt)
sudo: unable to find terminal name for device 136, 2
error: target not found: 6.5.0_r797.g827cab1-1
error: target not found: 6.5.0_r686.g98de44c-1
error: target not found: 6.5.0_r620.g3f6f974-1
error: target not found: 6.5.0_r227.g87a88f9-1
error: target not found: 6.5.0_r1408.g4f20d5ca-1
error: target not found: 6.5.0_r2080.g3d347776-1
error: target not found: 6.5.0_r1322.g275d08c5-1
error: target not found: 6.5.0_r781.g5f3432e-1
error: target not found: 6.5.0_r609.g4c0d220-1
error: target not found: 6.5.0_r758.g6747db6-1
error: target not found: 6.5.0_r4620.gb97fa382-1
error: target not found: 6.5.0_r562.gd6d0f6c-1
error: target not found: 6.5.0_r999.ga730d38-1
error: target not found: r5198.5ed58342-1
error: target not found: 6.5.0_r1397.g5d8e84bd-1
error: target not found: 6.5.0_r1062.g1a1e7f5-1
error: target not found: 0.200.0.r1.ge01dc18-1
error: target not found: 6.5.0_r1062.gad562b24-1
error: target not found: 1.90.6.r0.g94c91f9-1

is it now done?

@philm had a final step

Then edit the list and remove -git from the names and do a sudo pacman -S $(cat list-without-git-suffix.txt) .

I’m not sure I understand how editing a text file with nano failed. And it doesn’t have to be nano - any text editor will do.

Have you checked the file looks sensible? Do all of the lines end with -git? At least, I think that is the expectation. I don’t think we want lines with -git in the middle of the name :slight_smile:

Anyway, you can do the edit on the command line with sed, something like this:

sed -e 's/-git$//' list.txt >list-without-git-suffix.txt

And a cautious person would check the new file looks sensible (using cat or less as suggested by @Nachlese) before running the pacman command.

ok… I did it and got this

Maybe you want to share what was actually in your list.txt.

no

what is the contents of that file?

Perhaps the command @philm gave was not … proper. :man_shrugging:
(to feed that list to the command)

this what I get now that i reopened list.txt:

karchive-git 6.5.0_r797.g827cab1-1
kauth-git 6.5.0_r686.g98de44c-1
kcodecs-git 6.5.0_r620.g3f6f974-1
kcolorscheme-git 6.5.0_r227.g87a88f9-1
kconfig-git 6.5.0_r1408.g4f20d5ca-1
kcoreaddons-git 6.5.0_r2080.g3d347776-1
kdeclarative-git 6.5.0_r1322.g275d08c5-1
kglobalaccel-git 6.5.0_r781.g5f3432e-1
kguiaddons-git 6.5.0_r609.g4c0d220-1
ki18n-git 6.5.0_r758.g6747db6-1
kirigami-git 6.5.0_r4620.gb97fa382-1
kitemviews-git 6.5.0_r562.gd6d0f6c-1
knotifications-git 6.5.0_r999.ga730d38-1
ksvg-git r5198.5ed58342-1
kwidgetsaddons-git 6.5.0_r1397.g5d8e84bd-1
kwindowsystem-git 6.5.0_r1062.g1a1e7f5-1
polkit-qt6-git 0.200.0.r1.ge01dc18-1
solid-git 6.5.0_r1062.gad562b24-1
upower-git 1.90.6.r0.g94c91f9-1

I mean it should have been erased, but it wasn’t

cat list.txt
karchive-git 6.5.0_r797.g827cab1-1
kauth-git 6.5.0_r686.g98de44c-1
kcodecs-git 6.5.0_r620.g3f6f974-1
kcolorscheme-git 6.5.0_r227.g87a88f9-1
kconfig-git 6.5.0_r1408.g4f20d5ca-1
kcoreaddons-git 6.5.0_r2080.g3d347776-1
kdeclarative-git 6.5.0_r1322.g275d08c5-1
kglobalaccel-git 6.5.0_r781.g5f3432e-1
kguiaddons-git 6.5.0_r609.g4c0d220-1
ki18n-git 6.5.0_r758.g6747db6-1
kirigami-git 6.5.0_r4620.gb97fa382-1
kitemviews-git 6.5.0_r562.gd6d0f6c-1
knotifications-git 6.5.0_r999.ga730d38-1
ksvg-git r5198.5ed58342-1
kwidgetsaddons-git 6.5.0_r1397.g5d8e84bd-1
kwindowsystem-git 6.5.0_r1062.g1a1e7f5-1
polkit-qt6-git 0.200.0.r1.ge01dc18-1
solid-git 6.5.0_r1062.gad562b24-1
upower-git 1.90.6.r0.g94c91f9-1

I erased everything using nano and it just doesn’t work… What’s actually wrong? I also used the erasing command line suggested and it didn’t work either

We don’t want the version numbers so the command to create the list should probably be

pacman -Qq | grep -- '-git' > list.txt

EDIT:

It would be very helpful if instead of

I also used the erasing command line suggested and it didn’t work either

you actually showed the commands you were running and the output.

EDIT 2:

The sed command I gave assumed the -git was at the very end of the line, but of course you had version numbers after the -git. It should work if you recreate the list without version numbers using the command above with the -Qq.

exactly - we only need the names of the packages
nothing else
one per line
not a second entry (after the space) version number on the same line

This Arch wiki could be instructional.
this also goes to @chicho1704

The initial command to create the list was … not fit for purpose.

The easy way:
take the file
use the package name (sans the version info)
and remove one by one
… there are only like 15 rows

easier than to explain how to properly create that file so it could be directly used …