This forum has been archived. All content is frozen. Please use KDE Discuss instead.

DBus can't start kwalletd/not provided by any .service files

Tags: None
(comma "," separated)
Drizzt321
Registered Member
Posts
29
Karma
0
So after a recent full system update on KDE Neon, it started asking me for the password for stuff like previously connected WiFi network and such. When I was doing an svn update, I found out why, I'm getting the following error on the CLI

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")


Anyone know why I might be getting this? How to fix it? It was working perfectly fine before, when I first installed and for quite a while.
splav
Registered Member
Posts
1
Karma
0
Drizzt321
Registered Member
Posts
29
Karma
0
splav wrote:Hi!
I had similar issue. Here is the solution: https://bugs.kde.org/show_bug.cgi?id=418598#c21


This didn't help out at all, I already have the current jammy (22.04) libqca-qt5-2 library, 2.3.4-1build1, as per https://packages.ubuntu.com/search?keywords=libqca-qt5-2&searchon=names&suite=jammy&section=all and my dpkg

Code: Select all
dpkg -l | grep qca
ii  libqca-qt5-2:amd64                            2.3.4-1build1                                  amd64        libraries for the Qt Cryptographic Architecture
ii  libqca-qt5-2-plugins:amd64                    2.3.4-1build1                                  amd64        QCA plugins for libqca2


So must be something else. It seems like it's a problem with kwalletd, or with QDBus .service files not finding a kwalletd service to connect with.
Drizzt321
Registered Member
Posts
29
Karma
0
So looking into it further, I think it's that the DBus name has changed *facepalm*

I think it's kwalletmanager5 now, but some things are still setup expecting org.kde.kwalletd5

Code: Select all
/usr/share/dbus-1/services$ cat org.kde.kwalletmanager5.service
[D-BUS Service]
Name=org.kde.kwalletmanager5
Exec=/usr/bin/kwalletmanager5


When I add a new file with that name, even after I restart, doesn't work :(

Code: Select all
/usr/share/dbus-1/services$ cat org.kde.kwalletd5
[D-BUS Service]
Name=org.kde.kwalletd5
Exec=/usr/bin/kwalletmanager5


When I try and call the service with qdbus CLI, still doesn't work, although org.kde.kwalletmanager5 does.

Code: Select all
$ qdbus org.kde.kwalletd5
Service 'org.kde.kwalletd5' does not exist.
$ qdbus org.kde.kwalletmanager5
/
/MainApplication
/org
/org/kde
/org/kde/kwalletmanager5
Drizzt321
Registered Member
Posts
29
Karma
0
Ok, figured out that /usr/bin/kwalletd5 doesn't exist, I don't have `libqca-qt5-2` installed. When I try to, apparently it _is_ the `libeqca-qt5` version. The version installed/available is older than what is required.

Code: Select all
libkf5wallet-bin: Depends: libqca-qt5-2 (>= 2.3.5) but 2.3.4-1build1 is to be installed


Looks like it is indeed some kind of pinning issue. Based on the showpkg, looks like it's pulling the one from `archive.ubuntu.com`, which is the primary repo in the /etc/apt/sources.list file.

Once I commented out the `libqca-qt5-2` related pins in /etc/apt/preferences.d/98-jammy-overrides, which had `Pin: release o=Ubuntu`, then upgrading worked and installing `libkf5wallet-bin` went fine, and now everything is back to working, finally.

Code: Select all
# apt-cache showpkg libqca-qt5-2
Package: libqca-qt5-2
Versions:
2.3.5-1xneon+22.04+jammy+release+build2 (/var/lib/apt/lists/archive.neon.kde.org_user_dists_jammy_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_binary-amd64_Packages
                  MD5: e6821571ac9f35265d4086f952b5ec4a
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_i18n_Translation-en
                  MD5: e6821571ac9f35265d4086f952b5ec4a
 Description Language:
                 File: /var/lib/apt/lists/archive.neon.kde.org_user_dists_jammy_main_binary-amd64_Packages
                  MD5: e6821571ac9f35265d4086f952b5ec4a

2.3.4-1build1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_binary-amd64_Packages
                  MD5: e6821571ac9f35265d4086f952b5ec4a
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_i18n_Translation-en
                  MD5: e6821571ac9f35265d4086f952b5ec4a
 Description Language:
                 File: /var/lib/apt/lists/archive.neon.kde.org_user_dists_jammy_main_binary-amd64_Packages
                  MD5: e6821571ac9f35265d4086f952b5ec4a


Reverse Depends:
****  SNIP  ****

Dependencies:
2.3.5-1xneon+22.04+jammy+release+build2 - libc6 (2 2.14) libgcc-s1 (2 3.0) libqt5core5a (2 5.15.7+p22.04+tunstable+git20221210.0026) libstdc++6 (2 5.2) ca-certificates (0 (null)) libqca-qt5-2-plugins (0 (null))
2.3.4-1build1 - libc6 (2 2.14) libgcc-s1 (2 3.0) libqt5core5a (2 5.15.1) libstdc++6 (2 5.2) ca-certificates (0 (null)) libqca-qt5-2-plugins (0 (null))
Provides:
2.3.5-1xneon+22.04+jammy+release+build2 -
2.3.4-1build1 -
Reverse Provides:


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]