Install a single specific package from future distribution [duplicate]

Solution 1:

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.

Solution 2:

Presumably it will upgrade all the packages to the newest version found in the raring repository.

You should try adding a specific PPA for the bind9 package.