Debian Developers - Re: Is there a way to positively, uniquely identify which Debian release a program is

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > May 2007 > Re: Is there a way to positively, uniquely identify which Debian release a program is





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Is there a way to positively, uniquely identify which Debian release a program is
Nico Golde

2007-05-30, 7:20 pm

Hi,
* Kris Deugau <kdeugau@vianet.ca> [2007-05-30 23:06]:
[...]
> However, there doesn't seem to be any single, consistent,
> doesn't-change-for-the-life-of-the-release, programmatically possible
> (never mind *easy* just yet...) method to find out if I'm on Debian
> sarge, etch, lenny, or some third-party Debian-derived distribution.


> Nor does there seem to be any similar indicator to see if I'm on Debian
> 3.0, 3.1, 4.0, or whatever version list a third-party distro is up to
> this week. (Side note: When is the number version of a new release
> decided?)
>
> On RHEL and derived distros, there's usually a file /etc/redhat-release
> (sometimes renamed, but usually trivially enough that it can be found
> with little trouble) containing both the distro code name and the
> version number. It may change a little on point releases, but it's
> stable, consistent, and unique to each release.


/etc/debian_version

Kind regards
Nico
--
Nico Golde - http://ngolde.de - nion@jabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com