package python2.5-minimal 2.5.4-1ubuntu4 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Bug #367162 reported by
Win Zin
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.5 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.5
during Virtual Box 2.2.0 deb package installation
ProblemType: Package
Architecture: i386
Dependencies:
libgcc1 1:4.3.3-5ubuntu4
zlib1g 1:1.2.3.
gcc-4.3-base 4.3.3-5ubuntu4
findutils 4.4.0-2ubuntu4
libc6 2.9-4ubuntu6
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelMo
Package: python2.5-minimal 2.5.4-1ubuntu4
SourcePackage: python2.5
Title: package python2.5-minimal 2.5.4-1ubuntu4 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686
To post a comment you must log in.
Please help me fix this. This python 2.5 problem has plagued me for so long........
Following some advice elsewhere I tried running:
sudo dpkg -r --force-depends python2.5-minimal
followed by
sudo apt-get -f install
The output is:
Reading package lists... Done plugin- festival libmail- sendmail- perl plugin- espeak gettext libqt4-gui cvs pcmanx-gtk2 bsmi00lp lsb pax ttf-arphic-gbsn00lp stardict-gtk rpm hostname- long-perl stardict-plugin gnuit lsb-cxx debian. nctu.edu. tw karmic/main python2.5-minimal 2.5.4-1ubuntu6 [1,234kB] 5-minimal_ 2.5.4-1ubuntu6_ i386.deb) ... pycentral" , line 2196, in <module> pycentral" , line 2190, in main run(global_ options) pycentral" , line 1746, in run 'package' , pkgname, oldstyle=False) pycentral" , line 381, in __init__ read_pyfiles( ) pycentral" , line 414, in read_pyfiles pkgconfig. set('pycentral' , 'include-links', '0') python2. 6/ConfigParser. py", line 669, in set r.set(self, section, option, value) python2. 6/ConfigParser. py", line 377, in set section) NoSectionError: No section: 'pycentral'
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libqt4-opengl librpmbuild0 stardict-common debhelper intltool-debian postfix
lsb-graphics lsb-desktop m4 librpmio0 librpm0 libpcmanx-core0 po-debconf
ncurses-term stardict stardict-
stardict-
ttf-arphic-
imagemagick-doc bsd-mailx html2text libqt3-mt mailx lsb-core alien
libestools1.2 libsys-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python2.5-minimal
The following NEW packages will be installed:
python2.5-minimal
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
4 not fully installed or removed.
Need to get 1,234kB of archives.
After this operation, 4,575kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 1,234kB in 1s (685kB/s)
Selecting previously deselected package python2.5-minimal.
(Reading database ... 278035 files and directories currently installed.)
Unpacking python2.5-minimal (from .../python2.
Processing triggers for man-db ...
Setting up medibuntu-keyring (2008.04.20) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing medibuntu-keyring (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up python2.5-minimal (2.5.4-1ubuntu6) ...
Linking and byte-compiling packages for runtime python2.5...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/lib/
ConfigParse
File "/usr/lib/
raise NoSectionError(
ConfigParser.
dpkg: error processing python2.5-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.5:
python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu6); however:
Package python2.5-minimal is not configured yet.
dpkg: error processing python2.5 (--con...