Package: clamav-base
Severity: normal
Version: 0.95+dfsg-1

Hi ClamAV Team,

 I cannot install clamav, because of its install scripts bug.  

henr...@babytalk:~$ sudo aptitude install clamav-base --without-recommends
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be installed:
  clamav-base 
The following packages are RECOMMENDED but will NOT be installed:
  clamav 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/21.3MB of archives. After unpacking 21.5MB will be used.
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package clamav-base.
(Reading database ... 210544 files and directories currently installed.)
Unpacking clamav-base (from .../clamav-base_0.95+dfsg-1_all.deb) ...
Processing triggers for man-db ...
Setting up clamav-base (0.95+dfsg-1) ...
chown: cannot access `/var/run/clamav': No such file or directory
dpkg: error processing clamav-base (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 clamav-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up clamav-base (0.95+dfsg-1) ...
chown: cannot access `/var/run/clamav': No such file or directory
dpkg: error processing clamav-base (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 clamav-base


>chown: cannot access `/var/run/clamav': No such file or directory

 <source>/debian/clamav-base.dir says

> etc/
> etc/clamav/
> usr/share/bug/clamav-base
> var/
> var/lib/
> var/lib/clamav/
> var/log/
> var/log/clamav/

 I added /var/run/clamav to this and rebuild package, I've just avoid it.
 But, it is not policy compliant, refer to Debian Policy Manual section 9.3.2 
 (Writing the scripts).

 In <source>/debian/clamav-base/DEBIAN/postinst, it says
>     chown $user:$user $RUNDIR
 this line cause problem.


      
-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp
 http://wiki.debian.org/HidekiYamane



_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-clamav-devel

Reply via email to