Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Please check a Debian noobs sources.list

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
kansasnoob
Posts: 17
Joined: 2010-03-10 04:19

Please check a Debian noobs sources.list

#1 Post by kansasnoob »

I think I'm nearly OK here but I've been swimming downstream in Ubuntu and several other Debian based noob friendly distros for about 2 years and thought it was time to really get my feet wet :)

I just installed Squeeze (went flawlessly too) and following two guides I've edited my sources.list thus:
#
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 NETINST Binary-1 20100217-22:18]/ squeeze main

#deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 NETINST Binary-1 20100217-22:18]/ squeeze main

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://www.debian-multimedia.org squeeze main non-free
I managed to get everything working as I like, that is I installed flashplayer-mozilla, icedtea6-plugin, libdvdcss2, openjdk-6-jre, w32codecs, gphoto2, mozilla-plugin-vlc, nautilus-gksu, and sensors-applet and all seems to be working well other than having a red X telling me I have no network connection even though I do (I hope that's just a development issue since Squeeze is still in testing). Oh and I see gufw doesn't seem to work so I just set up ufw from cli.

But regarding my sources.list when I run apt-get update I think all looks fine unless I'm missing something:
root@lance-desktop:/home/lance# apt-get update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org squeeze/updates/main Translation-en_US
Hit http://www.debian-multimedia.org squeeze Release.gpg
Hit http://www.debian-multimedia.org squeeze/main Translation-en_US
Ign http://www.debian-multimedia.org squeeze/non-free Translation-en_US
Ign http://security.debian.org squeeze/updates/contrib Translation-en_US
Ign http://security.debian.org squeeze/updates/non-free Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Hit http://www.debian-multimedia.org squeeze Release
Ign http://security.debian.org squeeze/updates/main Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/main Sources/DiffIndex
Ign http://security.debian.org squeeze/updates/contrib Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/non-free Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/contrib Sources/DiffIndex
Ign http://security.debian.org squeeze/updates/non-free Sources/DiffIndex
Hit http://deb.opera.com stable Release
Hit http://www.debian-multimedia.org squeeze/main Packages/DiffIndex
Hit http://security.debian.org squeeze/updates/main Packages
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/contrib Packages
Hit http://security.debian.org squeeze/updates/non-free Packages
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
Hit http://www.debian-multimedia.org squeeze/non-free Packages/DiffIndex
Ign http://deb.opera.com stable/non-free Packages/DiffIndex
Ign http://deb.opera.com stable/non-free Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://deb.opera.com stable/non-free Packages
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org squeeze/main Translation-en_US
Ign http://ftp.us.debian.org squeeze/contrib Translation-en_US
Ign http://ftp.us.debian.org squeeze/non-free Translation-en_US
Hit http://ftp.us.debian.org squeeze Release
Hit http://ftp.us.debian.org squeeze/main Packages/DiffIndex
Hit http://ftp.us.debian.org squeeze/main Sources/DiffIndex
Get:1 http://ftp.us.debian.org squeeze/contrib Packages/DiffIndex [2,023B]
Get:2 http://ftp.us.debian.org squeeze/non-free Packages/DiffIndex [2,023B]
Get:3 http://ftp.us.debian.org squeeze/contrib Sources/DiffIndex [2,023B]
Get:4 http://ftp.us.debian.org squeeze/non-free Sources/DiffIndex [2,023B]
Fetched 8,092B in 44s (184B/s)
Reading package lists... Done
But every time I open Synaptic I get this warning:
W: Duplicate sources.list entry http://ftp.us.debian.org squeeze/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_squeeze_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.debian.org squeeze/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_squeeze_updates_main_binary-i386_Packages)
Suffice it to say that no warning should be ignored :)

But I'm a bit stumped :?

The two guides I followed (only somewhat on the first because it's for Lenny):

http://www.howtoforge.com/the-perfect-d ... n-lenny-p2

http://www.debian-multimedia.org/

Maybe I edited the lines "ftp2.de.debian.org" incorrectly to "ftp.us.debian.org", or maybe worse :oops:

For being a testing release I expected many more problems than this, I'm very impressed :D

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Please check a Debian noobs sources.list

#2 Post by Absent Minded »

if you comment out or remove the first 2 net sources (they only have "main") then it will quit complaining about duplicates in your source.list file.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

kansasnoob
Posts: 17
Joined: 2010-03-10 04:19

Re: Please check a Debian noobs sources.list

#3 Post by kansasnoob »

I'll give that a whirl in the AM. I was thinking it had to do with the five I'd added, especially since I kind of guessed at editing the ones with "ftp2.de". Could it be that I guessed right :shock:

I can't get over how well this runs. It's very stable for still being a "testing" release. X seems much more stable in Squeeze than in Karmic or Lucid.

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Please check a Debian noobs sources.list

#4 Post by Absent Minded »

just to be more clear I intended to mean these 4 lines:

Code: Select all

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
I have been very happily running testing for several years. IMHO it runs better than "most" distros stable releases.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

kansasnoob
Posts: 17
Joined: 2010-03-10 04:19

Re: Please check a Debian noobs sources.list

#5 Post by kansasnoob »

Gosh I can see that now :oops:

I must've been really tired, I can see now that I added: main contrib non-free
, silly me.

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Please check a Debian noobs sources.list

#6 Post by Absent Minded »

i wouldn't worry about it too much i have done the same thing on more than one occasion.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

Post Reply