Your message dated Thu, 17 May 2007 11:23:49 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#424767: python 2.4.4-5 postinst failure on upgrade
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: python
Version: 2.4.4-5
Severity: important
Hello,
Installing python 2.4.4-5 (upgrade) fails on postinst :
(sorry localized dpkg messages)
$ dpkg -i /var/cache/apt/archives/python_2.4.4-5_all.deb
(Lecture de la base de données... 214787 fichiers et répertoires déjà
installés.)
Préparation du remplacement de python 2.4.4-5 (en utilisant
.../python_2.4.4-5_all.deb) ...
Dépaquetage de la mise à jour de python ...
Paramétrage de python (2.4.4-5) ...
dpkg : erreur de traitement de python (--install) :
le sous-processus post-installation script a retourné une erreur de sortie
d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
python
Looking at postinst, the issue is on /var/lib/python :
$ sh -x -e ./postinst configure
+ [ -d /etc/python ]
+ [ -f /etc/python/debian_config ]
+ [ -n ]
+ [ -f /var/lib/python/python2.5_already_installed ]
+ rm -f /var/lib/python/python2.5_already_installed
+ rmdir --ignore-fail-on-non-empty /var/lib/python
My system didn't have /var/lib/python, so rmdir returns an exit status that
makes the postinst script die. Creating /var/lib/python fixed the install.
Simple workaround for the script : ignore rmdir result with eg "||
/bin/true", or test the presence of the directory before calling rmdir.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.20.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages python depends on:
ii python-minimal 2.4.4-5 A minimal subset of the Python lan
ii python2.4 2.4.4-4 An interactive high-level object-o
python recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.4.4-6
=?UTF-8?Q?Ga=EF=BF=BDRoualland?= writes:
> Package: python
> Version: 2.4.4-5
> Severity: important
>
> Hello,
>
> Installing python 2.4.4-5 (upgrade) fails on postinst :
already fixed in 2.4.4-6
--- End Message ---