Hi!

On Sun, 2014-06-22 at 06:45:35 +0200, Harald Dunkel wrote:
> Package: dpkg
> Version: 1.17.10

> # dpkg -P plxc
> (Reading database ... 283820 files and directories currently installed.)
> Removing plxc (1.0.4.140618-1) ...
> Failed to issue method call: Unit plxc.service not loaded.
> dpkg: error processing package plxc (--purge):
>  subprocess installed pre-removal script returned error exit status 5
> Failed to issue method call: Unit plxc.service failed to load: Invalid 
> argument. See system logs and 'systemctl status plxc.service' for details.
> Errors were encountered while processing:
>  plxc
> # dpkg --force-all -P plxc
> (Reading database ... 283820 files and directories currently installed.)
> Removing plxc (1.0.4.140618-1) ...
> Failed to issue method call: Unit plxc.service not loaded.
> dpkg: error processing package plxc (--purge):
>  subprocess installed pre-removal script returned error exit status 5
> Failed to issue method call: Unit plxc.service failed to load: Invalid 
> argument. See system logs and 'systemctl status plxc.service' for details.
> Errors were encountered while processing:
>  plxc

> The package doesn't provide a pre-removal script; it was added
> by debhelper.
> 
> Upgrading the package to a fixed version doesn't work, either.

How so?

> What would you suggest to get rid of the bad package (without
> cheating, of course)? Is there a --force option I could use?

The correct solution is usually to upgrade to a fixed version. The
second best might be a proposed workaround [W]. And, no there's
currently no force option available, but there are bug reports filed
for many if not all those. So I'd say this bug report is in principle
redundant given the above.

[W] 
<https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Can_dpkg_be_told_to_avoid_invoking_a_harmful_prerm_from_an_installed_package_on_upgrade.3F>.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to