Hello Lior, Thanks for the pointer. The culprit was the install-info --remove command in the octave3.0-info.prerm script. This command appears also in other *.prerm scripts, but in the other scripts, it was commented out and had an absolute path as the filename. The path started with /usr/info, a directory which does not exist in my system.
I commented out the install-info --remove command and re-ran aptitude. This time, octave3.0-info was removed and dpkg was upgraded. --- Omer On Fri, 2015-04-17 at 10:26 +0300, Lior Okman wrote: > 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 <w...@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? -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html 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@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il