@frankb
Hello There, by switching from Debian 8 Jessie to Debian 9 stretch (and from perl 5.20 to perl 5.24), everything still works by when the agent (v2.6.1) starts sending the inventory I am spammed endlessly (until I Ctrl-C) by the sentense :
"Argument "" isn't numeric in multiplication (*) at /usr/local/share/perl/5.22.1/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm line 62."
Removing the spaces as you mentioned indeed solved the problem, it's just to let you know. :)