Community is doing great job supporting and contributing to Debian, guys are making as-stable-as-possible product for server installs. (Actually, I have never seen live production server running Debian, lol, but I think it should work well)
But if you’re using Debian on local box, as me, you can find it a bit too stable: at the moment Iceweasel 10.0.12 is in stable repo, 17.0.9 in testing, 24 in unstable.
I have lot of add-ons for Iceweasel installed and some of them (for example, Vimperator) don’t support Iceweasel 17 so I have to install Iceweasel from unstable.
Configuring apt pinning and adding repo
There are few options: if you have balls you can upgrade whole system to unstable, but mommy says you may be screwed up. In case if you’re afraid of loosing your StarTrek porn collection due to some software gotcha you should use apt pinning to update only particular packages.
You can find detailed information here, there is just slightly adapted version of this guide below.
The ‘preferences’ file is where the actual pinning takes place. Here’s an example:
1 2 3 4 5 6 7 8 9
Package defaults to any, as specified by the asterisk. Pin specifies the release (testing and unstable). Pin-Priority specifies the priority level. ‘apt-get’ defaults to something along the lines of “highest package version wins”. The above restructures this priority so that packages in testing are given a higher priority.
Then, we’ll add unstable repo to sources list (you should use the closest mirror, of course):
1 2 3 4 5 6 7 8 9 10
Installing from unstable
We can check now which package versions we have in different repos, for example, “iceweasel”:
1 2 3 4 5 6 7 8 9 10 11 12
Let’s assume that we’re running testing and we want to try Iceweasel from unstable. There are basically two methods for installing:
The first will not attempt to upgrade any packages on your system, so if specific dependencies are not met, the install will fail. The second method will attempt to install/upgrade any dependencies. Of course, given the above example, ‘apt-get’ will ask you before proceeding.
That’s all so far, folks.