thank you very much for the help. this was an auro generated
java-package and the prerm was messed-up trying to un
"update-alternative" for every binary file in the package.<br>
the package was containing an apt binary (java related) so it turned
out to be a real mess. since i knew where the package info is stored i
was able to peak in and fix all this...<br>
thi s experience shows me how flexible debian apt system is and , therefor, how important it is to have correct packages...<br>
till (still haven't fixed my keyboard issue)<br><br><div><span class="gmail_quote">On 8/12/05, <b class="gmail_sendername">Florian Diesch</b> <<a href="mailto:diesch@spamfence.net">diesch@spamfence.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Aug 10, 2005 at 11:48:45PM +0200, Till Varoquaux wrote:<br>> here is a pretty serious one i can't uninstall sun-j2sdk and i can't
<br>> install anything else until it gets fixed<br>> here is the ouput:<br>><br>> Reading package lists... Done<br>> Building dependency tree... Done<br>> Correcting dependencies... Done<br>> The following packages will be REMOVED:
<br>> sun-j2sdk1.5.0<br>> 0 upgraded, 0 newly installed, 1 to remove and 96 not upgraded.<br>> Need to get 0B of archives.<br>> After unpacking 140MB disk space will be freed.<br>> Do you want to continue [Y/n]? y
<br>> (Reading database ... 122467 files and directories currently<br>> installed.)<br>> Removing sun-j2sdk1.5.0 ...<br>> rm: cannot remove `/usr/bin/apt': No such file or directory<br>> dpkg: error processing
sun-j2sdk1.5.0 (--remove):<br>> subprocess pre-removal script returned error exit status 1<br>> Errors were encountered while processing:<br>> sun-j2sdk1.5.0<br>><br>> i tried touching the "missing" files (hell java trying to remove is
<br>> very wrong but i'm desparate my system is hosed anyways). ther's a<br>> whole bunch of them so i even went as far as coinning an ugly script<br>> together:<br><br><br>Probably it's better to edit /var/lib/dpkg/info/sun-
j2sdk1.5.0.prerm<br>instead. Maybe just adding<br> alias rm="rm -f"<br>at the beginning is enough<br><br><br> Florian<br>--<br>Es gibt Leute, die von sich behaupten "wenn ich Kaffee trinke, kann ich<br>nicht schlafen!". Bei mir ist das umgekehrt: Wenn ich schlafe, kann ich
<br>keinen Kaffee trinken. [Juergen Ilse in de.alt.folklore.urban-legends]<br><br>--<br>ubuntu-devel mailing list<br><a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel">
http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel</a><br></blockquote></div><br>