1

I'm using Precise Pangolin, and I sometimes notice packages I'd like to install exist on http://us.archive.ubuntu.com/ubuntu/ hardy main but not on http://us.archive.ubuntu.com/ubuntu/ precise main. I have two related questions:

  1. Is it safe to install these packages manually (e.g. by downloading from http://packages.ubuntu.com/hardy?)
  2. If so, can I also add the hardy sources to my /etc/apt/sources.list, like so?

    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
    
    deb http://us.archive.ubuntu.com/ubuntu/ hardy main
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main
    
1
  • If alternatives found in Precise Pangolin , would you give it a try. If so then please mention the packages you want in Precise Pangolin .
    – atenz
    Aug 3, 2012 at 5:44

2 Answers 2

5

This is not recommended, probably won't work, and can break your 12.04 system!

  1. You can try installing individual Hardy application debs, but there's a good chance they won't work because of dependency (library) problems; if you try to install those Hardy libraries, you will probably break your Precise system.

  2. Adding the Hardy repositories to Precise is a very bad idea and will almost immediately break your system.

Once broken, it can be very difficult to fix your system -- updating/upgrades may not work, and Precise applications may not either.

How can I use those "Hardy" applications then?

  1. You can try building them from source.
  2. But it may be easier to create a Hardy chroot instead -- this allows you to create a Hardy installation within your Precise system, which can use the Hardy repositories, install all Hardy applications, etc. and still run without causing any problems to the main Precise. Please see this Ubuntu guide for more details.
1
  • Thanks. I thought this might be the case - but it also could have been the case that it's just fine, which is why I asked. Aug 3, 2012 at 5:50
1

(1) According to me "No", It may for some little Packages to downloaded from hardy list.There are many changes had been done in packages after Hardy released.

(2) You should not edit Hardy sources in source List, it may cause Problems like Broken packages. your packages will be download from hardy list and it will be not suitable with precise.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .