LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2006, 05:32 AM   #1
mrxoliver
LQ Newbie
 
Registered: Jan 2006
Location: London
Distribution: Debian 3.1
Posts: 15

Rep: Reputation: 0
Apt-get python2.3 error (stops me being able to configure GNOME)


When I install python 2.3 using apt-get

I get this error:

Code:
Setting up python2.3 (2.3.5-9.1) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling /usr/lib/python2.3/encodings/cp500.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp737.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp775.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp850.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp852.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp855.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp856.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp857.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp860.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp861.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp862.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp863.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Compiling /usr/lib/python2.3/encodings/cp864.py ...
Sorry: TypeError: ('compile() expected string without null bytes',)
dpkg: error processing python2.3 (--configure):
 subprocess post-installation script returned error exit status 1
It then gives me a long list of all the programs that cannot be configured.

eg:
Code:
dpkg: dependency problems prevent configuration of dia-libs:
 dia-libs depends on python2.3 (>= 2.3); however:
  Package python2.3 is not configured yet.
I gives me the same error message when I do a dpkg --configure as well.

I think it may have only just happened when I installed GNOME, because I must of installed it to make Amarok and a whole lot of other KDE applications work.

Shall I attempt to revert back to an older version, if so, how can I do this without ruining a lot of other dependant packages?

Is it possible to make the GNOME apps use python 2.4 instead of 2.3?

Is there some dependancy that the apt-get tree is missing that I require?

Thanks
 
Old 03-19-2006, 11:22 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
what command are you using to install it? it looks like you're trying to compile it. Why don't you just install the binary version?
 
Old 03-21-2006, 11:27 AM   #3
mrxoliver
LQ Newbie
 
Registered: Jan 2006
Location: London
Distribution: Debian 3.1
Posts: 15

Original Poster
Rep: Reputation: 0
I installed the binary, but it doesn't really matter any more because I got a new HDD and reinstalled the OS, everything works fine now though, thanks anyway!
 
  


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
gnome-python ./configure error Seiken Slackware 11 03-23-2005 05:21 PM
Trying to Compile ogle, Stops at ./configure when looking for libglade predator.hawk Slackware 5 10-09-2004 07:55 AM
apt-get: python2.3 configure error Captain Harlock Debian 0 08-18-2004 08:59 PM
'make' error while installing Python2.3.4 ! Kanaflloric Linux - Software 3 07-29-2004 07:16 PM
apt-get ERROR during install gnome 2.4 ..:eMa:.. Debian 1 05-06-2004 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

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