Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm confused about debian stable vs testing vs unstable. Is there a branch that keeps relatively recent versions of packages and is reasonably usable as a daily driver?


Yes there it is, it is exactly what unstable is. Packages in there are reasonably recent and generally match upstream in functionally. There are occasional compatibility problems between packages but that is something that you cannot avoid if you want to have "relatively recent versions".


I tend to prefer using testing for getting recent packages on a desktop -- packages automatically migrate from unstable to testing if no bugs are reported within 10 days, which tends to mean a slightly more stable system, but still with reasonably recent versions.


So unstable is reasonably stable?


Except for experimental, which isn't even a coherent system, all of debian's branches are relatively stable. For personal desktop use I find unstable (Sid) to be just fine. I know it sounds bad but my rule of thumb for avoiding major problems is this: If synaptic wants to delete a bunch of important looking packages during an update - hold off a few days for things to settle down.


Yes. Been using it on my desktop for five years, had one single instance of breakage, which is better than my Ubuntu workstation.


I'm confused about debian stable vs testing vs unstable.

As the joke goes: unstable means testing, testing means stable and stable means old.


I've always heard it joked that "unstable is two letters from usable, and stable is one letter from stale". (I personally run unstable on laptops/desktops and stable on servers, and appreciate both.)


I use Debian on all my computers. The stable branch for servers and testing for others. Debian testing is sufficiently up-to-date for my taste. The very few things that are not can usually be installed anyway through backports or other repository. The last case I had (but that's a perhaps once in a year scenario) was with Batteries [1]. I needed version 2.1 but Debian testing only has 2.0, what I did is simply to install Batteries through opam [2] rather than apt-get install it.

[1] http://batteries.forge.ocamlcore.org/

[2] http://opam.ocaml.org/


do you ever use a PPA ? Most of the custom repos are meant for ubuntu and I cant ever find any which will respond to "sid" or "jessie" or something.


Nope I never had to use a PPA repository, sorry.


> Is there a branch that keeps relatively recent versions of packages and is reasonably usable as a daily driver?

For workstations where I usually want new packages I use unstable. It's not really "unstable" (IIRC Ubuntu is based on it) and has always up to date packages and bug fixes in short time. An unstable installation didn't break for me once in the last 4 years.

The problem with testing is that bugs need too long to get fixed (weeks to months). It's the testing environment for the next stable release so it doesn't really change too often and the packages aren't really the newest versions.

For servers I'm driving stable because I'm rather conservative with servers.


"Testing" is probably what you want.

Unstable is all relatively recent but likely to break regularly: it is its job to break so problems are found before packages are moved on.

Testing is less up to date but should be pretty stable. Before each new release Testing is frozen except for changes to fix problems (i.e. new new packages or version updates, except where an update/patch fixes a problem that isn't deemed insignificant for release), once the freeze is complete and the result declared ready the current Testing becomes the new Stable. It used to be that Testing did not necessarily get timely security updates like Stable, so it was strongly recommended against for production and/or public use, though this is no longer the case except for a period after a new release.

"Stable" is just that: it changes as little as possible, updates generally being only to fix security problems or other significant bugs that are found. This means that packages which see a lot of active development can become quite out of date with respect to new/updated features.


That said, unstable isn't really THAT unstable...it's generally (at worst) no worse than the non-LTS versions of Ubuntu or Fedora etc


People will recommend "testing" to you but I would advise against it... My path was: stable->testing->stable, because while on testing random stuff would break (laptop wouldn't sleep when I shut the lid, UI glitches, etc.). Plus, on testing I had to frequently update packages I didn't care about updating. I use stable now and when I need a recent package I now instead: compile from source/find backports/use a vm/vagrant

It's the price I pay for a stable system. Vagrant for my dev environments makes "stable" a much easier choice.


>Is there a branch that keeps relatively recent versions of packages and is reasonably usable as a daily driver?

Recently, I've been looking for an alternative to Debian testing or unstable for the desktop that doesn't stop getting updates during the stable freeze and doesn't break afterwards. It seems like the best option here is one of the rolling release distributions based on unstable like aptosid or siduction; I am downloading an aptosid ISO right now to try it out.

Can anyone here relate their own experiences with those?


Debian "unstable" is the "bleeding edge" version. New packages go in there on a pretty frequent basis, and things change often. Sometimes there is breakage. I would strongly advise against running this unless you're capable of and willing to fix serious breakage every now and then. And dealing with package upgrade conflicts. Sometimes you can't just "update everything", because someone just uploaded X version 2.1, only package Y has a strict versioned dependency on X <= 2.0, so you need to decide what you want.

I used "unstable" on my desktop for a while, but once every 2-3 years I'd end up with a bug that would break the early boot process, and I'd have to muck around with rescue disks and chroots and reconfiguring grub and the like. So I'd advise against this, unless you want to actually get involved in the Debian project.

Now I run "testing" on my desktop. When packages have been in "unstable" for a certain period of time (typically 10 days, although this is changing) without having a Release Critical (RC) bug filed against them, and if the move won't break any other packages, then "unstable" packages migrate to "testing". It's fairly up-to-date, although sometimes a large group of packages that need to transition all at once will take a while to synchronise.[0] And there are explicit "transitions" for some widely-used base libraries when they undergo ABI changes.[1] But you generally don't need to worry about this, as it'll mostly happen behind the scenes.

Still, if you're going to run "testing", I would still recommend installing apt-listbugs, which will tell you if there are any new RC bugs in any packages you're about to install/update (e.g. that were discovered only after the package migrated to testing), and allow you to decline the update.

Then, every couple of years or so, Debian is "frozen" for a few months, and no new updates are allowed that don't fix RC bugs. Once all the RC bugs have been fixed, and these fixes have all migrated to "testing", that version of "testing" becomes the new "stable". ("unstable" and "testing" can get a bit out-of-date during this time, but generally not too badly). "stable" is then "stable" in that it doesn't change at all, except for security updates, until the next "stable" is released a couple of years later. (There is also "backports" which packages newer releases of some software to go on top of stable, but you can't really rely on anything in particular getting a backport version.) This is handy for large deployments where you need to support users who will freak if their menus move around, or servers, or if you want to create your own distro and need an unchanging base platform to work from.

If you're moderately technical, and want fairly up-to-date shiny, I'd recommend Debian "testing". If you're interested in Free Software in and of itself, I'd definitely recommend it.[2]

[0] https://release.debian.org/migration/ [1] https://release.debian.org/transitions/ [2] http://www.debian.org/social_contract


Thanks for the detailed breakdown.

I currently run Arch on my main computer (and have for the past few years), Ubuntu on a few others, and have dabbled with some other distros for fun. I'm thinking of giving Debian a shot for my main computer, though.

How would you compare unstable and/or testing to Arch (if you have any experience with it)?


Testing's probably relatively similar to Arch, while I'd liken unstable to the AUR. IME though Arch makes living the rolling-release lifestyle substantially easier -- pinholing certain packages from Unstable can be difficult, whereas yaourt and the like make accessing the AUR easy.

There's also something to be said for mindshare. Ubuntu and its PPA system make it easy for people to build packages, and due to Ubuntu's popularity, there are lots of them. AUR does the same. Finding exotic packages for Debian (eg. Steam) can prove difficult.


Sorry, I don't have any experience with Arch.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: