Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #197251
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Debian testing - release number |
| Date | 2018-07-06 02:10 +0200 |
| Message-ID | <w8mtX-4vI-1@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <w8iA1-1Rx-5@gated-at.bofh.it> <w8iTo-2dk-9@gated-at.bofh.it> <w8j33-2gt-9@gated-at.bofh.it> <w8jmq-2n2-5@gated-at.bofh.it> <w8k8N-30k-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 05 Jul 2018 at 16:29:30 (-0500), Nicholas Geovanis wrote: > On Thu, Jul 5, 2018 at 3:46 PM Greg Wooledge <wooledg@eeg.ccf.org> wrote: > > > > On Thu, Jul 05, 2018 at 03:27:44PM -0500, Nicholas Geovanis wrote: > > > (1) You foolishly relied on the value in /etc/debian_version when > > > > It is not a fucking configuration file that you edit. > > It is supposed to be read only. > > Only a crazy idiot would manually edit the file that tells you what > > version of the OS you're running. > > It would be like editing registry entries in Microsoft Windows to make > > it look like you're running a different version of Windows. > > All perfectly correct, valid statements in my view Greg. > But that wasn't my question. > Question: What is the correct tool to TELL you what Debian version you > are running? > Mr. Armstrong suggests that dpkg is a better choice and that sounds better than > the apt-related commands. But Joe A followed up with: > "But it's odd that you're the first to point out (indirectly) that > knowing the version of Debian isn't that useful." > I did no such thing. I think it's very useful. But what I'm trying to > point out here > is that there seems to be no such canonical (sic) Debian tool which CAN tell me > what release and version I'm running. Otherwise the answer from Joe Armstrong > would have been more like "run command XYZ which tells you version=3.4.5". > So there doesn't seem to be such a tool. That was my point. > Now we know that the answer "look at /etc/debian_version" is the wrong answer. > So again: What is the correct, intended, standard Debian tool which tells me > the installed, running Debian release and version number? Oh, that's easy. The intended one is /etc/os-release ± lsb_release (command) if it's installed. Though a closer approach might be /etc/apt/sources.list. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-06-28 06:50 +0200
Re: Debian testing - release number Richard Hector <richard@walnut.gen.nz> - 2018-07-01 12:50 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-01 19:40 +0200
Re: Debian testing - release number John Crawley <john@bunsenlabs.org> - 2018-07-04 03:00 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-04 17:20 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-05 14:20 +0200
Re: Debian testing - release number Richard Hector <richard@walnut.gen.nz> - 2018-07-04 03:20 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-04 18:00 +0200
Re: Debian testing - release number Richard Hector <richard@walnut.gen.nz> - 2018-07-05 03:00 +0200
Re: Debian testing - release number John Crawley <john@bunsenlabs.org> - 2018-07-05 04:20 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-05 12:20 +0200
Re: Debian testing - release number Joe <joe@jretrading.com> - 2018-07-05 13:00 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-05 13:50 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-05 18:10 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-05 18:50 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-05 20:00 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-05 20:10 +0200
Re: Debian testing - release number Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-07-05 22:00 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-05 22:20 +0200
Re: Debian testing - release number Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-07-05 22:30 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-05 22:50 +0200
Re: Debian testing - release number Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-07-05 23:40 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-06 02:10 +0200
Re: Debian testing - release number The Wanderer <wanderer@fastmail.fm> - 2018-07-06 19:00 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-06 20:10 +0200
Re: Debian testing - release number Joe <joe@jretrading.com> - 2018-07-05 22:40 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-06 02:20 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-06 10:50 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-06 14:10 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-06 15:10 +0200
Re: Debian testing - release number davidson <davidson@freevolt.org> - 2018-07-07 06:10 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-07 10:00 +0200
Re: Debian testing - release number Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-09 15:00 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-09 17:30 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-10 23:30 +0200
Re: Debian testing - release number Curt <curty@free.fr> - 2018-07-11 14:00 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-13 21:20 +0200
Re: Debian testing - release number David Wright <deblis@lionunicorn.co.uk> - 2018-07-05 16:50 +0200
csiph-web