[Bug 434111] Re: package clamav-freshclam 0.95.2+dfsg-4ubuntu1.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
Imre Gergely
gimre at narancs.net
Sat Nov 7 18:13:29 UTC 2009
I'm no expert on this, but maybe this has something to do with that
other error message a bit further up in the logfile, namely:
Removing splashy-themes ...
Removing splashy ...
update-initramfs: deferring update (trigger activated)
WARNING: Original lsb-base-logging.sh was not found. You MUST reinstall package lsb-base after splashy was deleted!!!
Purging configuration files for splashy ...
WARNING: Original lsb-base-logging.sh was not found. You MUST reinstall package lsb-base after splashy was deleted!!!
dpkg - warning: while removing splashy, directory `/usr/share/splashy/themes' not empty so not removed.
dpkg - warning: while removing splashy, directory `/usr/share/splashy' not empty so not removed.
Removing libsplashy1-dev ...
Removing libsplashy1 ...
Here it says that you have to reinstall lsb-base, which contains the
file /lib/lsb/init-functions, which in turn is being used in /etc/init.d
/clamav-freshclam script when starting/shutting down initscripts.
Between the lines
* Stopping ClamAV virus database updater freshclam
return: 307: Illegal number: Stopping
invoke-rc.d: initscript clamav-freshclam, action "stop" failed.
the first line is in /etc/init.d/clamav-freshclam, the third line is in /var/lib/dpkg/info/clamav-freshclam.prerm, which tries to shut the freshclam daemon down before upgrading the package.
Notice that first it tries to run the installed prerm script from /var/lib/dpkg/info, and then it tries to run the new script from the new package which is going to be installed. Neither is working, because probably something got messed up by /lib/lsb/init-functions not finding lsb-base-logging.sh script.
Please try to reinstall the lsb-base package and see if that resolves
the freshclam problem.
** Changed in: clamav (Ubuntu)
Assignee: (unassigned) => Imre Gergely (cemc)
--
package clamav-freshclam 0.95.2+dfsg-4ubuntu1.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
https://bugs.launchpad.net/bugs/434111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list