pfclient clogs dpkg and installation of other SW

stefinux

New Member
Hi all, I'm 1month old in the wolrd of ADS-B :) I'm experiencing some issues in installaing the pfclient on an original Piaware SD image 3.8.1.
I've managed to install other feeders, as well as other tools (e.g. graphs1090, tar1090), but with pfclient I'm completely stuck.

When I run:
Bash:
wget http://client.planefinder.net/pfclient_4.1.1_armhf.deb
sudo dpkg -i pfclient_4.1.1_armhf.deb
It unpackages the content and then it gets stuck in setting up pfclient.
I loose SSH; if I go to my-IP:30053/setup.html I can set it up. After I reconnect pfclient is running but the dpkg is completely clogged.

If I try to run another installation I get an error that something has still to be configured.
Then if I use the dpkg --configure I am again stuck with setting up pfclient and I loose SSH again.
Checking the status of dpkg I get the following status.
Bash:
pi@piaware:~ $ sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 pfclient             Plane Finder Sharing client

My only way to install other packages is to purge pfclient.

Any ideas? :(
 
Hi all, I'm 1month old in the wolrd of ADS-B :) I'm experiencing some issues in installaing the pfclient on an original Piaware SD image 3.8.1.
I've managed to install other feeders, as well as other tools (e.g. graphs1090, tar1090), but with pfclient I'm completely stuck.

When I run:
Bash:
wget http://client.planefinder.net/pfclient_4.1.1_armhf.deb
sudo dpkg -i pfclient_4.1.1_armhf.deb
It unpackages the content and then it gets stuck in setting up pfclient.
I loose SSH; if I go to my-IP:30053/setup.html I can set it up. After I reconnect pfclient is running but the dpkg is completely clogged.

If I try to run another installation I get an error that something has still to be configured.
Then if I use the dpkg --configure I am again stuck with setting up pfclient and I loose SSH again.
Checking the status of dpkg I get the following status.
Bash:
pi@piaware:~ $ sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 pfclient             Plane Finder Sharing client

My only way to install other packages is to purge pfclient.

Any ideas? :(

I'm having the same issue!

Has there been any help or response?
 
You both have old OS (piaware 3.8.1 image which is Raspbian Buster based). Current piaware image is ver 8.2 and is Bullseye based.

Old OS may be cause of this problem.

What is out put of following command?

Code:
lsb_release -sc



.
 
Last edited:
I'm having this same issue on ver 8.2 of piaware and Bullseye so it doesn't have to do with the newer OS.

I've had to uninstall PFclient for now because it kept hanging up dkpg. Any updates?
 
I'm having this same issue on ver 8.2 of piaware and Bullseye so it doesn't have to do with the newer OS.

I've had to uninstall PFclient for now because it kept hanging up dkpg. Any updates?

COPY-PASTE in terminal following commands.
If second command gives error message, then run third command. The third command will fix it:

Code:
wget  http://client.planefinder.net/pfclient_5.0.161_armhf.deb

sudo dpkg -i pfclient_5.0.161_armhf.deb

sudo apt --fix-broken install


.
pfclient on bullseye.png
 
Last edited:
I installed with the first 2 commands.... but dpkg is still locked up.

Code:
pi@piaware:~ $ wget http://client.planefinder.net/pfclient_5.0.161_armhf.deb
--2023-03-29 17:48:06--  http://client.planefinder.net/pfclient_5.0.161_armhf.deb
Resolving client.planefinder.net (client.planefinder.net)... 2600:1408:7400::1728:3e0a, 2600:1408:7400::1728:3e1a, 23.40.62.10, ...
Connecting to client.planefinder.net (client.planefinder.net)|2600:1408:7400::1728:3e0a|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1566910 (1.5M) [application/vnd.debian.binary-package]
Saving to: ‘pfclient_5.0.161_armhf.deb.3’

pfclient_5.0.161_armhf.deb.3  100%[=================================================>]   1.49M  2.00MB/s    in 0.7s

2023-03-29 17:48:07 (2.00 MB/s) - ‘pfclient_5.0.161_armhf.deb.3’ saved [1566910/1566910]

pi@piaware:~ $ sudo dpkg -i pfclient_5.0.161_armhf.deb.3
Selecting previously unselected package pfclient.
(Reading database ... 52494 files and directories currently installed.)
Preparing to unpack pfclient_5.0.161_armhf.deb.3 ...
Unpacking pfclient (5.0.161) ...
Setting up pfclient (5.0.161) ...
client_loop: send disconnect: Connection reset

This is what it has been doing - it restarts and it gets messed up (install broken).

I then tried to run the 3rd command.
Code:
pi@piaware:~ $ sudo apt --fix-broken install
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

This is what it has been doing. If you run that command (sudo dpkg --configure -a), it goes back to the
Setting up pfclient (5.0.161)
and it's an endless loop.
 
are you using 64-bit bullseye?

Please post output of following commands

Code:
dpkg --print-architecture

dpkg --print-foreign-architectures
 
This is what I get:

Code:
pi@piaware:~ $ dpkg --print-architecture
armhf
pi@piaware:~ $ dpkg --print-foreign-architectures
pi@piaware:~ $

The second one doesn't offer any output.
 
your architecture is armhf, i.e. 32-bit OS
The pfclient is also 32-bit, so there is no issue of compatibility.
There seems to be some corrupt or missing packages in your OS.
Another possibility is broken pipe in ssh connection.

Anyway just try this:

You have downloaded many copies of .deb file
pfclient_5.0.161_armhf.deb.3
pfclient_5.0.161_armhf.deb.2
pfclient_5.0.161_armhf.deb.1
pfclient_5.0.161_armhf.deb

Delete all these copies by following command:
Code:
sudo rm pfclient_5.0.161*

Then try to install again


.
 
Last edited:
Code:
Setting up pfclient (5.0.161) ...
client_loop: send disconnect: Connection reset

A possibility is an intermittent SSH connection. This may happen particularly with a flaky WiFi connection. If you are using WiFi, connect Pi to Router by network cable, then install pfclient.
 
It is only disconnecting because when it does the "Setting up pfclient" it restarts the Pi and thus the clogged dpkg. It never successfully installs it.
 
If this is the case, then most likely the reason of failure is corruption of some files of your OS. Better download a fresh copy of OS image, and re-image your microSD card with this freshly downloaded copy of OS.
 
I upgraded my Pi this morning and it appears the one I was using just couldn't handle installing it. It installed just fine on the new Pi 4 that I received.
 
Back
Top