First look in the backports repo located at http://backports.debian.org/
Once you find what you are looking for you need the backports repo in your sources.list.
Add the backports repo to your sources.list
Code: Select all
sudo nano /etc/apt/sources.list
Code: Select all
# Debian Stable Backports
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
ctrl+o writes to the file
ctrl+x saves
Next as root do:
Code: Select all
apt-get update
Code: Select all
apt-cache search vlc
In this case you basically have 4 options:
1) Build it from sid yourself
2) Download the source from the vlc site(or whatever package you need) and try to compile it. Usually there is a READ.me follow the steps in it to install, you can use checkinstall instead of using make install, this will create a .deb which can be easily removed using apt-get/aptitude. Or follow the steps locate at HowTo Build a Package from Source the Smart Way - http://forums.debian.net/viewtopic.php?f=16&t=38976 to correctly build a proper Debian .deb.How do I backport a sid package to testing or stable?
Install the Debian source (and the development tools, especially debhelper, devscripts, and build-essential), and then build the package.
Step by step:
Following the same steps you used to add the backports repo:
add a deb-src line for sid to your sources.list
deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free
apt-get update
apt-get build-dep PACKAGE_NAME
apt-get -b source PACKAGE_NAME
The resulting debs should be in the current directory and can be installed with dpkg -i the.deb or gdebi if you have it installed.
3) Use the Mepis repo , which is usually a safe bet since stevepusser does such a great job of building the packages.
4) If it is a multimedia package you can check if it is in the debian-multimedia.org repo, this however can cause problems in Stable, if you are running sid you can safely use the dmm repo for any multimedia packages.
1 and 3 are probably your best bets, with 2 being the most difficult and 4 a crap shoot. Always look in backports first.
In the case of Iceweasel/Firefox there is a separate repo located at http://mozilla.debian.net follow the directions there to install whichever version of Iceweasel you are wanting to use, it currently has the current release, Beta, and Aurora.
There are many third party repos available, many of which are in my Giant sources.list. However you are advised to stick with the Debian repos as much as possible. Do not mix Stable, Testing, or Unstable repos or packages. Stick with the release you are running, your system will be much more 'stable'. You have been warned, now go forth and apt-get moo.
Some additional notes:
1) Before upgrading please read the changelog from Sid first (packages in Backports are, at most, as new as those in Sid) and make sure that you have a valid reason to update a package. Keep in mind newer isn't always better.
2. Since Backports became official, there's no need to install its keyring package; it's now included in the Debian keyring.
3. The Debian Mozilla repository is effectively a Backports one. It may not be official, but it behaves like Backports, identifies as Backports does and needs Backports to fulfill its dependency chain when using it on Stable.