[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?

E.S. Rosenberg esr+linux-il at g.jct.ac.il
Fri Apr 17 12:00:32 IDT 2015


BTW unless you are tied to Octave 3.0 debian et. al moved on to
octave-* which by now are at octave 3.8.x...

2015-04-17 11:57 GMT+03:00 E.S. Rosenberg <esr+linux-il at g.jct.ac.il>:
> I assume you are using apt or some other 'high level' tool, I have
> found that when stuck like that removing with the dpkg command
> generally works... (dpkg -P or dpkg -r depending on what you need).
>
> HTH, שבת שלום,
> Eliyahu - אליהו
>
> 2015-04-17 10:26 GMT+03:00 Lior Okman <lior at okman.name>:
>> 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
>>
>>
>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>



More information about the Linux-il mailing list