Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1037074: upower.service failed to start with exit-code

163 views
Skip to first unread message

Michael Müller

unread,
Jun 3, 2023, 7:40:04 AM6/3/23
to
Package: upower
Version: 0.99.20-2
Severity: normal
X-Debbugs-Cc: Tux...@web.de

Dear Maintainer,

upower.service fails to start by systemd.
systemd[1]: upower.service: Start request repeated too quickly.
systemd[1]: upower.service: Failed with result 'exit-code'.
systemd[1]: Failed to start upower.service - Daemon for power management.
Process: 7643 ExecStart=/usr/libexec/upowerd (code=exited, status=127)
Main PID: 7643 (code=exited, status=127)
CPU: 46ms

A direct execute brings this error:
/usr/libexec/upowerd: symbol lookup error: /usr/libexec/upowerd: undefined symbol: g_udev_device_get_sysfs_attr_uncached



-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages upower depends on:
ii dbus 1.14.6-1
ii libc6 2.36-9
ii libglib2.0-0 2.74.6-2
ii libgudev-1.0-0 1:230-3
ii libupower-glib3 0.99.20-2
ii udev 252.6-1

Versions of packages upower recommends:
ii polkitd 122-3

upower suggests no packages.

-- no debconf information

Michael Müller

unread,
Jun 14, 2023, 11:30:04 AM6/14/23
to
The problem was solved with installation of libgudev-1.0-0 237-2

The dist upgrade from bullseye to bookworm did not install the latest version
of libgudev-1.0-0. Version 230-3 stayed installed, not the version 237-2.
The Package Manager saw the installed version as newest, a manual installation
of the version 237-2 was necessary. This solved the problem.

--
Michael Müller
Am Sonnenhang 55
35447 Reiskirchen
Tel. 06408 965903

Michael Biebl

unread,
Jun 16, 2023, 6:40:04 AM6/16/23
to
Am 03.06.23 um 13:31 schrieb Michael Müller:

> A direct execute brings this error:
> /usr/libexec/upowerd: symbol lookup error: /usr/libexec/upowerd: undefined symbol: g_udev_device_get_sysfs_attr_uncached

...

> ii libgudev-1.0-0 1:230-3

Looking at the symbols file of libgudev, I see

g_udev_device_get_sysfs_attr_as_boolean_uncached@Base 234

The generated dependency is too weak, due to the missing epoch, i.e.
1:230-3 > 234.

This epoch is only applied to the Ubuntu build though.
Do you by any chance have libgudev installed from a Ubuntu archive?

https://packages.ubuntu.com/search?keywords=libgudev-1.0-0&searchon=names&suite=all&section=all

vs

https://packages.debian.org/unstable/libgudev-1.0-0



Mixing Debian and Ubuntu packages is not a supported configuration.


Michael
OpenPGP_signature

Michael Biebl

unread,
Jun 16, 2023, 6:40:04 AM6/16/23
to
Am 16.06.23 um 12:27 schrieb Michael Biebl:
This epoch that is applied to the Ubuntu build would also explain, why
the package was not updated when you upgraded to bookworm.

If you have installed packages from the Ubuntu archive, you might
consider reverting this.

Michael

OpenPGP_signature
0 new messages