LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2003, 09:14 AM   #1
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Question default woody cdrom install "unstable"?


I just installed woody from a full set of cdrom's, and my /etc/apt/sources.list lists all my sources (the 7 CD's) as using "unstable".

Am I running Sid?

How can I tell whether or not I'm running stable or unstable?

Note, I've read that I can look in my /etc/apt/apt.conf for something that looks like:

|
| # Make 'stable' the default distribution
| APT::Default-Release "stable";
|

But I don't have an apt.conf file. Has that been removed as of Woody? If so, what's replaced it?
 
Old 07-30-2003, 11:41 AM   #2
kly546
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian, FreeBSD
Posts: 13

Rep: Reputation: 0
Oh pay no attention to that. It said the same thing for my sources.list entries when I installed woody from cdrom. If I remember correctly, there was a note on the Debian website basically saying that whoever created the iso images forgot to change the title of the cds from "unstable" to "stable". You should be fine as long as it's set up for files to be downloaded from the stable branch.
 
Old 07-30-2003, 11:08 PM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 32
Thanks for the reply kly.

Looking at my sources.list (now that it's in front of me):

deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-7 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-6 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-5 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-4 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-3 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-2 (20030109)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official powerpc Binary-1 (20030109)]/ unstable contrib main non-US/contrib non-US/main

it doesn't seem that 'unstable' is being listed as part of that long CD name, does it?

Anyhow, maybe things will make more sense once I set up sources.list for pulling current (stable) stuff off the net.

Any idea about the missing /etc/apt/apt.conf file? All I've got there (besides my sources.list) is an /etc/apt/apt.conf.d/70debconf file which contains only:

// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
 
Old 07-31-2003, 07:22 AM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
I'm running SID:

$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory

If it doesn't exist, create it, but it's not needed
 
Old 07-31-2003, 09:16 AM   #5
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 32
Lightbulb

Thanks Ice. I'll have to have a 2nd look at the apt.conf man page when I get home.

Hmm... I think I might also look into trying "dpkg-reconfigure apt".
 
Old 07-31-2003, 10:11 AM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
A somewhat inaccurate, but quick and dirty way of checking what distribution you're running would be to cat /etc/debian_version.
 
Old 08-01-2003, 01:51 AM   #7
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Quote:
Originally posted by Strike
A somewhat inaccurate, but quick and dirty way of checking what distribution you're running would be to cat /etc/debian_version.
Forgive me if this sounds silly , but why is cat /etc/debian_version
a "inaccurate" & "dirty" way to determine the current version?



Regards

AXO

Last edited by Axo; 08-06-2003 at 02:22 AM.
 
Old 08-01-2003, 03:05 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Strike
A somewhat inaccurate, but quick and dirty way of checking what distribution you're running would be to cat /etc/debian_version.
servant@debian:/$ cat /etc/debian_version
3.0

That doesn't indicate the branch, does it?

As for /etc/apt/sources.list, if you set it up using the Apt How-To, it's pretty easy - at least for me.
http://www.debian.org/doc/manuals/ap...basico.en.html

To get unstable I just change the word stable in my sources.list to unstable.

See if that helps.

debian:/usr/share/man/man8# man apt.conf 5 will answer your question about the apt.conf file.

Hope this helps.
 
Old 08-01-2003, 08:21 AM   #9
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Chinaman,

3.0 == Woody == stable

So, no it doesn't tell you directly, but it does give you good hints
 
Old 08-01-2003, 08:24 AM   #10
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by AXO
Forgive me if this sounds silly , but why is cat /etc/debian_version
a "inaccurate" & "dirty" way to determine the current version?
I'm not a sys admin , just a humble home user ,who's trying to learn as much as possible .


Regards

AXO
Well, first of all, you can modify /etc/debian_version to read "super-duper-latest-and-greatest" but that doesn't make it a Debian branch But also, a more genuine concern is that that really only indicates what version one of the packages is (base-(something), can't remember what), and doesn't tell the true story of your whole system. You CAN mix branches (though don't, unless you really know what you're doing), so you could conceivably have the unstable version of whatever package /etc/debian_version is in (I'm too lazy to run dpkg -S /etc/debian_version to find which package that is), and then every other package on your system could be from stable.
 
Old 08-01-2003, 08:22 PM   #11
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Strike thanks for clearing that up for me .

Regards
AXO
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the "default" user created by zope on install? eantoranz Ubuntu 4 09-16-2005 12:49 PM
How to upgrade from "testing" to "unstable"? vharishankar Debian 7 05-01-2005 06:18 PM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 11:45 AM
Kdevelop: Changing my programs default "make install" dir DeTHZiT Programming 0 09-26-2004 01:06 PM
Can't install: msg "I could not find a Red Hat Linux CDROM" jscarlett Linux - Newbie 6 06-21-2001 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration