[octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it?

[octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it?

Lior Okman lior at okman.name
Fri Apr 17 10:26:20 IDT 2015


Hi,

This is a dirty hack, but in the worst case, you can edit the
octave3.0-info pre-removal script (it's in /var/lib/dpkg/info ) and have
either debug that script or simply return 0 from it. If you do this, make
sure to manually do what that script would have done. Once you edited that
script, you will be able to uninstall octave3.0-info as usual (dpkg etc.).

Regards,
Lior

On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak <w1 at zak.co.il> wrote:

> In Linux (Debian Jessie which is currently Debian Testing), I
> encountered the following bug from hell.
>
> I have installed the package octave3.0-info (1:3.0.1-6lenny3) which
> conflicts with the new version of dpkg (1.17.25) which is part of Debian
> Jessie.
>
> The current dpkg version that I have is 1.17.24, and there is a problem
> with octave3.0-info which prevents the current dpkg from uninstalling
> it.
>
> Hence, a deadlock which prevents me from upgrading to the new dpkg
> version (I reported the bug:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714).
>
> Is there any expert who can advise me how to work around the deadlock
> and allow me to install the new dpkg?
>
> Thanks,
> --- Omer
>
>
>
> --
> cal 09 1752
> My own blog is at http://www.zak.co.il/tddpirate/
>
> My opinions, as expressed in this E-mail message, are mine alone.
> They do not represent the official policy of any organization with which
> I may be affiliated in any way.
> WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150417/b33a19a5/attachment.html>


More information about the Linux-il mailing list