Digital UK Design Blog

Do you like this story?

I had an issue today when installing pytrainer. It wanted to install some extra python packages but it couldn’t.

The reason was that I had python2.5 v2.5.2-2ubuntu5 installed but the extra packages depended on an older version – 2.5.2-2ubuntu4.1.

I don’t know how I had ended up such a knot, but the ubuntu5 packages I had seemed like they had been obsoleted from hardy-proposed which is clearly one of my sources lists. Ho hum.

Downgrading through the GUI wasn’t intuitive, I tried to ‘force version’ but that seemed to have no effect.

The answer lies in the command line, and is explained by this forum post.

Aptitude lets you specify a version parameter over the command line, so I used sudo aptitude install python2.5=2.5.2-2ubuntu4.1 to install the older version. This then resolved what other packages needed downgrading, gave me a summary, and did the business.

Related posts:

  1. Ubuntu Linux – Gutsy Gibbon
  2. Ubuntu Gutsy/Nvidia GeForce Go 6100/GLX.
  3. Ubuntu Hardy Heron
  4. Easy printing in Ubuntu from Windows
  5. Cupsd Authentication in Ubuntu

Author :

Stephen O'Neill (aka Squid) is the co-founder of The Floating Frog and has written in excess of 50+ articles on web design development on the blog. Stephen now occasionally blogs, focusing his attention on his career at Ebuyer, his love for growing vegetables and his rescued cat.



Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

©2006 - 2009 The Floating Frog