kubuntu: after dist-upgrade powerdevil unable to launch

Bug #1464924 reported by Florian Hänel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerdevil (Ubuntu)
New
Undecided
Unassigned

Bug Description

Installed from wily-desktop-amd64.iso downloaded May 15
sha1 88cef72a46dd88341ea65a5d3bd8740c77d97ab5
md5 cb7ff9362b820806213ea92990f8dc15

At first power management works.
After I did a dist-upgrade I got the following dependency errors:

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libkf5package5 : Depends: libkf5package-data (= 5.10.0-0ubuntu1) but it is not installed
                  Recommends: kpackagetool5 (>= 5.10.0-0ubuntu1) but 5.9.0-0ubuntu1 is installed
 libkf5su5 : Depends: libkf5su-data (= 5.10.0-0ubuntu1) but it is not installed
E: Unmet dependencies. Try using -f.

Then, after doing install -f, powerdevil fails to launch. I am unable to use the energy savings panel.

I get some errors in .xsession-errors:

Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_kwrited'.
Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_kwrited: (/usr/lib/x86_64-linux-gnu/libkdeinit5_kwrited.so: cannot open shared object file: No such file or directory)kf5.kded: Could not load kded module "powerdevil":"The shared library was not found." (library path was:"powerdevil")

But I am not sure if all of them are related.

I upgraded with deb http://ppa.launchpad.net/kubuntu-ppa/next-stage2/ubuntu wily main and the error persists.

I was able to reproduce this again after a fresh install.

Revision history for this message
Florian Hänel (heeen) wrote :
Download full text (4.5 KiB)

using strace I am able to see that kded5 eventually looks at powerdevil in the right location, but still does not load it:

[~] # strace -p $(pidof kded5) -s 200 -f 2>&1 | grep power
[pid 1277] recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"l\1\0\1\17\0\0\0001\0\0\0n\0\0\0\1\1o\0\5\0\0\0/kded\0\0\0\6\1s\0\r\0\0\0org.kde.kded5\0\0\0\2\1s\0\r\0\0\0org.kde.kded5\0\0\0\3\1s\0\n\
0\0\0loadModule\0\0\0\0\0\0\10\1g\0\1s\0\0\7\1s\0\5\0\0\0:1.79\0\0\0\n\0\0\0powerdevil\0", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 143
[pid 1277] stat(".//kf5/kded/powerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//kf5/kded/powerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//kf5/kded/libpowerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//kf5/kded/libpowerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/powerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/powerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/libpowerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/libpowerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/kf5/kded/powerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/kf5/kded/powerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/kf5/kded/libpowerdevil", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/kf5/kded/libpowerdevil.so", 0x7ffcd719b7f0) = -1 ENOENT (No such file or directory)
[pid 1277] write(2, "kf5.kded: kded module \"powerdevil\" still uses .desktop files (\"kded/powerdevil.desktop\"). Please port it to JSON metadata.\n", 123) = 123
[pid 1277] stat(".//powerdevil", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//powerdevil.so", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//libpowerdevil", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat(".//libpowerdevil.so", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/powerdevil", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/powerdevil.so", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/libpowerdevil", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/lib/x86_64-linux-gnu/qt5/plugins/libpowerdevil.so", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/powerdevil", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr/bin/powerdevil.so", 0x7ffcd719b890) = -1 ENOENT (No such file or directory)
[pid 1277] stat("/usr...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.