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:
- Is it safe to install these packages manually (e.g. by downloading from
http://packages.ubuntu.com/hardy
?) -
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
Best Answer
This is not recommended, probably won't work, and can break your 12.04 system!
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.
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?