> [...] > Setting up ocsinventory-agent (1.01-3) ... > cp: cannot stat `/usr/share/ocsinventory-client/ocsinv.adm': No such file > or directory [...] I got the same error, adding an || true on the cp line (59) in file /var/lib/dpkg/info/ocsinventory-agent.postinst solved the problem for me.
Cheers -- Eric DÉCORNOD Ingénieur d'Études SCICS - Faculté des Sciences Université Henri Poincaré