* Christian Fromme <ka...@strace.org>, 2007-04-09, 22:31:
Wollen Sie fortsetzen? [Y/n/?] Schreibe erweiterte Statusinformationen... Fertig Extrahiere Templates aus Paketen: 100% Vorkonfiguration der Pakete ... (Lese Datenbank ... 30535 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereiten zum Ersetzen von python 2.3.5-2 (durch .../python_2.4.4-2_all.deb) ... running python pre-rtupdate hooks for python2.4... Stopping Mailman MailingList Server during Python runtime change... /etc/init.d/mailman: /usr/lib/mailman/bin/mailmanctl: /usr/bin/python: bad interpreter: Datei oder Verzeichnis nicht gefunden invoke-rc.d: initscript mailman, action "stop" failed. error running python pre-rtupdate hook mailman running python failed-pre-rtupdate hook mailman
Here is my analysis of what happened:- New version of python was unpacked. (Old version of python contained /usr/bin/python symlink, but new version did not. Instead, it depended on python-minimal.)
- python's preinst stripts was run, which called pre-rtupdate scripts.- mailman's pre-rtupdate script tried to stop its service, but it failed due to missing /usr/bin/python symlink.
Because pre-rtupdate scripts are run in the python's preinst, they cannot rely on presence on any but essential packages (and maybe pre-depends of python, but there are currently none). Moreover these scripts needs to be *robust* because any failure of them will leave system hosed, as explained by Manoj in http://people.debian.org/~srivasta/manoj-policy/x673.html
-- Jakub Wilk
signature.asc
Description: Digital signature