Well, I have to say I've never seen this failure mode. Can you assist
me with debugging it? I don't see anything that gives me a clue about
what part of the postinstall is failing or why.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sg...@debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
Yes.
In a chroot, install debfoster, then run:
debfoster -o MaxPriority=required -o UseRecommends=no -f -n apt debfoster
Then:
apt-get install clamav-base
I modified clamav-base to run 'set -x':
Setting up clamav-base (0.90.3-1) ...
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/clamav-base.postinst configure ''
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
++ check_ucf
++ ucf -h
++ grep -q debconf-ok
++ echo ok
+ UCFVER=ok
+ case "$1" in
+ DATABASEDIR=/var/lib/clamav
+ RUNDIR=/var/run/clamav
+ LOGDIR=/var/log/clamav
+ '[' -z '' ']'
++ getent passwd clamav
+ '[' -z '' ']'
+ adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav
Adding system user `clamav' (UID 104) ...
Adding new group `clamav' (GID 105) ...
Adding new user `clamav' (UID 104) with group `clamav' ...
Not creating home directory `/var/lib/clamav'.
+ chown clamav:clamav /var/lib/clamav
+ chown clamav:clamav /var/run/clamav
+ chown clamav:clamav /var/log/clamav
+ '[' -f /etc/aliases ']'
+ grep -qi '^clamav' /etc/aliases
+ echo 'clamav: root'
++ which newaliases
+ newal=
dpkg: error processing clamav-base (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
clamav-base
--
| Lucas Nussbaum
| lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |
--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Arg. Good catch. I see that for some reason I must have been
mistakenly thinking that the subshell would handle that, but clearly
not. So it should be
newal=`which newaliases || true`.
Will upload soon, and thanks,
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)