Debian Developers - check for Sarge or Sid

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > March 2004 > check for Sarge or Sid





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 check for Sarge or Sid
GCS

2004-03-14, 9:33 pm

Hi,

I have to implement a test, which would say Sarge on a testing box and
Sid on an unstable one. How can I achieve this? /etc/debian_version
contins the same on both (no suprise here).

Thanks,
Laszlo/GCS


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Otavio Salvador

2004-03-14, 9:34 pm

GCS <gcs@lsc.hu> writes:

> Hi,
>
> I have to implement a test, which would say Sarge on a testing box and
> Sid on an unstable one. How can I achieve this? /etc/debian_version
> contins the same on both (no suprise here).


You can use apt-show-versions package. This show witch distro each
package is found.

[]s

--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Adrian 'Dagurashibanipal' von Bidder

2004-03-15, 4:34 am

Steve McIntyre

2004-03-15, 5:34 am

In article <20040315011919.GA10238@lsc.hu> you write:
>Hi,
>
> I have to implement a test, which would say Sarge on a testing box and
>Sid on an unstable one. How can I achieve this? /etc/debian_version
>contins the same on both (no suprise here).


Are you actually going to be able to do anything useful with this? A
sid box may become a sarge box over time without any admin
intervention as the packages installed move into testing. This makes
detecting the difference easier said than done...

--
Steve McIntyre, Cambridge, UK. steve@einval.com
"It's actually quite entertaining to watch ag129 prop his foot up on
the desk so he can get a better aim." [ seen in ucam.chat ]


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Number Six

2004-03-15, 5:34 am

> In article <20040315011919.GA10238@lsc.hu> you write:[color=darkred]

I would think the presence of "unstable" or "sid" in sources.list is an
accurate indicator that the user at least intends to be running Sid.


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Eike \zyro\ Sauer

2004-03-15, 6:34 am

Adrian 'Dagurashibanipal' von Bidder schrieb:
> I installed potato long time ago, upgraded to woody, installed some things
> from sarge later, and some things from sid. (For the most important parts
> are KDE which is from sid, and libc6/gcc/binutils/... which are from
> sarge. With all the dependencies, I suspect there's not much of woody left
> by now.)


I did the same and doing
apt-show-versions | grep /stable |wc -l
apt-show-versions | grep testing |wc -l
apt-show-versions | grep unstable |wc -l
shows 0/1399/233 packages. So yes, nothing of Woody is left.

This could be usefull for the OP as well:
Distribution distinction by majority...? :o)

Ciao,
Eike



--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Neil McGovern

2004-03-15, 6:34 am

On Mon, Mar 15, 2004 at 02:02:42AM -0800, Number Six wrote:
>
> I would think the presence of "unstable" or "sid" in sources.list is an
> accurate indicator that the user at least intends to be running Sid.
>
>


Unless they are pinning.

Neil
--
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li 8DEC67C5


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Nikita V. Youshchenko

2004-03-15, 10:36 am



> Hi,
>
> I have to implement a test, which would say Sarge on a testing box and
> Sid on an unstable one. How can I achieve this? /etc/debian_version
> contins the same on both (no suprise here).


What for do you need it?
Many people are running some sort of testing/unstable (or even
stable/testing/unstable) mix.


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Matt Zimmerman

2004-03-15, 12:35 pm

On Mon, Mar 15, 2004 at 02:19:19AM +0100, GCS wrote:

> I have to implement a test, which would say Sarge on a testing box and
> Sid on an unstable one.


Why?

--
- mdz


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Adrian 'Dagurashibanipal' von Bidder

2004-03-16, 5:35 am

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com