[Bug 1015414] Re: package clamav-base 0.97.3+dfsg-2.1ubuntu1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Scott Kitterman ubuntu at kitterman.com
Sun Jul 1 01:28:41 UTC 2012


The triaging is not correct here.  The problem is that on this system
someone has manually created a clamav user as a non-system user.  That
(correctly) causes the postinst to fail because it can't correct the
situation.  The user needs to do so.

The call in the postinst is:

adduser --system --no-create-home --quiet --disabled-password
--disabled-login --shell /bin/false --group --home /var/lib/clamav
clamav

Because it has --quiet, if the clamav user exists as a system user there
(correctly) won't be an error, but if it's a non-system user it
(correctly) errors out.

The solution here is to delete the non-system clamav user and then
reinstall ($ sudo userdel clamav).

** Changed in: clamav (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/1015414

Title:
  package clamav-base 0.97.3+dfsg-2.1ubuntu1 failed to install/upgrade:
  sub-processo script post-installation instalado retornou estado de
  saída de erro 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1015414/+subscriptions



More information about the Ubuntu-server-bugs mailing list