The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » [SOLVED] Problems with undefined symbol libusb_set_option in Chimaera release » 2021-11-03 12:05:43

Found the problem.  At some point in the distant past, I had built libusb and installed it in /usr/local/lib.  With the upgrade to Chimaera, this locally built library was out of sync.  I deleted the libusb files /usr/local/lib and all is well again.

#2 Installation » [SOLVED] Problems with undefined symbol libusb_set_option in Chimaera release » 2021-10-31 17:08:45

penguinwrangler
Replies: 1

Hi All,

Thanks for releasing Chimaera.  Upgrade went incredibly smoothly except for my scanner.  When I try to run hp-scan, I get the error below:

roger@aardvark:~$ hp-scan 
Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 40, in <module>
    import scanext
ImportError: /usr/lib/x86_64-linux-gnu/libsane.so.1: undefined symbol: libusb_set_option
roger@aardvark:~$ 

I've tried uninstalling the hplip tools all the sane and libsane packages, etc.  No success.  When I reinstall, I get the above missing symbol.

roger@aardvark:~$ dpkg -l | grep -E "(hp|sane)"
ii  hplip                                             3.21.2+dfsg1-2                         amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                        3.21.2+dfsg1-2                         all          HP Linux Printing and Imaging - data files
rc  hplip-gui                                         3.21.2+dfsg1-2                         all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
ii  libhpmud0:amd64                                   3.21.2+dfsg1-2                         amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libkf5akonadisearchpim5:amd64                     4:20.08.3-1                            amd64        Akonadi search library
ii  libpathplan4:amd64                                2.42.2-5                               amd64        rich set of graph drawing tools - pathplan library
ii  libsane-common                                    1.0.31-4.1                             all          API library for scanners -- documentation and support files
rc  libsane-extras:amd64                              1.0.22.4                               amd64        API library for scanners -- extra backends
rc  libsane-extras:i386                               1.0.22.4                               i386         API library for scanners -- extra backends
ii  libsane-hpaio:amd64                               3.21.2+dfsg1-2                         amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                                    1.0.31-4.1                             amd64        API library for scanners
ii  printer-driver-hpcups                             3.21.2+dfsg1-2                         amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-postscript-hp                      3.21.2+dfsg1-2                         amd64        HP Printers PostScript Descriptions
rc  sane                                              1.0.14-16                              amd64        scanner graphical frontends
iF  sane-utils                                        1.0.31-4.1                             amd64        API library for scanners -- utilities
roger@aardvark:~$ 

There was discussion about this on the Ubuntu forums, but reinstalling libsane1-1.0.0 didn't fix it, neither did a forced reinstall.

Has anyone else seen this and is there a workaround?

Thanks,

Roger

#3 Re: Desktop and Multimedia » Latest update for libpolkit-backend-1-0 tries to uninstall KDE » 2018-04-19 13:18:47

[FIXED]
So, some more digging and testing... and it seems the culprit is libpolkit-backend-1-0-elogind.  This package has been renamed to libpolkit-backend-elogind-1-0 and that seems to get everything upset.

The solution is to explicitly upgrade to libpolkit-backend-elogind-1-0 and that sorts everything out.

$ sudo apt install --upgrade libpolkit-backend-elogind-1-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 policykit-1
The following packages will be REMOVED:
  consolekit libpam-ck-connector libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind slim
The following NEW packages will be installed:
  libpolkit-backend-1-0 libpolkit-backend-elogind-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 4 newly installed, 5 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 1,092 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://gb.mirror.devuan.org/merged ascii/main amd64 policykit-1 amd64 0.105-18+devuan2.9 [60.3 kB]
Get:2 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-agent-1-0 amd64 0.105-18+devuan2.9 [22.6 kB]
Get:3 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-gobject-1-0 all 0.105-18+devuan2.9 [10.1 kB]
Get:4 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-gobject-elogind-1-0 amd64 0.105-18+devuan2.9 [40.0 kB]
Get:5 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-backend-elogind-1-0 amd64 0.105-18+devuan2.9 [42.4 kB]
Get:6 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-backend-1-0 all 0.105-18+devuan2.9 [10.2 kB]
Fetched 186 kB in 0s (439 kB/s)               
Reading changelogs... Done
(Reading database ... 246540 files and directories currently installed.)
Removing slim (1.3.6-5.1+devuan2) ...
update-alternatives: warning: alternative /usr/share/slim/themes/default (part of link group desktop-slim-theme) doesn't exist; removing from list of alternatives
Removing consolekit (0.4.6-6) ...
Removing libpam-ck-connector:amd64 (0.4.6-6) ...
(Reading database ... 246472 files and directories currently installed.)
Preparing to unpack .../policykit-1_0.105-18+devuan2.9_amd64.deb ...
Unpacking policykit-1 (0.105-18+devuan2.9) over (0.105-18+devuan2.4) ...
Preparing to unpack .../libpolkit-agent-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-agent-1-0:amd64 (0.105-18+devuan2.9) over (0.105-18+devuan2.4) ...
dpkg: libpolkit-backend-1-0-elogind:amd64: dependency problems, but removing anyway as you requested:
 policykit-1 depends on libpolkit-backend-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-backend-1-0 is not installed.
  Package libpolkit-backend-1-0-elogind:amd64 which provides libpolkit-backend-1-0 is to be removed.

(Reading database ... 246471 files and directories currently installed.)
Removing libpolkit-backend-1-0-elogind:amd64 (0.105-18+devuan2.4) ...
dpkg: libpolkit-gobject-1-0-elogind:amd64: dependency problems, but removing anyway as you requested:
 packagekit depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 accountsservice depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-qt-1-1:amd64 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 colord depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 cups-pk-helper depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 network-manager depends on libpolkit-gobject-1-0 (>= 0.104); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 upower depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 udisks2 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 xfce4-session depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 policykit-1 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 modemmanager depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-agent-1-0:amd64 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-qt5-1-1:amd64 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 xbrlapi depends on libpolkit-gobject-1-0 (>= 0.94); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.

Removing libpolkit-gobject-1-0-elogind:amd64 (0.105-18+devuan2.4) ...
Selecting previously unselected package libpolkit-gobject-1-0.
(Reading database ... 246462 files and directories currently installed.)
Preparing to unpack .../libpolkit-gobject-1-0_0.105-18+devuan2.9_all.deb ...
Unpacking libpolkit-gobject-1-0 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-gobject-elogind-1-0:amd64.
Preparing to unpack .../libpolkit-gobject-elogind-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-gobject-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-backend-elogind-1-0:amd64.
Preparing to unpack .../libpolkit-backend-elogind-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-backend-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-backend-1-0.
Preparing to unpack .../libpolkit-backend-1-0_0.105-18+devuan2.9_all.deb ...
Unpacking libpolkit-backend-1-0 (0.105-18+devuan2.9) ...
Setting up libpolkit-gobject-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.22-1+devuan1) ...
Setting up libpolkit-gobject-1-0 (0.105-18+devuan2.9) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-18+devuan2.9) ...
Setting up libpolkit-backend-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Setting up libpolkit-backend-1-0 (0.105-18+devuan2.9) ...
Setting up policykit-1 (0.105-18+devuan2.9) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
$

Hope this helps someone else out of the spot!

#4 Desktop and Multimedia » Latest update for libpolkit-backend-1-0 tries to uninstall KDE » 2018-04-19 09:35:02

penguinwrangler
Replies: 1

Upgraded yesterday, all fine.  New upgrades are available today so I'm trying to install them onto my desktop machine which is running KDE.

$ sudo apt upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpolkit-backend-1-0-elogind : Conflicts: libpolkit-backend-1-0
 libpolkit-gobject-1-0-elogind : Conflicts: libpolkit-gobject-1-0
E: Broken packages
$

I've checked and libpolkit-backend-1-0 and libpolkit-gobject-1-0 are not installed...

$ dpkg -l | grep libpolkit
ii  libpolkit-agent-1-0:amd64                         0.105-18+devuan2.4                          amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0-elogind:amd64               0.105-18+devuan2.4                          amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0-elogind:amd64               0.105-18+devuan2.4                          amd64        PolicyKit Authorization API
ii  libpolkit-qt-1-1:amd64                            0.112.0-5                                   amd64        PolicyKit-qt-1 library
ii  libpolkit-qt5-1-1:amd64
$

If I try to install 'libpolkit-backend-1-0' to replace -elogind specific variant, it tries to uninstall KDE!

$ sudo apt install libpolkit-backend-1-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0 policykit-1
The following packages will be REMOVED:
  apper kde-plasma-desktop kde-standard libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind network-manager plasma-desktop plasma-nm polkit-kde-1 polkit-kde-agent-1 task-kde-desktop
The following NEW packages will be installed:
  libpolkit-backend-1-0 libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 4 newly installed, 11 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 28.1 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
$

The only non-Devuan packages that I have installed are Google Chrome from Google and nodejs from the NodeJS repo.

So... something is twisted up somewhere but I've absolutely no idea where.  Anyone have a clue what I've managed to tie in a knot and how to untangle it?

Thanks in advance... ;-)

#5 Re: Desktop and Multimedia » On acsii, plasma and the power button. » 2018-04-04 11:46:49

Hi fsmithred, thanks for your quick response.  The issue was the libpolkit. 

The laptop got a new HDD and a clean install of Devuan Jessie yesterday, then upgraded to Ascii but somehow it had pulled in the -systemd variants.  I followed the instructions in the lurker link you provided and replaced them with -elogind variants.  Now logout, reboot, shutdown from the KDE menu all work as expected.

I still have SDDM as the login manager...

Again, thanks for the quick response.  :-)

#6 Re: Desktop and Multimedia » On acsii, plasma and the power button. » 2018-04-04 10:11:23

At the risk of resurrecting an old thread...  I'm running SDDM + KDE 5 under ASCII on a Dell 6220 laptop.  It all works nicely apart from shutdown and reboot actions from KDE's menu.  These just drop me back to SDDM.  The reboot and shutdown icons at the top right of SDDM work as expected.  From within KDE, if I issue "sudo poweroff" or "sudo reboot" from Konsole, both work as expected. 

I have had to add the option "reboot=pci" to the Linux command line in grub, otherwise reboots or shutdowns hang the machine after kernel exits, but I wouldn't expect that to affect this.  It seems more like KDE is always doing a "logout" rather than a "reboot" or "shutdown", since SDDM works correctly.

I've checked and I have both eudev and elogind installed... but I don't know how to check if they are working correctly. 

Anyone have any suggestions?

#7 Desktop and Multimedia » KDE Plasma 5.12 » 2018-02-28 14:15:21

penguinwrangler
Replies: 0

I'm running Devuan Ascii with KDE plasma 5 and I'm loving it but there are a few niggles with some of the apps and rendering that make me want to pick up a more recent version... and KDE has just release 5.12 which is an LTE release.  Debian's "sid" is already pulling KDE 5.12.2.

I completely appreciate that Devuan tracks Debian so to a significant degree "we get what they get" but I believe that there are changes in some of the underlying packages to remove systemd so I don't think that I can try to push in the relevant packages from "sid" without it all breaking in horrible ways :-(

I'm wondering what it would take to package KDE 5.12.x for Devuan as a separate "bleeding edge" repository (which I'm happy to work on creating and host if necessary).    Since "sid" is already pulling KDE 5.12.2 so I'm hoping that I can start with that and apply the necessary changes to get it to work on Devuan... but I haven't tried yet.

Does anyone have any suggestions / recommendations for this?

Thanks in advance...

Board footer

Forum Software