Bug#1137089: ocsinventory-agent: Duplicate specification of options on Debian 13
Vladislav Kurz
vladislav.kurz at webstep.net
Tue May 19 11:39:39 BST 2026
Package: ocsinventory-agent
Version: 2:2.10.0-5
Severity: minor
Dear Maintainer,
after upgrading to debian 13, ocsinventory-agent running from shell reports:
Duplicate specification "P|proxy=s" for option "p"
Duplicate specification "R|remotedir=s" for option "r"
This is hidden if runing from cron, as it discards stderr.
This has been fixed upstream in version 2.10.5, please update the package, preferably in stable too.
Upstream fixed this in UnixAgent by adding no_ignore_case to Getopt::Long:
PR: https://github.com/OCSInventory-NG/UnixAgent/pull/490
Commit: https://github.com/OCSInventory-NG/UnixAgent/pull/490/commits/c4899cef6b797df471ddf41c427970de47302f80
Release: v2.10.5 (https://github.com/OCSInventory-NG/UnixAgent/releases/tag/v2.10.5)
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ocsinventory-agent depends on:
ii debconf [debconf-2.0] 1.5.91
ii fdisk 2.41-5
ii libc6 2.41-12+deb13u2
ii libcrypt-ssleay-perl 0.73.06-2+b4
ii libnet-ip-perl 1.26-4
ii libproc-daemon-perl 0.23-2
ii libwww-perl 6.78-1
ii libxml-simple-perl 2.25-2
ii perl 5.40.1-6
ii ucf 3.0052
Versions of packages ocsinventory-agent recommends:
ii dmidecode 3.6-2
ii hdparm 9.65+ds-1.1
ii libio-socket-ssl-perl 2.089-1
ii liblwp-protocol-https-perl 6.14-1
ii libnet-cups-perl 0.64-3+b3
ii libnet-netmask-perl 2.0002-2
ii libnet-snmp-perl 6.0.1-8
ii libparse-edid-perl 1.0.7-2
ii pciutils 1:3.13.0-2
Versions of packages ocsinventory-agent suggests:
pn libnmap-parser-perl <none>
ii nmap 7.95+dfsg-3
pn read-edid <none>
pn smartmontools <none>
-- Configuration Files:
/etc/cron.daily/ocsinventory-agent changed:
PROG=/usr/bin/ocsinventory-agent
if [ ! -x "$PROG" ]; then
exit 0
fi
sleep $(( $RANDOM/10 ))
$PROG > /dev/null
-- debconf information excluded
More information about the pkg-perl-maintainers
mailing list