LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-16-2006, 01:34 AM   #1
coralsaw
Member
 
Registered: Dec 2005
Posts: 35

Rep: Reputation: 15
python2.4-minimal fails to install


Hello all,

On SID, trying to upgrade I got an error, which is fine I guess, as I'm working with unstable. Problem is, from then on subsequent upgrades also fail. Trying to reinstall python2.4-minimal fails as well.

Any ideas how I can remedy the situation. Error follows

TiA

/coralsaw

Code:
$ sudo aptitude upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up python2.4-minimal (2.4.3-7) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1365, in ?
    main()
  File "/usr/bin/pycentral", line 1359, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 892, in run
    pkg.set_default_runtime_from_version_info()
  File "/usr/bin/pycentral", line 575, in set_default_runtime_from_version_info
    self.default_runtime = get_runtime_for_version(versions[0])
TypeError: unindexable object
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.3-7); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.4-minimal
 python2.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python2.4-minimal (2.4.3-7) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1365, in ?
    main()
  File "/usr/bin/pycentral", line 1359, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 892, in run
    pkg.set_default_runtime_from_version_info()
  File "/usr/bin/pycentral", line 575, in set_default_runtime_from_version_info
    self.default_runtime = get_runtime_for_version(versions[0])
TypeError: unindexable object
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.3-7); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.4-minimal
 python2.4
 
Old 06-16-2006, 08:21 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Same for python2.3
http://lists.debian.org/debian-devel.../msg00706.html

What I did:
Download http://incoming.debian.org/python-ce...0.4.17_all.deb
Code:
dpkg  --force depends -i python-central_0.4.17_all.deb
apt-get dist-upgrade
I guess this will be corrected quickly, if not already.

Last edited by nx5000; 06-16-2006 at 08:22 AM.
 
Old 06-16-2006, 09:49 AM   #3
coralsaw
Member
 
Registered: Dec 2005
Posts: 35

Original Poster
Rep: Reputation: 15
Thx a million nx5000.

Worked like a charm and I learned something on the way. :-)

/coralsaw

Last edited by coralsaw; 06-16-2006 at 10:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when install Red Had Linux (Fedora core 1); ...python2.2: relocation error... timetldco Linux - Newbie 1 04-19-2006 06:47 AM
Install python2.4 elopee Programming 7 02-01-2005 12:14 PM
Can't install python2.3 on RH9 SheldonPlankton Linux - Software 0 08-26-2004 12:21 PM
gyach-enhanced and pygtk2/python2 install juzchillin Linux - Games 1 07-18-2004 10:22 PM
Gyach-Enhanced/python2 install juzchillin Linux - Software 1 05-09-2004 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration