libpicoipp installation error on Raspberry Pi

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

libpicoipp installation error on Raspberry Pi

Post by AndrewA »

When trying to install ... _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/' 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

Code: Select all

mkdir tmp

Code: Select all

dpkg-deb -R libpicoipp_1.1.2-4r56_armhf.deb tmp
3. Edit tmp/DEBIAN/conffiles
and remove the first line-

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

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.

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.

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

Re: libpicoipp installation error on Raspberry Pi

Post by jb2717 »


Am also having this problem on Pop!_OS 20.10

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. ... _amd64.deb

Post Reply