Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Security > sources.list security conflicts - which sources?

Forgot Password?
 Linux Security   Discussion about keeping your machines secure, and the crackers out.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-10-2009   #1 (permalink)
Just 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' :

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
Now I'm hesitant to remove any sources, because I want to make sure I'm getting the correct security updates.

Here is my /etc/apt/sources.list file :
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
Thanks everyone, any help is appreciated!
rma88 is offline  


Reply With Quote
Old 09-10-2009   #2 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
Quote:
deb 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
Debian 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-free
Quote:
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-free
Different mirrors, but the same thing, you have main listed twice. You can tack on contrib and non-free to the original line.

Last edited by reed9; 09-10-2009 at 11:08 PM..
reed9 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:10 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2