Keep current with Debian’s releases

The current stable release of Debian—at the time of writing—is version 4.0r3, or ‘Etch’. Keeping current with the release cycle requires some work by default. It is not much, but some may prefer having it fully automated. This can easily be achieved by fine tuning the repository source list.

Debian only includes static releases as repository sources by default. But when running Linux on a desktop, you will probably want to update as soon as new stable release is available.

Changing # /etc/apt/sources.list to refer to stable instead of etch will keep the system up‐to‐date with the current stable release; instead of holding it back at one specific static stable release.

# Current stable release’s repositories
deb ftp://ftp.no.debian.org/debian/ stable main contrib non-free
deb-src ftp://ftp.no.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

Run # aptitude update afterward to make the system aware of the changed paths (or possibly even update it if needed). Note that you still have to make a #aptitude dist-upgrade when new stable releases are made available. Chaging the repository will only make you aware of when the stable releases changes, and not change anything by it self.

Copyright © 2008 Daniel Aleksandersen 2008-04-15 at 01:04

« Starting over | Home | Less feed? »

2 comments

Is there a reason why this is not the default setup? It seams to be a nice tip!

Comment by Fred H. at 2008-04-15 @874.

Some users —think buisness users and servers —may prefer to have one system. It is easier to maintain when it stays the same all the time.

Personal users, like the folks reading this blog, will probably prefer having the latest and greatest stable software as it is made available.

Hope that answers your question, Fred.

Comment by Daniel Aleksandersen at 2008-04-15 @877.

Leave your comment




Related entries Stay informed

Get a free subscription to new entries in the Open Source Notebook!

News feed icon Navigation

Runbox Runbox logo
  • 10 GB email storage,
  • 1 GB file storage,
  • 100 MB attachment limit,
  • your own domain,

...and more! Get your own premium email for just 49 USD per year!

Categories Archives

The archive keeps a record of all entries that have ever been published! Have a look back in time, and see what was going on!

License

This blog entry text is licensed under a Creative Commons Sampling Plus 1.0 License. The license explained, and legal notes.

Creative Commons Sampling+


Copyright © 2006–2008 Daniel Aleksandersen | Legal, license and trademarks | Privacy policy