severity 424703 serious
tags 424703 patch
kthxbye

On Wed, May 16, 2007 at 23:03:06 +0100, Markus Schoder wrote:

> Package: python
> Version: 2.4.4-5
> 
> Package fails to install:
> 
> Setting up python (2.4.4-5) ...
> dpkg: error processing python (--configure):
>  subprocess post-installation script returned error exit status 1
> 
> Reverted back to 2.4.4-4 for now.
> 
Same here, output from the postinst with set -x:
Setting up python (2.4.4-5) ...
+ [ -d /etc/python ]
+ [ -f /etc/python/debian_config ]
+ [ -n 2.4.4-4 ]
+ dpkg --compare-versions 2.4.4-4 lt 2.4
+ [ -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
dpkg: error processing python (--configure):
 subprocess post-installation script returned error exit status 1

# ls -l /var/lib/python
ls: /var/lib/python: No such file or directory

Changing "rmdir --ignore-fail-on-non-empty /var/lib/python 2>/dev/null"
into "rmdir /var/lib/python 2>/dev/null || true", everything works fine.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to