#1137089 ocsinventory-agent: Duplicate specification of options on Debian 13

Package:
ocsinventory-agent
Source:
ocsinventory-agent
Description:
Hardware and software inventory tool (client)
Submitter:
Vladislav Kurz
Date:
2026-05-19 11:00:02 UTC
Severity:
normal
#1137089#5
Date:
2026-05-19 10:39:39 UTC
From:
To:
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)