The officially official Devuan Forum!

You are not logged in.

#1 Today 16:37:15

kapqa
Member
Registered: 2019-01-02
Posts: 829  

(iperf3) insecure directory in $ENV {PATH} while running -T switch

Hello ,

today checking out older and newer computer
upgrading devuan packages etc.

bit pleasant surprised how well core2duo and athlon still can function,
but since i am ditching LED lights wherever i can
am not opposed to more energy-saving computers, provided they feature a fairly open-minded set.

on this 3200G (65Watt-ish)
with Devuan 6 receving this error when propeearing for package "hardinfo2"

Unpacking hardinfo2 (2.3.0) ...
dpkg: dependency problems prevent configuration of hardinfo2:
 hardinfo2 depends on iperf3; however:
  Package iperf3 is not installed.

dpkg: error processing package hardinfo2 (--install):
 dependency problems - leaving unconfigured
sudo apt -f install
Correcting dependencies... Done 
The following packages were automatically installed and are no longer required:
  chromium-sandbox  librnp0  libsexpp0  linux-image-6.1.0-44-amd64
Use 'sudo apt autoremove' to remove them.

Installing dependencies:
  iperf3

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 1
  1 not fully installed or removed.
  Download size: 0 B / 37.3 kB
  Space needed: 92.2 kB / 33.9 GB available

Continue? [Y/n] 
Preconfiguring packages ...
Selecting previously unselected package iperf3.
(Reading database ... 358262 files and directories currently installed.)
Preparing to unpack .../iperf3_3.18-2+deb13u2_amd64.deb ...
Unpacking iperf3 (3.18-2+deb13u2) ...
Setting up iperf3 (3.18-2+deb13u2) ...
Stopping iperf3 daemon: iperf3.
Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl
5/Debian/AdduserLogging.pm line 161.
dpkg: error processing package iperf3 (--configure):
 installed iperf3 package post-installation script subprocess returned error exi
t status 25
dpkg: dependency problems prevent configuration of hardinfo2:
 hardinfo2 depends on iperf3; however:
  Package iperf3 is not configured yet.

dpkg: error processing package hardinfo2 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.13.1-1) ...
Errors were encountered while processing:
 iperf3
 hardinfo2

have not encountered this error before since the packages would regularly install fairly without issues;

thank you.

Linux devuan 6.12.94+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.94-1 (2026-06-20) x86_64 GNU/Linux

Last edited by kapqa (Today 16:38:07)

Online

#2 Today 17:26:39

kaiyel
Member
Registered: 2019-10-16
Posts: 44  

Re: (iperf3) insecure directory in $ENV {PATH} while running -T switch

Is there anything customized in the environment PATH variable?

# env | grep ^PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

--K

Online

#3 Today 18:55:17

kapqa
Member
Registered: 2019-01-02
Posts: 829  

Re: (iperf3) insecure directory in $ENV {PATH} while running -T switch

PATH=/home/test/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Last edited by kapqa (Today 18:59:16)

Online

#4 Today 19:14:16

kaiyel
Member
Registered: 2019-10-16
Posts: 44  

Re: (iperf3) insecure directory in $ENV {PATH} while running -T switch

Instead of installing directly via sudo, try using sudo to become root and install from root's environment :

sudo su - root
env | grep ^PATH
apt-get install -y iperf3

I suspect the iperf3 installer is auditing folder permissions along PATH and finding something unpalatable.

Hope this helps,
--K

Online

Board footer