clamav-base fails configure with `/usr/share/doc/clamav-base/examples/main.cvd': No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Natty |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Oneiric |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Precise |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Quantal |
Fix Released
|
Undecided
|
Marc Deslauriers |
Bug Description
My build scripts broke today with the new clamav SRU. They install the dansguardian package, which fails when pulling in the clamav-base dependency. Some testing in a VM shows this to be an easy to replicate problem:
$ sudo apt-get install dansguardian
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libipc-run-perl libnet-ip-perl libnet-dns-perl libclone-perl libsub-name-perl libparse-
libclass-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
clamav clamav-base clamav-freshclam libclamav6 libtommath0
Suggested packages:
clamav-docs squid libclamunrar6
The following NEW packages will be installed:
clamav clamav-base clamav-freshclam dansguardian libclamav6 libtommath0
0 upgraded, 6 newly installed, 0 to remove and 79 not upgraded.
Need to get 4,954 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 4,954 kB in 11s (450 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libtommath0.
(Reading database ... 204129 files and directories currently installed.)
Unpacking libtommath0 (from .../libtommath0
Selecting previously unselected package libclamav6.
Unpacking libclamav6 (from .../libclamav6_
Selecting previously unselected package clamav-base.
Unpacking clamav-base (from .../clamav-
Selecting previously unselected package clamav-freshclam.
Unpacking clamav-freshclam (from .../clamav-
Selecting previously unselected package clamav.
Unpacking clamav (from .../clamav_
Selecting previously unselected package dansguardian.
Unpacking dansguardian (from .../dansguardia
dpkg: warning: version 'dansguardian_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libtommath0 (0.42.0-1) ...
Setting up libclamav6 (0.97.5+
Setting up clamav-base (0.97.5+
install: cannot stat `/usr/share/
dpkg: error processing clamav-base (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of clamav-freshclam:
clamav-freshclam depends on clamav-base (>= 0.97.5+
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
dpkg: dependency problems prevent configuration of dansguardian:
dansguardian depends on clamav (>= 0.80); however:
Package clamav is not configured yet.
dpkg: error processing dansguardian (--configure):
dependency problems - leaving unconfigured
description: | updated |
Changed in clamav (Ubuntu Natty): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Oneiric): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu Natty): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Oneiric): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Precise): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in clamav (Ubuntu Quantal): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
tags: | added: bugpattern-written |
Looks like the postinst is still trying to install the bundled databases, even though we no longer ship them in the new version.