This forum will soon be archived and you won't be able to interact with it anymore. Please use KDE Discuss instead.
Reply to topic

KWallet broke after updates

simonblandford
Registered Member
Posts
6
Karma
0

KWallet broke after updates

Tue Jan 17, 2023 8:34 am
After installing the KDE updates today and rebooting I found that Chrome is not showing any passwords and I have to re-type my SSH key password on every login. The KDE Wallet Manager shows a blank screen.

The wallet-related upgrade in /var/log/apt/history.log is:
Code: Select all
libkwalletbackend5-5:amd64 (5.101.0-0xneon+22.04+jammy+release+build19, 5.102.0-0xneon+22.04+jammy+release+build20)
libkf5wallet-data:amd64 (5.101.0-0xneon+22.04+jammy+release+build19, 5.102.0-0xneon+22.04+jammy+release+build20)
libkf5wallet5:amd64 (5.101.0-0xneon+22.04+jammy+release+build19, 5.102.0-0xneon+22.04+jammy+release+build20)
signon-kwallet-extension:amd64 (4:22.12.0-0xneon+22.04+jammy+release+build11, 4:22.12.1-0xneon+22.04+jammy+release+build12)
kwalletmanager:amd64 (4:22.12.0-0xneon+22.04+jammy+release+build11, 4:22.12.1-0xneon+22.04+jammy+release+build12)
libpam-kwallet5:amd64 (4:5.26.4-0xneon+22.04+jammy+release+build12, 4:5.26.5-0xneon+22.04+jammy+release+build14)
libpam-kwallet-common:amd64 (4:5.26.4-0xneon+22.04+jammy+release+build12, 4:5.26.5-0xneon+22.04+jammy+release+build14)


When starting Chrome from the command line I get:
Code: Select all
[8215:8215:0117/082246.824898:ERROR:password_sync_bridge.cc(1040)] Passwords datatype error was encountered: Failed to get encryption key during database cleanup.


When starting the Wallet Manager on the command line I get:
Code: Select all
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kwalletd5 was not provided by any .service files")
carlosdem
Registered Member
Posts
10
Karma
0

Re: KWallet broke after updates

Tue Jan 17, 2023 8:48 am
those package numbers seem odd. kwallet packages are already at kwallet-kf5_5.102.0-0xneon+22.04+jammy+release+build20_amd64.buildinfo in release. see https://build.neon.kde.org/job/jammy_re ... _amd64/20/ ..... try and upgrade again.
simonblandford
Registered Member
Posts
6
Karma
0

Re: KWallet broke after updates

Tue Jan 17, 2023 9:34 am
I just ran pkcon refresh and pkcon update again but no packages changed.

I also tried regressing and pinning any package with the word "wallet" in the name to the previous version shown in apt-cache policy <package> but this didn't fix the problem.

Update: It seems today's update removed a package, according to the apt history.log:
Code: Select all
Remove: libkf5wallet-bin:amd64 (5.101.0-0xneon+22.04+jammy+release+build19)
End-Date: 2023-01-17  07:59:43


Trying to re-install this reports a dependency problem:
Code: Select all
The following packages have unmet dependencies.
 libkf5wallet-bin : Depends: libqca-qt5-2 (>= 2.3.5) but 2.3.4-1build1 is to be installed


This is a similar issue to this bug report:
https://www.mail-archive.com/kde-bugs-d ... 01744.html

There is a file, /etc/apt/preferences.d/98-jammy-overrides, which I assume is supposed to be there, which pins ibqca-qt5 in the following way...

Code: Select all
Package: libqca-qt5-2
Pin: release o=Ubuntu
Pin-Priority: 1100


As far as I can tell ibqca-qt5-2 version 2.3.5 is only available in Debian Sid.

I will see if I can force an upgrade of libqca-qt5-2.
simonblandford
Registered Member
Posts
6
Karma
0

Re: KWallet broke after updates

Tue Jan 17, 2023 10:35 am
OK. Found the problem. It is related to this bug:
https://www.mail-archive.com/kde-bugs-d ... 65511.html

I did indeed have both 98-jammy-overrides and 99-jammy-overrides
98-jammy-overrides was pinning libqca-qt5 to an old version.

The solution is to delete /etc/apt/preferences.d/98-jammy-overrides and re-run the software updater.
rickispp
Registered Member
Posts
1
Karma
0

Re: KWallet broke after updates

Tue Jan 24, 2023 3:19 pm
I found this bug: https://www.mail-archive.com/kde-bugs-d ... 60526.html

After manually installing the libkf5wallet-bin package, kwallet works again in my case.
tamtamhero
Registered Member
Posts
1
Karma
0

Re: KWallet broke after updates

Thu Jan 26, 2023 5:16 pm
Happened to me as well, thanks for figuring out a solution !
To summarize:
Code: Select all
sudo rm /etc/apt/preferences.d/98-jammy-overrides
Then run
Code: Select all
pkcon update
AND re-install missing package
Code: Select all
libkf5wallet-bin
(I forgot this last step)
sandrol
Registered Member
Posts
3
Karma
0

Re: KWallet broke after updates

Wed Feb 22, 2023 9:44 am
Thank you @tamtamhero for your instructions.

If it helps someone like me finding this solution. The last step (reinstalling the missing package) is done by
Code: Select all
pkcon install libkf5wallet-bin


after that it works again ;D

 
Reply to topic

Bookmarks



Who is online

Registered users: 3nko, Bing [Bot], Google [Bot], kde-emerald, Sogou [Bot], Will_S., Yahoo [Bot]