Bug#489690: Opting out on installation of safe-rm breaks install process

2008-07-13 Thread Christoph Burgmer
Hi,

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?

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.

Chris



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#489690: Opting out on installation of safe-rm breaks install process

2008-07-13 Thread Sven Joachim
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]



Bug#489690: Opting out on installation of safe-rm breaks install process

2008-07-12 Thread Christoph Burgmer
Package: safe-rm
Version: 0.2-4
Followup-For: Bug #489690

Guys,

I wanted to check safe-rm when installing the package with other updates. On
installation time it told me to rather abort as it may leave my system
without /bin/rm, so I selected yes as proposed. Then aptitude didn't
commence installing packages. After starting the installation process twice
or three times I finally suspected it was safe-rm which was stopping the
whole process, and finally everything installs fine after I removed safe-rm
from my updates.

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.

Best, Chris

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (PREEMPT)
Locale: [EMAIL PROTECTED], LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages safe-rm depends on:
ii  debconf [debconf-2.0] 1.5.22 Debian configuration management sy

safe-rm recommends no packages.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#489690: Opting out on installation of safe-rm breaks install process

2008-07-12 Thread Francois Marier
Hi Chris,

 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?

Cheers,
Francois



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]