Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 27398  / 2 Years ago, wed, may 4, 2022, 4:58:16

I'm currently using precise. I need to upgrade a certain package (namely bind9 and it's dependencies) to a newer version, which is currently found in raring (alfa at the time of writing this). How to do it ?



What will happen if I just add to my sources.list:



deb http://archive.ubuntu.com/ubuntu raring main


Will the next apt-get update / apt-get upgrade, upgrade most of my system to raring then ?


More From » apt

 Answers
5

If you want to mix repositories like that you should use pinning.



See https://help.ubuntu.com/community/PinningHowto for details.



When pinning, you install a single package and as few dependencies as possible.



Without pinning, sudo apt-get upgrade will update (upgrade) many or all your packages and very likely will cause breakage.



In general, unless you have a lot of experience with apt, mixing repositories, even with pinning is inadvisable.



Better to find a ppa or use backports.



My advice is that you use Craven's ppa.



https://help.ubuntu.com/community/UbuntuBackports



IMO, if a package is not available, I agree with the advice to build from source as, IMO, it is less likely to cause irreparable harm to the system.


[#32322] Thursday, May 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pilun

Total Points: 270
Total Questions: 100
Total Answers: 94

Location: England
Member since Sat, Feb 13, 2021
3 Years ago
pilun questions
Thu, Sep 16, 21, 18:43, 3 Years ago
Mon, Aug 23, 21, 04:32, 3 Years ago
Wed, Sep 14, 22, 11:04, 2 Years ago
;