Package: ocsinventory-agent
Version: 2:1.1.1-2.3
Severity: important

This file does not handle dpkg output not correctly: 
/usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm

The following output(package information) gets lost:
$lgtoclnt---$8.0.1.1---$---$NetWorker Client
 EMC NetWorker protects the critical business data of more than 10,000
 enterprise customers worldwide by simplifying, centralizing, and automating
 backup and recovery operations across Unix, Windows, Linux and NetWare
 platforms
 in DAS, NAS, and SAN storage environments. Built upon an open, highly
 scalable
 client-server architecture, NetWorker reduces management overhead by
 providing
 "lights out" protection of storage assets in the largest corporate data
 centers
 and the smallest satellite branch offices.

The package has no size reported.

The following change in the 
/usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm
will work but add other problems (no size does not get detected):

-  foreach(`dpkg-query --show 
--showformat='\${Package}---\${Version}---\${Installed-Size}---\${Description}\n'`)
 {
+  foreach(`dpkg-query --show 
--showformat='\${Package}---\${Version}---0\${Installed-Size}---\${Description}\n'`)
 {

Greetings, Matthias
PS: debsums error is because above change got implemented on this server.
PSS: the bug report applies to squeeze, wheezy, jessie and sid because the
code has not changed.

-- System Information:
Debian Release: 6.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15) (ignored: 
LC_ALL set to de_AT@euro)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocsinventory-agent depends on:
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libcompress-zlib-perl  2.024-1           Transitional dummy package for Com
ii  libnet-ip-perl         1.25-2            Perl extension for manipulating IP
ii  libnet-ssleay-perl     1.36-1            Perl module for Secure Sockets Lay
ii  libproc-daemon-perl    0.03-2            Run Perl program as a daemon proce
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  libxml-simple-perl     2.18-3            Perl module for reading and writin
ii  perl [libcompress-zlib 5.10.1-17squeeze6 Larry Wall's Practical Extraction 
ii  po-debconf             1.0.16+nmu1       tool for managing templates file t
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

ocsinventory-agent recommends no packages.

Versions of packages ocsinventory-agent suggests:
ii  dmidecode                     2.9-1.2    Dump Desktop Management Interface 
pn  nmap                          <none>     (no description available)
ii  pciutils                      1:3.1.7-6  Linux PCI Utilities
pn  read-edid                     <none>     (no description available)
pn  smartmontools                 <none>     (no description available)

-- debconf information:
* ocsinventory-agent/method: http
* ocsinventory-agent/tag: Linux_Server
* ocsinventory-agent/server: backup

-- debsums errors found:
debsums: changed file 
/usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm (from 
ocsinventory-agent package)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to