Debian is currently using the wheezy (stable) repository by default. This repository contains older versions of software (for example nginx 1.2.1) while there are already newer versions available (for example nginx’s latest stable version is 1.4.7).
The reason for this is that the older versions are tested and proven stable, which is important for production servers. The updates in this repository will usually only be security updates, so there won’t be many big changes.
I prefer to use Debian’s sid (unstable) repository. Usually the software in this repository is not unstable, but it may be. It’s called unstable because this repository usually contains the latest versions of software available (this repository does contain nginx 1.4.7) and therefore it hasn’t been tested and proven stable.
You can install Debian, change your repository to sid and then perform an upgrade but you can also install Debian using sid directly.
Installing sid directly
- Download mini.iso (i386, amd64)
- Start the installation as usual, but instead of ‘Install’ choose ‘Advanced options’ > ‘Expert install’
- When you get to the step ‘Choose a mirror of the Debian archive’ you’ll eventually be asked if you want to use sid
Source: Debian wiki
Upgrading to sid
Note: as this usually upgrades many (if not all) packages the download size may be very large, depending on the packages you’ve installed. This method may also break things, for example some package’s settings may be obsolete and therefore may not work anymore. Please make a back-up before using this method.
- Open a terminal</li>
nano /etc/apt/sources.listand press enter
- Comment out (place a # in the beginning of each line) all lines
- Add the following line (you may replace nl by your own country code for faster downloads):
deb http://ftp.nl.debian.org/debian/ unstable main contrib non-free
- Save the file
- Run the following commands:
apt-get update apt-get upgrade apt-get dist-upgrade