Am 13.07.2008 um 12:09 schrieb Christoph Burgmer: > Am Sonntag, 13. Juli 2008 schrieb Francois Marier: >> > If there is no otherway to work around the possible bad behaviour please >> > at least tell your users what to do, as I assume this package attracts >> > rather inexperienced users due to the nature of the task. >> >> If I understand you correctly, you'd like to see a clearer debconf message. >> What do you think it should say instead of the current one?
IMO it is a bug in apt that it aborts the whole installation because of one failing preinst. It should upgrade the other packages and leave safe-rm alone. > Hmm, I guess what I described is the only work around? Then maybe tell the > user to stop installing safe-rm i.e. removing it and install it again later. Yes, that seems to be necessary, because something like "aptitude install safe-rm" will likely try to resolve broken dependencies which results in something like this: ,---- | Entpacke Ersatz für safe-rm ... | Can't exec "/bin/rm": Datei oder Verzeichnis nicht gefunden at /usr/bin/rm line 159. | dpkg: Fehler beim Aufräumen: | Unterprozess rm cleanup gab den Fehlerwert 255 zurück | Can't exec "/bin/rm": Datei oder Verzeichnis nicht gefunden at /usr/bin/rm line 159. | dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/libgcc1_1%3a4.3.1-6_i386.deb (--unpack): | Unterprozess rm cleanup gab den Fehlerwert 255 zurück | Verarbeite Trigger für man-db ... | Fehler traten auf beim Bearbeiten von: | /var/cache/apt/archives/libgcc1_1%3a4.3.1-6_i386.deb | E: Sub-process /usr/bin/dpkg returned an error code (1) | Ein Paket konnte nicht installiert werden. Versuche zu lösen: | Richte safe-rm ein (0.2-5) ... | Cleaning up after safe-rm 0.2-3... | Entferne »diversion of /bin/rm to /bin/rm.real by safe-rm« | Paketlisten werden gelesen... Fertig | Abhängigkeitsbaum wird aufgebaut | Lese Status-Informationen ein... Fertig | Lese erweiterte Statusinformationen | Initialisiere Paketstatus... Fertig | Lese Task-Beschreibungen... Fertig `---- This is what I got in a chroot after unsuccessful attempts to "aptitude safe-upgrade" (aborting the safe-rm installation) followed by "aptitude install safe-rm" (which wanted to fix broken gcc-4.3 dependencies). Yes, dpkg (more exactly dpkg-deb) runs rm itself. What a mess. :-( Regards, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]