Lucid Alpha and Python 2.4

J dreadpiratejeff at gmail.com
Thu Feb 11 21:22:05 UTC 2010


On Thu, Feb 11, 2010 at 16:09, John DeCarlo <johndecarlo at gmail.com> wrote:
> On Thu, Feb 11, 2010 at 3:03 PM, J <dreadpiratejeff at gmail.com> wrote:
>>
>> Do the Lucid repos contain Python 2.6?  And the obvious next question
>> is, can your python program run under 2.6?  I know there're a lot of
>> differences between 2.x and 3.x python, so it's a thought.
>>
>> Otherwise, you could get 2.4 from python.org
>> http://python.org/download/releases/
>
> Yes, I should have explained that Lucid has Python 2.5 and 2.6.

Not necessarily :-) I'm running Karmic on everything, haven't pulled a
Lucid build yet.  So I had no idea what was included.

> This application is a .deb file that has a requirement of 2.4, so I can't
> tell if it would work with 2.5 or 2.6

Ahhh, ok.  I thought it was a program requirement, not a package dependency.

> Unless I learned how to unpack the .deb, change the dependency, and repack
> it.

Check here, specifically dpkg-deb

http://www.debian.org/doc/FAQ/ch-pkgtools.en.html

That will at least let you extract the contents of the package to a
directory without doing the installation steps, so maybe that will
allow you to get everything out...

also, there's this: man dpkg

Look at the stuff about ignoring dependencies...

> Thanks for the python.org suggestion.

You're welcome... however, keep in mind that installing 2.4 from
python.org may or may not help here, as this is a package dependency,
not a program dependency.  Chances are, dpkg is checking it's own list
of installed things for deps, in which case, unless you have a python
2.4 deb to install that gets registered, it'll do you no good.

Were it me, I'd try just extracting the package to a temp folder and
installing it manually first, then going from there...

Cheers
Jeff




-- 

Mike Ditka  - "If God had wanted man to play soccer, he wouldn't have
given us arms." -
http://www.brainyquote.com/quotes/authors/m/mike_ditka.html




More information about the ubuntu-users mailing list