Alohaha,
Has anyone tried playing with a TEMPer USB thermometer
under raspian? I am completely unsure what its doing, I can see
it pop up with a device id etc in lsusb, so far so good. But
trying to install libhidapi-dev results in apt throwing a
segfault.
The lib is required for whatever the script is to
read the device. Perhaps theres a way around this, I guess I
can re write the SD card and just start again.
If you only installed packages with apt / from the debian/raspbian repository there should be no need to start again.
that's unusual. Can you post the complete error message / apt output.
If you only installed packages with apt / from the
debian/raspbian repository there should be no need to start
again.
Famous last words, the sdcard has a tendency to corrupt every
now and then, usually during ungraceful power loss, so I'm not
writing that lot completely off, but I keep an ISO of the
installed image so I can have a quick fix.
that's unusual. Can you post the complete error message / apt
output.
root@raspberrypi:/home/pi# apt install libhidapi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libhidapi-hidraw0 libhidapi-libusb0
The following NEW packages will be installed:
libhidapi-dev libhidapi-hidraw0 libhidapi-libusb0
0 upgraded, 3 newly installed, 0 to remove and 97 not upgraded.
Need to get 0 B/65.0 kB of archives.
After this operation, 221 kB of additional disk space will be
used. Do you want to continue? [Y/n] y Illegal instruction
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10
returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test
$? -lt 10 root@raspberrypi:/home/pi#
Thats actually a new result, similar sub process error, but not
resulting in a segfault today.
I never saw this error in the 20+ years I'm using debian based
distros. Some people have fixed it with an reinstall of
apt-listchanges
root@raspberrypi:/home/pi# apt install libhidapi-dev^^^^^^^^^^^^^^^^^^^
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libhidapi-hidraw0 libhidapi-libusb0
The following NEW packages will be installed:
libhidapi-dev libhidapi-hidraw0 libhidapi-libusb0
0 upgraded, 3 newly installed, 0 to remove and 97 not upgraded.
Need to get 0 B/65.0 kB of archives.
After this operation, 221 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Illegal instruction
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt
10 root@raspberrypi:/home/pi#
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 3 |
Nodes: | 8 (0 / 8) |
Uptime: | 21:24:14 |
Calls: | 2,135 |
Calls today: | 4 |
Files: | 11,149 |
D/L today: |
36 files (13,137K bytes) |
Messages: | 950,946 |