On Tue, Mar 02, 2004 at 12:00:28PM +0800, Me Its said:
> I am using debian - sid, but I got error when I apt-get upgrade, when 
> it tries to install the new ClamAV
> 
> Setting up clamav-base (0.67-5) ...
> dirname: too few arguments
> Try `dirname --help' for more information.
> dpkg: error processing clamav-base (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of clamav:
>  clamav depends on clamav-base (= 0.67-5); however:
>   Package clamav-base is not configured yet.
> dpkg: error processing clamav (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of clamav-freshclam:
>  clamav-freshclam depends on clamav (= 0.67-5); however:
>   Package clamav is not configured yet.
> dpkg: error processing clamav-freshclam (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of clamav-daemon:
>  clamav-daemon depends on clamav (= 0.67-5); however:
>   Package clamav is not configured yet.
> dpkg: error processing clamav-daemon (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  clamav-base
>  clamav
>  clamav-freshclam
>  clamav-daemon
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> What should I do next ?

I made a mistake in clamav-base's postinst.  You have 3 options:

Edit /var/lib/dpkg/info/clamav-base.postinst, and comment or remove all
lines from
if [ -e /etc/clamav/clamav.conf ]
to the final 'fi' before the ';;'

Install the old version, in /var/cache/apt/archives/

Wait until tomorrow, when the fixed version will be out.

Sorry about that,

-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | The human race has one really effective |
|  [EMAIL PROTECTED]             | weapon, and that is laughter.   -- Mark |
|  http://www.lobefin.net/~steve | Twain                                   |
 --------------------------------------------------------------------------

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to