package: clamsmtp (1.9-0ubuntu1); and clamav-base,clamav-daemon (both 0.94.dfsg.2-1ubuntu0.1~hardy1) - failed to install/upgrade: dependency problems - leaving unconfigured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamsmtp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: clamsmtp
package clamsmtp (1.9-0ubuntu1) and clamav-
Errors were encountered while processing:
clamav-base
clamav-daemon
clamsmtp
Setting up clamav-base (0.94.dfsg.
id: clamav: No such user
chown: invalid user: `clamav:clamav'
chown: invalid user: `clamav:clamav'
chown: invalid user: `clamav:clamav'
install: invalid user `clamav'
dpkg: error processing clamav-base (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of clamav-daemon:
clamav-daemon depends on clamav-base (= 0.94.dfsg.
Package clamav-base is not configured yet.
dpkg: error processing clamav-daemon (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamsmtp:
clamsmtp depends on clamav-daemon (>= 0.75.1); however:
Package clamav-daemon is not configured yet.
dpkg: error processing clamsmtp (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
clamav-base
clamav-daemon
clamsmtp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
-:: i had to manually add clamav user and group to get going:
ubuntu:~$ sudo adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav
Adding system user `clamav' (UID 113) ...
Adding new group `clamav' (GID 126) ...
Adding new user `clamav' (UID 113) with group `clamav' ...
is there no script that automates this on installation of any of the above packages
this is the latest version available for Ubuntu 8.04.2 from Synaptic, here is my sources.list:
#
# See http://
# newer versions of the distribution.
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
deb http://
deb http://
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701)]/ hardy main restricted
deb http://
deb http://
deb http://
deb http://
ProblemType: Package
Architecture: i386
Date: Wed Feb 11 13:18:44 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
Package: clamsmtp 1.9-0ubuntu1
PackageArchitec
SourcePackage: clamsmtp
Title: package clamsmtp 1.9-0ubuntu1 failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-23-generic i686
If anything this is clamav related.
According to the log you have clamav previously installed, but on this upgrade, the clamav user was missing (and you added it manually). You can't install clamav without the clamav user. Any ideas what happened to it?