Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have Debian 6 installed on my computer and when I installed it a year ago, I was all about having a stable system for my needs; I didn't care about the recency of the packages. Now, my opinions have reversed, I feel that I need bleeding edge more than stability. Is there any way to make Debian Bleeding Edge? For Ubuntu, I found a couple of PPAs which sort of keep certain packages updated but haven't found a good guide to do so for Debian.

Any tips?

share|improve this question
3  
upgrade to and run testing (currently Jesse). –  jordanm Jun 24 '13 at 2:14
    
@jordanm, upgrade? Can it be done without a full removal of the current Debian? –  user14517 Jun 24 '13 at 2:15
    
@Nunoxic yes. not sure how to do it in debian, but in ubuntu you would run do-release-upgrade -d –  strugee Jun 24 '13 at 2:21
1  
actually, nevermind, seems like it's manual on debian. see wiki.debian.org/DebianTesting –  strugee Jun 24 '13 at 2:23
    
The part you are looking for is: "To upgrade to next-stable testing, if you already installed the stable release, edit your /etc/apt/sources.list substituting "stable" (or the current codename for stable) in the apt lines to 'testing' (or the current code name for the next stable release). You may also do this with synaptic." –  Johan Jun 24 '13 at 5:01

1 Answer 1


To future readers: Note that this answer was written in June 2013, when Wheezy (Debian 7, released in May 2013) was "stable" and Jessie (then-upcoming Debian 8) was quite new as "testing". Consider the impact that any further development may have on the validity of the answer in your particular situation before you proceed with an upgrade.


To ease the transition, I would recommend that you do this as a two-step process. Or three: make a backup first. The probability of data loss during a Debian system upgrade is small, but non-zero, and configuration files very well may get overwritten or rewritten as part of the upgrade, and there is always the possibility that the translation isn't perfect. It should all be perfectly possible to do without having to reinstall from scratch, however.

First, follow the normal upgrade path to the most recent revision of the stable release, currently Wheezy (the link leads to the i386 upgrade manual; substitute for your architecture as needed). This basically boils down to editing /etc/apt/sources.list* to name wheezy rather than squeeze and then doing apt-get update followed by apt-get -u dist-upgrade, but read the documentation for the gory details before you proceed. I recommend test-driving Wheezy for a bit, to make sure nothing is obviously broken. If it's broken in Wheezy, it almost certainly won't magically heal in Jessie or Sid.

When you feel confident that the system is working properly under Wheezy, edit your sources.list files again, this time substituting testing or sid for wheezy. From the Debian releases page (my emphasis):

testing

The "testing" distribution contains packages that haven't been accepted into a "stable" release yet, but they are in the queue for that. The main advantage of using this distribution is that it has more recent versions of software. /.../ The current "testing" distribution is jessie.

unstable

The "unstable" distribution is where active development of Debian occurs. Generally, this distribution is run by developers and those who like to live on the edge. The "unstable" distribution is called sid.

If you want bleeding edge, you want sid/unstable. Note that Sid is prone to heavy breakage. If you want more recent versions of packages but semi-stable, then you want testing.

Then, do apt-get update followed by apt-get -u dist-upgrade. At the time of this writing, there does not seem to exist a specific installation guide for Jessie/testing, but it is still soon enough after the Wheezy release that the differences should be relatively small and a simple dist-upgrade should suffice in the majority of cases. The -u will make apt-get prompt for confirmation before actually performing the upgrade, giving you a reasonable chance to review the proposed changes before committing to them. I recommend not removing that command-line option unless you are feeling truly adventurous (and have really good backups).

Oh, and in case I forgot; make sure you have good backups of your data before you begin. As with any system upgrade, I strongly recommend doing it directly from the terminal (not through an X session, and certainly not through an X session without a terminal multiplexer such as screen or tmux) to avoid problems when services get restarted during the upgrade process.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.