Re: Is there a way to positively, uniquely identify which Debian release a program is running on?
On 09-Jun-07, 04:30 (CDT), Petter Reinholdtsen <pere@hungry.com> wrote:
> My point is that it is useful to know what major release of Debian a
> machine is using,
My point is the only reliable way to determine that is via
/etc/apt/sources and /etc/apt/preferences, not to mention
/var/lib/dpkg/status (because packages might be on hold).
Yes, many systems don't mix-n-match, and are pure etch or whatever. The
contents of /etc/debian_release doesn't, and can't, tell you that, no
matter how it's packaged.
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
Reply to: