[Pkg-mailman-hackers] Bug#418462: mailman: Fails to upgrade from Sarge to Etch

Christian Fromme kaner at strace.org
Mon Apr 9 20:31:34 UTC 2007


Package: mailman
Version: 1:2.1.9-7
Severity: serious

Package mailman fails to dist-upgrade from Sarge to Etch because of 
python [Output in german. I couldn't include the english version because 
I forgot to export LANG=C before fixing this]:

--------------------------------------------
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
/usr/share/python/runtime.d/mailman.rtupdate called with unknown 
dpkg: Fehler beim Bearbeiten von 
/var/cache/apt/archives/python_2.4.4-2_all.deb (--unpack):
 Unterprozess pre-installation script gab den Fehlerwert 3 zurück
dpkg: Ziehe Entfernen von python zugunsten von python-minimal in 
Betracht ...
dpkg: Nein, kann python nicht entfernen (--auto-deconfigure wird 
helfen):
 dput hängt ab von python (>= 2.3)
  python soll entfernt werden.
dpkg: Betreffend .../python-minimal_2.4.4-2_all.deb, welches 
python-minimal enthält:
 python-minimal kollidiert mit python (<= 2.4-1)
  python (Version 2.3.5-2) ist installiert.
dpkg: Fehler beim Bearbeiten von 
/var/cache/apt/archives/python-minimal_2.4.4-2_all.deb (--unpack):
 Kollidierende Pakete - installiere python-minimal nicht
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/python_2.4.4-2_all.deb
 /var/cache/apt/archives/python-minimal_2.4.4-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ein Paket konnte nicht installiert werden. Versuche zu lösen:
Richte python-support ein (0.5.6) ...
/var/lib/dpkg/info/python-support.postinst: 
/usr/sbin/update-python-modules: /usr/bin/python: bad interpreter: Datei 
oder Verzeichnis nicht gefunden
dpkg: Fehler beim Bearbeiten von python-support (--configure):
 Unterprozess post-installation script gab den Fehlerwert 126 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von mini-dinstall:
 mini-dinstall hängt ab von python-support (>= 0.2); aber:
  Paket python-support ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von mini-dinstall (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-central:
 python-central hängt ab von python (>= 2.3.5-7); aber:
  Version von python auf dem System ist 2.3.5-2.
dpkg: Fehler beim Bearbeiten von python-central (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von mailman:
 mailman hängt ab von python-support (>= 0.2); aber:
  Paket python-support ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von mailman (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-apt:
 python-apt hängt ab von python-central (>= 0.5); aber:
  Paket python-central ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-apt (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Richte python2.4-minimal ein (2.4.4-3) ...
Linking and byte-compiling packages for runtime python2.4...
python or pycentral not found in pycentral.rtinstall hook.
dpkg: Fehler beim Bearbeiten von python2.4-minimal (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von bittornado:
 bittornado hängt ab von python-support (>= 0.2); aber:
  Paket python-support ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von bittornado (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-dns:
 python-dns hängt ab von python-support; aber:
  Paket python-support ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-dns (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python2.4:
 python2.4 hängt ab von python2.4-minimal (= 2.4.4-3); aber:
  Paket python2.4-minimal ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python2.4 (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 python-support
 mini-dinstall 
 python-central
 mailman       
 python-apt     
 python2.4-minimal
 bittornado     
 python-dns     
 python2.4      
--------------------------------------------------

I found out that '/usr/bin/python' was a symlink pointing to the 
non-existant binary '/usr/bin/python2.3'. However, I could fix it by 
doing the following:

# rm /usr/bin/python
# ln -s /usr/bin/python2.4 /usr/bin/python

Cheers,
Christian
-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages mailman depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  apache2-mpm-prefork [httpd] 2.2.3-4      Traditional model for Apache HTTPD
ii  cron                        3.0pl1-100   management of regular background p
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  exim4                       4.63-17      metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tr 4.63-17      lightweight exim MTA (v4) daemon
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  logrotate                   3.7.1-3      Log rotation utility
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  pwgen                       2.05-1       Automatic Password generation
ii  python                      2.4.4-2      An interactive high-level object-o
ii  python-support              0.5.6        automated rebuilding support for p
ii  ucf                         2.0020       Update Configuration File: preserv

mailman recommends no packages.

-- debconf information:
  mailman/queue_files_present:
* mailman/default_server_language: en
  mailman/gate_news: false
* mailman/site_languages: en
* mailman/used_languages: en
* mailman/create_site_list:




More information about the Pkg-mailman-hackers mailing list