libpicoipp installation error on Raspberry Pi

Post your Linux discussions here
Post Reply
AndrewA
PICO STAFF
PICO STAFF
Posts: 295
Joined: Tue Oct 21, 2014 3:07 pm

libpicoipp installation error on Raspberry Pi

Post by AndrewA »

When trying to install
https://labs.picotech.com/debian/pool/m ... _armhf.deb
on an raspbian, You may get an error message saying

Code: Select all

dpkg: error processing archive libpicoipp_1.1.2-4r56_armhf.deb (--install):
conffile name 'etc/ld.so.conf.d/picoscope.conf' is not an absolute pathname
Seems like recently dpkg do not accept relative pathnames in DEBIAN/conffiles so a quick fix would be to do:

Remove any Pico drivers installed (sudo apt get remove libpXXXX... etc)

Download the file above (libpicoipp_1.1.2-4r56_armhf.deb) into /home/pi/ for example
1.

Code: Select all

mkdir tmp
2.

Code: Select all

dpkg-deb -R libpicoipp_1.1.2-4r56_armhf.deb tmp
3. Edit tmp/DEBIAN/conffiles
and remove the first line-
"etc/ld.so.conf.d/picoscope.conf"

4. Rebuild the deb file

Code: Select all

dpkg-deb -b tmp libpicoipp_1.1.2-4r56_armhf_fixed.deb
5. Install rebuilt file-

Code: Select all

sudo apt install /home/pi/libpicoipp_1.1.2-4r56_armhf_fixed.deb
6. Install the required Pico driver-
(for example)

Code: Select all

sudo apt get install libps5000a

This removes the first line in conffiles
I have created a bug relating to this issue.
Regards Andrew
Technical Specialist

potto
Newbie
Posts: 0
Joined: Sat Dec 26, 2020 8:40 pm

Re: libpicoipp installation error on Raspberry Pi

Post by potto »

Thanks Andrew. That solved my problem when trying to install libps2000a on a Raspberry Pi 3. Below is what was happening before I used your instructions to rebuild and install libpicoipp. Is Pico Technology planning on fixing this so the command "sudo apt install libps2000a" works without error on the Raspberry Pi? When I installed "libps2000" I did not have the same problem. Thanks for supporting the Pi. Cheers, Paul

=====Error before manually installing libpicoipp====
$ sudo apt install libps2000a
Reading package lists... Done
Building dependency tree
Reading state information... 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:
libps2000a : Depends: libpicoipp (>= 1.1.2-4r52) but it is not installable
E: Unable to correct problems, you have held broken packages.

jade
Newbie
Posts: 0
Joined: Thu Jan 14, 2021 12:51 am

Re: libpicoipp installation error on Raspberry Pi

Post by jade »

fyi Andrew: This is now affecting Debian Buster on x86_64 as well.
I appreciate that Linux is probably not considered an important platform compared to others, but is there any progress on the bug? It would be nice to have working/fixed packages available in the repositories as currently having the picoscope repositories enabled breaks system updates for me unless I remove the packages.

jb2717
Newbie
Posts: 0
Joined: Thu Jan 14, 2021 9:23 pm

Re: libpicoipp installation error on Raspberry Pi

Post by jb2717 »

Hello,

Am also having this problem on Pop!_OS 20.10

RandomRDP
Newbie
Posts: 0
Joined: Fri Jan 22, 2021 6:43 pm

Re: libpicoipp installation error on Raspberry Pi

Post by RandomRDP »

This may be obvious but I just spent an hour trying to fix this problem on Ubuntu 20.10 on my laptop.

If you're on an x86 machine then download "libpicoipp_1.3.0-4r78_amd64.deb" instead.

https://labs.picotech.com/debian/pool/m ... _amd64.deb

Post Reply