package clamav-base None failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #293308 reported by JC
42
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: clamav

clamav 0.94 fail to install via "aptitude."

Listed below is the output from the terminal.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following NEW packages will be installed:
  clamav clamav-base{a} clamav-freshclam{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.4MB of archives. After unpacking 20.3MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://gb.archive.ubuntu.com intrepid/main clamav-base 0.94.dfsg.1~rc1-0ubuntu2 [19.0MB]
Get:2 http://gb.archive.ubuntu.com intrepid/main clamav-freshclam 0.94.dfsg.1~rc1-0ubuntu2 [249kB]
Get:3 http://gb.archive.ubuntu.com intrepid/main clamav 0.94.dfsg.1~rc1-0ubuntu2 [233kB]
Fetched 19.4MB in 11min38s (27.8kB/s)
Preconfiguring packages ...
Selecting previously deselected package clamav-base.
(Reading database ... 102879 files and directories currently installed.)
Unpacking clamav-base (from .../clamav-base_0.94.dfsg.1~rc1-0ubuntu2_all.deb) ...
Selecting previously deselected package clamav-freshclam.
Unpacking clamav-freshclam (from .../clamav-freshclam_0.94.dfsg.1~rc1-0ubuntu2_amd64.deb) ...
Selecting previously deselected package clamav.
Unpacking clamav (from .../clamav_0.94.dfsg.1~rc1-0ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Setting up clamav-base (0.94.dfsg.1~rc1-0ubuntu2) ...
dpkg: error processing clamav-base (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of clamav-freshclam:
 clamav-freshclam depends on clamav-base (>= 0.94.dfsg.1~rc1-0ubuntu2); however:
  Package clamav-base is not configured yet.
dpkg: error processing clamav-freshclam (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamav:
 clamav depends on clamav-freshclam | clamav-data; however:
  Package clamav-freshclam is not configured yet.
  Package clamav-data is not installed.
  Package clamav-freshclam which provides clamav-data is not configured yet.
dpkg: error processing clamav (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
               Errors were encountered while processing:
 clamav-base
 clamav-freshclam
 clamav
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up clamav-base (0.94.dfsg.1~rc1-0ubuntu2) ...
dpkg: error processing clamav-base (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of clamav-freshclam:
 clamav-freshclam depends on clamav-base (>= 0.94.dfsg.1~rc1-0ubuntu2); however:
  Package clamav-base is not configured yet.
dpkg: error processing clamav-freshclam (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamav:
 clamav depends on clamav-freshclam | clamav-data; however:
  Package clamav-freshclam is not configured yet.
  Package clamav-data is not installed.
  Package clamav-freshclam which provides clamav-data is not configured yet.
dpkg: error processing clamav (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 clamav-base
 clamav-freshclam
 clamav
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done

ProblemType: Package
Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: clamav-base None
PackageArchitecture: all
SourcePackage: clamav
Title: package clamav-base None failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-7-generic x86_64

Revision history for this message
JC (zoom-boing) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 293308] Re: package clamav-base None failed to install/upgrade: subprocess post-installation script returned error exit status 1

What happens if you run:

sudo dpkg-reconfigure clamav-base

Revision history for this message
JC (zoom-boing) wrote :

It seems this was caused my me having libclamav5 installed after I tried to install clamav from source.

I've since tried this again (removing libclamav5 first), then installing clamav via "aptitude" with no issues.

Changed in clamav:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.