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
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-plugin-festival libmail-sendmail-perl
  stardict-plugin-espeak gettext libqt4-gui cvs pcmanx-gtk2
  ttf-arphic-bsmi00lp lsb pax ttf-arphic-gbsn00lp stardict-gtk rpm
  imagemagick-doc bsd-mailx html2text libqt3-mt mailx lsb-core alien
  libestools1.2 libsys-hostname-long-perl stardict-plugin gnuit lsb-cxx
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://debian.nctu.edu.tw karmic/main python2.5-minimal 2.5.4-1ubuntu6 
[1,234kB]
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.5-minimal_2.5.4-1ubuntu6_i386.deb) ...
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/pycentral", line 2196, in <module>
    main()
  File "/usr/bin/pycentral", line 2190, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1746, in run
    pkg = DebPackage('package', pkgname, oldstyle=False)
  File "/usr/bin/pycentral", line 381, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 414, in read_pyfiles
    self.pkgconfig.set('pycentral', 'include-links', '0')
  File "/usr/lib/python2.6/ConfigParser.py", line 669, in set
    ConfigParser.set(self, section, option, value)
  File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'pycentral'
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 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-gda:
 python-gda depends on python2.5 (>= 2.5); however:
  Package python2.5 is not configured yet.
dpkg: error processing python-gda (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-gnome2-extras:
 python-gnome2-extras depends on python-gda (= 2.25.3-3ubuntu1); however:
  Package python-gda is not configured yet.
dpkg: error processing python-gnome2-extras (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          No apport report written because MaxReports is 
reached already
        No apport report written because MaxReports is reached already
                                                                      Errors 
were encountered while processing:
 medibuntu-keyring
 python2.5-minimal
 python2.5
 python-gda
 python-gnome2-extras

-- 
package python2.5-minimal 2.5.4-1ubuntu4 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/367162
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to