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

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 i





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 i
Gabor Gombas

2007-05-31, 7:22 am

On Wed, May 30, 2007 at 04:46:30PM -0400, Kris Deugau wrote:

> 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.


Your approach is wrong. Many machines have packages installed from
multiple distributions simultaneously (sarge+etch, sarge+backports,
etch+backports, etch+lenny, lenny+sid, sid+experimental are probably the
most common combinations nowadays). Backported packages may even be
compiled locally so they may not have any distribution associated with
them at all.

> Some searching turned up a suggestion to use the glibc version as a
> reference... which might be OK if there weren't so much overlap between
> releases. (I checked woody, sarge, etch, and lenny. There was
> overlap between woody and *etch*, IIRC. Ewww.)


Forget it. I already have a machine in production which is mostly etch
but glibc and a handful of other packages are from lenny.

Gabor

--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com