Applications Google
Menu principal

Post a Comment On: Coder's Log

"python strikes back"

6 Comments -

1 – 6 of 6
Blogger Michael Banck said...

Well, Debian changed the default python in lenny to 2.5 last week, so you've hit a very rare "race condition" where before apt-get dist-upgrade python was pointing to python2.4, and afterwards to 2.5, I guess. Apparently the python default got updated between the error and apt finishing, so you saw the error again. Or something.

May 4, 2008 at 1:04 PM

Blogger zeenix said...

Just to be sure, the second time i did `apt-get -f install`. No matter how many times i run this command, i get the same kind of error. Any hint/help is greatly appreciated since seems many important gnome apps are python based.

May 4, 2008 at 1:11 PM

Blogger Danny said...

http://www.progprog.com/tags/ubuntu may help you

Changing stuff in /usr/bin makes a long-time debian user like me kind of twitchy -- you're asking for trouble there.

May 4, 2008 at 1:35 PM

Blogger Rodrigo Novo said...

# update-alternatives --config /usr/bin/python

is (probably) your friend.

-- Rodrigo

May 4, 2008 at 3:03 PM

Blogger zeenix said...

# update-alternatives --config /usr/bin/python
No alternatives for /usr/bin/python.

Note that it's not that this happened after I first deleted and linked '/usr/bin/python' myself for the first time last Thursday but there was no alternatives available for python at before that either.

May 4, 2008 at 3:15 PM

Anonymous Anonymous said...

If you feel the need, please come to D501 today and scream at me.

May 4, 2008 at 9:28 PM

Please no insults to anyone
You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot