Re: Cannot apt-get update

2007-10-10 Thread Jörg-Volker Peetz
Dotan Cohen wrote:
> On 09/10/2007, Kumar Appaiah <[EMAIL PROTECTED]> wrote:
>> On Mon, Oct 08, 2007 at 08:06:39PM +0200, Dotan Cohen wrote:
>>> Thank you Gerard. OT, but is there a general way to check what
>>> distro/version any *nix installation is? Today I'm playing with a
>>> friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
>>> might sit at an OpenSuse machine. I like to learn distro-ambiguous
>>> tools.
>> This might be useful:
>> http://chennailug.org/wiki/?title=Find_your_distro
>>
> 
> Nice script. Note that there's quite a bit of spam on that page. If
> you're a member of that wiki, then I suggest that you erase it. I
> don't want to register, and I could not find the address of anyone
> responsible at the chennailug website. Thanks.
> 
> Dotan Cohen
> 
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A good advice for actual distributions is given in the comment in the
beginning of that script:

lsb_release -a

-- 
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot apt-get update

2007-10-09 Thread Dotan Cohen
On 09/10/2007, Marcello Barreto de Medeiros <[EMAIL PROTECTED]> wrote:
> You could try: cat /etc/issue
>
> ##Fedora box:
> [EMAIL PROTECTED] cat /etc/issue
> Fedora Core release 4 (Stentz)
> Kernel \r on an \m
>
> ##Debian box:
> jpa:~# cat /etc/issue
> Debian GNU/Linux 4.0 \n \l
>
> ##Ubuntu box:
> [EMAIL PROTECTED]:~$ cat /etc/issue
> Ubuntu 7.04 \n \l

Nice. Thanks!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-09 Thread Marcello Barreto de Medeiros
You could try: cat /etc/issue

##Fedora box:
[EMAIL PROTECTED] cat /etc/issue
Fedora Core release 4 (Stentz)
Kernel \r on an \m

##Debian box:
jpa:~# cat /etc/issue
Debian GNU/Linux 4.0 \n \l

##Ubuntu box:
[EMAIL PROTECTED]:~$ cat /etc/issue
Ubuntu 7.04 \n \l


On Tue, 9 Oct 2007 14:07:09 +0200
"Dotan Cohen" <[EMAIL PROTECTED]> wrote:

> On 09/10/2007, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > Well, I guess there won't be one place to look in all OSs to discover
> > which one it is.
> >
> > In OpenBSD, the first line of the dmesg is
> > OpenBSD (version) (kernel version)
> >
> > In Debian, to know the version, you really have to look at the
> > /etc/apt/sources_list, since /etc/debian_version only gets changed with
> > each stable release; you can't tell the diff between testing and Sid.
> >
> > I don't know what Ubuntu looks like.
> >
> > The NetBSD and OpenBSD have a man afterboot.  Then again, its easy to
> > tell if you are running a Linux or a BSD.
> >
> > Doug.
> 
> Thanks. I'll start familiarizing myself with the different outputs.
> I'm no guru, and will never be one, but I like to know as much as I
> can. Thank you.
> 
> Dotan Cohen
> 
> http://what-is-what.com
> http://gibberish.co.il
> __-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__


-- 
--
Marcello Barreto de Medeiros
  Network Admin/Programmer
  +55 84 3231 4617 [Office]
  +55 84 9914 3254 [Mobile]
[EMAIL PROTECTED] [MSN]
  Linconet Brasil
--



Re: Cannot apt-get update

2007-10-09 Thread Dotan Cohen
On 09/10/2007, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> Well, I guess there won't be one place to look in all OSs to discover
> which one it is.
>
> In OpenBSD, the first line of the dmesg is
> OpenBSD (version) (kernel version)
>
> In Debian, to know the version, you really have to look at the
> /etc/apt/sources_list, since /etc/debian_version only gets changed with
> each stable release; you can't tell the diff between testing and Sid.
>
> I don't know what Ubuntu looks like.
>
> The NetBSD and OpenBSD have a man afterboot.  Then again, its easy to
> tell if you are running a Linux or a BSD.
>
> Doug.

Thanks. I'll start familiarizing myself with the different outputs.
I'm no guru, and will never be one, but I like to know as much as I
can. Thank you.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-09 Thread Douglas A. Tutty
On Tue, Oct 09, 2007 at 12:56:37PM +0200, Dotan Cohen wrote:
> On 09/10/2007, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > > Thank you Gerard. OT, but is there a general way to check what
> > > distro/version any *nix installation is? Today I'm playing with a
> > > friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
> > > might sit at an OpenSuse machine. I like to learn distro-ambiguous
> > > tools.

> > dmesg
> >
> > Generally, near the top when the kernel boots there's some indication
> > of what OS this is.
> 
> Thanks, Doug. dmesg shows the kernel info, but not what distro (or
> version) is installed. I was hoping to find a way of discovering what
> distro is installed without rebooted the machine. I'll poke around in
> the boot log, it may be there. Thanks.

Well, I guess there won't be one place to look in all OSs to discover
which one it is.  

In OpenBSD, the first line of the dmesg is
OpenBSD (version) (kernel version)

In Debian, to know the version, you really have to look at the
/etc/apt/sources_list, since /etc/debian_version only gets changed with
each stable release; you can't tell the diff between testing and Sid.

I don't know what Ubuntu looks like.

The NetBSD and OpenBSD have a man afterboot.  Then again, its easy to
tell if you are running a Linux or a BSD.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot apt-get update

2007-10-09 Thread Dotan Cohen
On 09/10/2007, Kumar Appaiah <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 08, 2007 at 08:06:39PM +0200, Dotan Cohen wrote:
> > Thank you Gerard. OT, but is there a general way to check what
> > distro/version any *nix installation is? Today I'm playing with a
> > friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
> > might sit at an OpenSuse machine. I like to learn distro-ambiguous
> > tools.
>
> This might be useful:
> http://chennailug.org/wiki/?title=Find_your_distro
>

Nice script. Note that there's quite a bit of spam on that page. If
you're a member of that wiki, then I suggest that you erase it. I
don't want to register, and I could not find the address of anyone
responsible at the chennailug website. Thanks.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-09 Thread Dotan Cohen
On 09/10/2007, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > Thank you Gerard. OT, but is there a general way to check what
> > distro/version any *nix installation is? Today I'm playing with a
> > friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
> > might sit at an OpenSuse machine. I like to learn distro-ambiguous
> > tools.
> >
>
> dmesg
>
> Generally, near the top when the kernel boots there's some indication
> of what OS this is.
>
> Doug.

Thanks, Doug. dmesg shows the kernel info, but not what distro (or
version) is installed. I was hoping to find a way of discovering what
distro is installed without rebooted the machine. I'll poke around in
the boot log, it may be there. Thanks.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-08 Thread Kumar Appaiah
On Mon, Oct 08, 2007 at 08:06:39PM +0200, Dotan Cohen wrote:
> Thank you Gerard. OT, but is there a general way to check what
> distro/version any *nix installation is? Today I'm playing with a
> friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
> might sit at an OpenSuse machine. I like to learn distro-ambiguous
> tools.

This might be useful:
http://chennailug.org/wiki/?title=Find_your_distro

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot apt-get update

2007-10-08 Thread Douglas A. Tutty
On Mon, Oct 08, 2007 at 08:06:39PM +0200, Dotan Cohen wrote:
> On 08/10/2007, Gerard Robin <[EMAIL PROTECTED]> wrote:
> > >I do not know what
> > >version Debian this is, or how up to date it is, as it is not my
> > >machine. How can I check?
> > cat /etc/debian_version
> 
> Thank you Gerard. OT, but is there a general way to check what
> distro/version any *nix installation is? Today I'm playing with a
> friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
> might sit at an OpenSuse machine. I like to learn distro-ambiguous
> tools.
> 

dmesg

Generally, near the top when the kernel boots there's some indication
of what OS this is.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot apt-get update

2007-10-08 Thread Dotan Cohen
On 08/10/2007, Ralph Katz <[EMAIL PROTECTED]> wrote:
> On 10/08/2007 09:06 AM, Dotan Cohen wrote:
> > When I run apt-get update, it gets stuck at "99% [Waiting for headers]
> > ". I have tried removeing repos from /etc/apt/sources.list but it did
> > not help. What must be done to correct this? I do not know what
> > version Debian this is, or how up to date it is, as it is not my
> > machine. How can I check?
> >
>
> Erev tov, Dotan -- I get that message when not connecting to one of the
> repos.  Just change to new repos for the update/upgrade session by
> choosing different ones from the mirrors list on debian.org.
>
> Ralph

Erev tov Ralph! Thank you, I switched repos and the error has
disappeared. Toda raba.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-08 Thread Dotan Cohen
On 08/10/2007, Gerard Robin <[EMAIL PROTECTED]> wrote:
> >I do not know what
> >version Debian this is, or how up to date it is, as it is not my
> >machine. How can I check?
> cat /etc/debian_version

Thank you Gerard. OT, but is there a general way to check what
distro/version any *nix installation is? Today I'm playing with a
friend's Debian system, at home I've Ubuntu and Fedora, and tomorrow I
might sit at an OpenSuse machine. I like to learn distro-ambiguous
tools.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


Re: Cannot apt-get update

2007-10-08 Thread Ralph Katz
On 10/08/2007 09:06 AM, Dotan Cohen wrote:
> When I run apt-get update, it gets stuck at "99% [Waiting for headers]
> ". I have tried removeing repos from /etc/apt/sources.list but it did
> not help. What must be done to correct this? I do not know what
> version Debian this is, or how up to date it is, as it is not my
> machine. How can I check?
> 

Erev tov, Dotan -- I get that message when not connecting to one of the
repos.  Just change to new repos for the update/upgrade session by
choosing different ones from the mirrors list on debian.org.

Ralph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot apt-get update

2007-10-08 Thread Gerard Robin

On Mon, Oct 08, 2007 at 01:06:57PM +, Dotan Cohen wrote:

From: Dotan Cohen <[EMAIL PROTECTED]>
To: debian user 
Subject: Cannot apt-get update
X-Spam-Status: No, score=0.86 tagged_above=3.6 required=5.3
tests=[MIME_BASE64_NO_NAME=0.224, SARE_MSGID_LONG40=0.637,
SPF_PASS=-0.001]
X-Spam-Level: 


I do not know what
version Debian this is, or how up to date it is, as it is not my
machine. How can I check?

cat /etc/debian_version
--
Gérard



Cannot apt-get update

2007-10-08 Thread Dotan Cohen
When I run apt-get update, it gets stuck at "99% [Waiting for headers]
". I have tried removeing repos from /etc/apt/sources.list but it did
not help. What must be done to correct this? I do not know what
version Debian this is, or how up to date it is, as it is not my
machine. How can I check?

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת