Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Basically, I have a server running 12.04 LTS, and for some reason apt only has python 2.7.3, which is ~18 months out of date.

Unfortunately, there are some bugs in the older version of python (specifically, I'm using the zipfile library, which fails silently on certain archive compression formats (tested against a different box with python 2.7.6)).

Basically, where can I get an updated python install? I don't see it in apt-cache, but I can't imagine the LTS apt repositories aren't being updated.

share|improve this question
    
I think the exact python version is generally a constant of a release, since it is heavily used both in the OS and end-user applications and even a point release change presents a substantial regression risk. See wiki.ubuntu.com/StableReleaseUpdates for the rules concerning updating a package in a stable release. It appears the next LTS (14.04 Trusty) will ship with python 2.7.6. –  chronitis Dec 2 '13 at 10:36
    
@chronitis I'd understand not letting it autoupdate, but it's not available AT ALL. –  Fake Name Dec 2 '13 at 11:04
    
Looking at the changelog for python (aptitude changelog python2.7) some bug-fixes from subsequent point releases have been included into python 2.7.3. It is possible that if you open a bug for this specific fix it might be backported. As far as it not being available, I think the problem is that there isn't a mechanism for multiple minor releases to be used concurrently - multiple major versions are handled with separate packages (eg, gcc-4.4 and gcc-4.6), but providing a newer version of the python2.7 package would replace 2.7.3. –  chronitis Dec 2 '13 at 13:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.