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
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?
- You can try building them from source.
- 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.
No comments:
Post a Comment