I wanted to install skanlite on my computer, Looking how to do so, I fell on a method using snap. (I do not like snap.) From then on, only problems.
But then I could not start it from the application launcher. By hand,
I then tried to install it directly with apt, which seemed to work. Did I now have two copies installed? Anyway, starting it by the command line gave the same d-bus error message, which means nothing to me. So I removed it with apt, which seemed to work. Same d-bus error I tried to remove it with snap and got the message "skanlite removed". I removed it again with apt, and now I get:
And still
I realize I have done too many things without proper correlation. But how do I fix this mess? Dpkg still thinks it is installed but the CL gives me a message from snap.
Why in the world is this thing availbable in snap and apt? I really do not like snap.
I hope this makes sense, but I'm not sure of it.
Running kde neon 5.27, kernel 6.5.0-15-generic (64-bit).
$ sudo snap install skanlite
...
2024-02-06T11:56:05+01:00 INFO cannot update "cups", will not have required content "foo": snap has no updates available
skanlite 23.08.4 from KDE✓ installed
...
2024-02-06T11:56:05+01:00 INFO cannot update "cups", will not have required content "foo": snap has no updates available
skanlite 23.08.4 from KDE✓ installed
$ skanlite
dbus[9809]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
dbus[9809]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
$ skanlite
bash: /snap/bin/skanlite: No such file or directory
bash: /snap/bin/skanlite: No such file or directory
$ dpkg -l skanlite
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==========================================-============-========================================
ii skanlite 23.08.4-0xneon+22.04+jammy+release+build27 amd64 image scanner based on the KSane backend
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==========================================-============-========================================
ii skanlite 23.08.4-0xneon+22.04+jammy+release+build27 amd64 image scanner based on the KSane backend
I realize I have done too many things without proper correlation. But how do I fix this mess? Dpkg still thinks it is installed but the CL gives me a message from snap.
Why in the world is this thing availbable in snap and apt? I really do not like snap.
I hope this makes sense, but I'm not sure of it.
Running kde neon 5.27, kernel 6.5.0-15-generic (64-bit).
Comment