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.

I'm developing on a system that's running Lucid 10.04.4 LTS. I can't do a complete release upgrade in order to get access to newer packages, although I do have sudo so I can otherwise muck about as needed, as long as I don't change the release version or kernel.

With Lucid's repos, including backports, I can only get boost 1.40 packages. I need a feature from a newer version of boost (I think - I'm trying to find a workaround in parallel with this questions), but I'd really like to avoid installing from source because that can turn into a rabbit hole... especially since newer packages do exist; just not in the standard Lucid repos. Is there a repo somewhere I could connect to and get newer boost packages? (Basically, I'm looking for a backport, but one that doesn't appear in the official Lucid backports...)

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

You are looking for backports that don't exist in your upstream repository (because of the end of life thing). So the answer is that you need to:

  • find repositories (that you trust!) that include the desired backports for your version
  • bite the bullet and upgrade to a supported OS version
  • build from source or otherwise acquire desired components

The former means adding something to your /etc/apt/sources.list file manually or using add-apt-repository. I can't recommend a given repo since I don't know what you need, but here's an example for nginx:

sudo -s
echo "deb http://nginx.org/packages/ubuntu/ lucid nginx"     >>/etc/apt/sources.list
echo "deb-src http://nginx.org/packages/ubuntu/ lucid nginx" >>/etc/apt/sources.list
nginx=stable # use nginx=development for latest development version
add-apt-repository ppa:nginx/$nginx
apt-get update 
apt-get install nginx

http://wiki.nginx.org/Install#Ubuntu_PPA

You should look for similar repos for whatever software you want.

Fair warning: your expectation that it will be easier to not change the base Ubuntu version is questionable. At some point you will have cherry picked a whole bunch of components that were designed, tested and documented primarily against newer releases and it would just make sense to be on that release.

For development purposes you might find it way cleaner to just install/run VirtualBox (or another virtualization platform) and put the latest and greatest OS on there virtually.

share|improve this answer
    
+1 for "Fair warning" –  msw Jul 18 '13 at 0:09
    
@Joe Atzberger Thanks, that's helpful. Just to clarify, it's not that I don't want to upgrade revisions nor that I think it's easier not to. However, this is a shared machine and I don't want to break anything for the primary user. (Upgrading boost only should be okay because I know nobody else on that machine is using boost...) Your suggestion to use VirtualBox is a good idea, though! I'll look into that... –  Dave Lillethun Jul 18 '13 at 1:23
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.