Results 1 to 2 of 2
Hey everyone. I have the default sources in my sources.list; however, after reading a few guides I added a few sources to the file, including a security one or two. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-10-2009 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 27
sources.list security conflicts - which sources?
Hey everyone. I have the default sources in my sources.list; however, after reading a few guides I added a few sources to the file, including a security one or two. Now, I want to make sure I am getting the correct security updates, but I get this error when I go to do 'aptitude update' :
Now I'm hesitant to remove any sources, because I want to make sure I'm getting the correct security updates.Code:W: Duplicate sources.list entry http://security.debian.org lenny/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems
Here is my /etc/apt/sources.list file :
Thanks everyone, any help is appreciated!Code:deb http://http.us.debian.org/debian lenny main deb-src http://http.us.debian.org/debian lenny main deb http://security.debian.org/ lenny/updates main deb-src http://security.debian.org/ lenny/updates main deb http://volatile.debian.org/debian-volatile lenny/volatile main deb-src http://volatile.debian.org/debian-volatile lenny/volatile main # I am adding this for installation of madwifi for ARXXXX deb http://ftp.us.debian.org/debian lenny main contrib non-free # I am adding this for security updates deb http://security.debian.org/ stable/updates main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free # I am adding this TESTING repo to get guake to work, need to testing stuff :( # deb http://ftp.us.debian.org/debian squeeze main
- 09-10-2009 #2Debian allows you to use lenny or main, squeeze or testing, etc. So your lenny line and stable line are the same. You have the main section defined 3 times, and then duplicates of contrib and non-freedeb http://security.debian.org/ lenny/updates main
# I am adding this for security updates
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
Different mirrors, but the same thing, you have main listed twice. You can tack on contrib and non-free to the original line.deb http://http.us.debian.org/debian lenny main
# I am adding this for installation of madwifi for ARXXXX
deb http://ftp.us.debian.org/debian lenny main contrib non-freeLast edited by reed9; 09-10-2009 at 10:08 PM.


Reply With Quote
