pluckypigeon said: In my sources.list I have added intrepid as well as hardy.:confused:
Is their anything wrong in doing this?? :confused:
I was looking for an update of audacity and I saw it was in the intrepid repos.:(
This is fine to do, as long as you take the right precautions.
You need to pin apt so that it will still use Hardy packages by default, and only install Intrepid versions when you explicitly ask for it.
To do this, create the file /etc/apt/preferences with the following:
Package: *
Pin: release a=hardy
Pin-Priority: 900
Package: *
Pin: release a=intrepid
Pin-Priority: 800
Now you can install the updated audacity by one of two ways.
The first will not work if the Intrepid version of Audacity relies on versions of other packages that are only available in intrepid:
sudo apt-get install audacity/intrepid
The second way will work if Audacity requires dependencies from Intrepid, but has a higher chance of breaking your system as it will be pulling in more than just audacity from Intrepid:
sudo apt-get -t intrepid install audacity
Here is a good reference that explains apt pinning (if my explanation differs, please follow the instructions on this page):
http://jaqque.sbih.org/kplug/apt-pinning.html