Package: ocsinventory-agent Version: 2:2.0.5-1.2 Followup-For: Bug #864727 I got the same problem with our Debian stretch installations.
Santiago's patch raises a new problem which shows only in debug mode: $ ocsinventory-agent -f --debug [...] [debug] Compress::Zlib is available. [debug] Failed to load Ocsinventory::Agent::Backend::OS::Linux::Network::IPv4: Regexp modifier "a" may appear a maximum of twice in regex; marked by <-- HERE in m/^\s*inet (?ad <-- HERE d?r\s*:\s*)?(\S+)/ at /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Network/IPv4.pm line 14. Compilation failed in require at (eval 84) line 1. BEGIN failed--compilation aborted at (eval 84) line 1. [debug] Ocsinventory::Agent::Backend::IpDiscover ignored [debug] Ocsinventory::Agent::Backend::OS::AIX ignored [...] Kind regards Stefan Weil -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (990, 'stable'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ocsinventory-agent depends on: ii debconf [debconf-2.0] 1.5.61 ii libnet-ip-perl 1.26-1 ii libnet-ssleay-perl 1.80-1 ii libperl5.24 [libcompress-zlib-perl] 5.24.1-3+deb9u1 ii libproc-daemon-perl 0.23-1 ii libwww-perl 6.15-1 ii libxml-simple-perl 2.22-1 ii perl 5.24.1-3+deb9u1 ii po-debconf 1.0.20 ii ucf 3.0036 Versions of packages ocsinventory-agent recommends: ii dmidecode 3.0-4 ii hdparm 9.51+ds-1 ii pciutils 1:3.5.2-1 Versions of packages ocsinventory-agent suggests: ii nmap 7.40-1 ii read-edid 3.0.2-1+b1 ii smartmontools 6.5+svn4324-1 -- debconf information excluded