LinuxQuestions.org
Review your favorite Linux distribution.
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 11-05-2012, 09:22 AM   #1
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Rep: Reputation: Disabled
Duplicate sources.list entry


Hi everyone,

When I run apt-get update I receive this warning message:

Code:
W: Duplicate sources.list entry http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages (/var/lib;/apt/lists/ftp.uk.debian.org_debian_dists_squeeze_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
Here is my /etc/apt/sources.list

Code:
# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

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

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

# squeeze-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ squeeze-updates main
deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main

# Debian Squeeze/6.0.6
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
I added the last line to install my wifi driver - is this what is causing the issue? Also, do I need the first entry for the cdrom?

Thank you in advance.
 
Old 11-05-2012, 09:39 AM   #2
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Fixed - needed to add the "contrib non-free" components after the first entry.

Code:
# Debian Squeeze/6.0.6
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main

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

# squeeze-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ squeeze-updates main
deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main
 
  


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
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM
duplicate sources skeletonca Linux - Desktop 1 05-10-2007 02:51 AM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
sources.list entry format for suse 9.2.9 repository TomF Suse/Novell 4 04-06-2005 04:49 PM


All times are GMT -5. The time now is 08:57 AM.

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