Bug#422189: ocsinventory-agent: Does not install

2007-05-04 Thread Erwan David
Package: ocsinventory-agent
Version: 1.01-3
Severity: grave
Justification: renders package unusable

Trying to install I get the following message :

Unpacking ocsinventory-agent (from .../ocsinventory-agent_1.01-3_i386.deb) ...
Setting up ocsinventory-agent (1.01-3) ...
cp: cannot stat `/usr/share/ocsinventory-client/ocsinv.adm': No such file or 
directory
dpkg: error processing ocsinventory-agent (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ocsinventory-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ocsinventory-agent (1.01-3) ...
cp: cannot stat `/usr/share/ocsinventory-client/ocsinv.adm': No such file or 
directory
dpkg: error processing ocsinventory-agent (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ocsinventory-agent

/usr/share/ocsinventory-client contains only 
create-ucf-config-files.pl  
ocsinv.conf

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocsinventory-agent depends on:
ii  debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii  dmidecode 2.8-4  Dump Desktop Management Interface 
ii  libc6 2.5-5  GNU C Library: Shared libraries
ii  libcompress-zlib-perl 1.42-2 Perl module for creation and manip
ii  libnet-ip-perl1.25-2 Perl extension for manipulating IP
ii  libnet-ssleay-perl1.30-1 Perl module for Secure Sockets Lay
ii  libwww-perl   5.805-1WWW client/server library for Perl
ii  libxml-simple-perl2.16-1 Perl module for reading and writin
ii  po-debconf1.0.8  manage translated Debconf template
ii  ucf   2.0021 Update Configuration File: preserv

ocsinventory-agent recommends no packages.

-- debconf information:
* ocsinventory-agent/method: local
* ocsinventory-agent/tag:
* ocsinventory-agent/server:


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



Bug#422189: ocsinventory-agent: Does not install

2007-05-04 Thread Eric DECORNOD
 [...]
 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é