데비안 7.9 중복 소스.목록

데비안 7.9 중복 소스.목록

wheezy를 jessie로 업데이트하려고 하는데 중복 소스 오류가 발생합니다.

apt-get update
...
Reading package lists... Done               
W: Duplicate sources.list entry http://ftp.uk.debian.org/debian/ jessie/main i386 Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

그 내용은 /etc/apt/sources.list다음과 같습니다:

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

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

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

deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free
#deb-src http://ftp.uk.debian.org/debian/ jessie main contrib non-free

내용 /var/lib/apt/lists/

ftp.uk.debian.org_debian_dists_jessie_contrib_binary-i386_Packages
ftp.uk.debian.org_debian_dists_jessie_contrib_i18n_Translation-en
ftp.uk.debian.org_debian_dists_jessie_main_binary-i386_Packages
ftp.uk.debian.org_debian_dists_jessie_main_i18n_Translation-en
ftp.uk.debian.org_debian_dists_jessie_non-free_binary-i386_Packages
ftp.uk.debian.org_debian_dists_jessie_non-free_i18n_Translation-en
ftp.uk.debian.org_debian_dists_jessie_Release
ftp.uk.debian.org_debian_dists_jessie_Release.gpg
ftp.uk.debian.org_debian_dists_jessie-updates_main_binary-i386_Packages
ftp.uk.debian.org_debian_dists_jessie-updates_main_binary-i386_Packages.IndexDiff
ftp.uk.debian.org_debian_dists_jessie-updates_main_i18n_Translation-en
ftp.uk.debian.org_debian_dists_jessie-updates_main_i18n_Translation-en.IndexDiff
ftp.uk.debian.org_debian_dists_jessie-updates_Release
ftp.uk.debian.org_debian_dists_jessie-updates_Release.gpg
lock
partial
security.debian.org_dists_jessie_updates_main_binary-i386_Packages
security.debian.org_dists_jessie_updates_main_i18n_Translation-en
security.debian.org_dists_jessie_updates_Release
security.debian.org_dists_jessie_updates_Release.gpg

도와주세요. 저는 이것에 익숙하지 않고 어디서 잘못되고 있는지 모릅니다.

답변1

deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free

귀하의 경우 /etc/apt/sources.list중복/확장입니다.

deb http://ftp.uk.debian.org/debian/ jessie main

더 짧은 줄을 삭제하세요.

적어도 이론적으로는 /etc/apt/sources.list.d/*파일에 더 많은 중복된 줄이 있을 수도 있습니다.

관련 정보