LinuxQuestions.org
Visit Jeremy's Blog.
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 03-30-2007, 11:09 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,615

Rep: Reputation: 47
/etc/apt/sources.list on debian etch


hi

I have debian etch installed:
Code:
# uname -a
Linux server.domain.net 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
could someone tell me pls, whether my /etc/apt/sources.list is correct ?
Code:
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta #i386 CD Binary-1 20070317-21:45]/ etch contrib main

#deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta #i386 CD Binary-1 20070317-21:45]/ etch contrib main

deb http://mirror.switch.ch/ftp/mirror/debian/ etch main
deb-src http://mirror.switch.ch/ftp/mirror/debian/ etch main

deb ftp://ftp.de.debian.org/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main non-free contrib
 
Old 03-30-2007, 11:31 AM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Looks okay to me, although you have redundant repositories.

I would comment out either the mirror.switch.ch (Switzerland mirror) lines or the ftp.de.debian.org (Germany mirror) line. Also make sure if you use the mirror.switch.ch lines and want more than just the main directory, add non-free contrib non-us to the end of the lines.
 
Old 03-30-2007, 11:57 AM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,615

Original Poster
Rep: Reputation: 47
I changed to:
Code:
deb http://mirror.switch.ch/ftp/mirror/debian/ etch main contrib non-free
deb-src http://mirror.switch.ch/ftp/mirror/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
Code:
# apt-get update
Get:1 http://mirror.switch.ch etch Release.gpg [189B]
Hit http://mirror.switch.ch etch Release
Hit http://mirror.switch.ch etch/main Packages/DiffIndex
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Get:3 http://mirror.switch.ch etch/contrib Packages [60.0kB]
Get:4 http://mirror.switch.ch etch/non-free Packages [83.6kB]
Hit http://security.debian.org etch/updates Release
Hit http://mirror.switch.ch etch/main Sources/DiffIndex
Get:5 http://mirror.switch.ch etch/contrib Sources [18.4kB]
Get:6 http://mirror.switch.ch etch/non-free Sources [28.1kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Get:7 http://security.debian.org etch/updates/non-free Packages [14B]
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Hit http://security.debian.org etch/updates/non-free Sources
Fetched 190kB in 7s (25.6kB/s)
Reading package lists... Done

Last edited by cccc; 03-30-2007 at 12:00 PM.
 
Old 03-30-2007, 12:23 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Looks good to me...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Debian sarge sources.list e apt-get, first steps Zingaro2002 Debian 10 05-22-2006 08:28 AM
Problems with apt/sources.list and security.debian.org grmoen Debian 2 01-04-2006 06:56 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Guide: apt-get sources,list for KDE KDevelop on Debian/Xandros jdruin Linux - Software 0 10-25-2004 08:09 PM


All times are GMT -5. The time now is 12:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration