apt-get을 사용하여 일부 애플리케이션을 업데이트하거나 설치하려고 할 때 이 오류가 발생합니다.
> sudo apt-get update Hit:1 http://kali-za.bitcrack.net/kali
> kali-rolling InRelease Reading package lists... Done W: Skipping
> acquire of configured file 'contribdeb/binary-i386/Packages' as
> repository 'http://http.kali.org/kali kali-rolling InRelease' doesn't
> have the component 'contribdeb' (component misspelt in sources.list?)
> W: Skipping acquire of configured file
> 'contribdeb/i18n/Translation-en_US' as repository
> 'http://http.kali.org/kali kali-rolling InRelease' doesn't have the
> component 'contribdeb' (component misspelt in sources.list?) W:
> Skipping acquire of configured file 'contribdeb/i18n/Translation-en'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component 'contribdeb' (component misspelt in
> sources.list?) W: Skipping acquire of configured file
> 'contribdeb/dep11/Components-i386.yml' as repository
> 'http://http.kali.org/kali kali-rolling InRelease' doesn't have the
> component 'contribdeb' (component misspelt in sources.list?) W:
> Skipping acquire of configured file 'contribdeb/dep11/icons-64x64.tar'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component 'contribdeb' (component misspelt in
> sources.list?) W: Skipping acquire of configured file
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/binary-i386/Packages'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu'
> (component misspelt in sources.list?) W: Skipping acquire of
> configured file
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/i18n/Translation-en_US'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu'
> (component misspelt in sources.list?) W: Skipping acquire of
> configured file
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/i18n/Translation-en'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu'
> (component misspelt in sources.list?) W: Skipping acquire of
> configured file
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dep11/Components-i386.yml'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu'
> (component misspelt in sources.list?) W: Skipping acquire of
> configured file
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dep11/icons-64x64.tar'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component
> 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu'
> (component misspelt in sources.list?) W: Skipping acquire of
> configured file 'lucid/binary-i386/Packages' as repository
> 'http://http.kali.org/kali kali-rolling InRelease' doesn't have the
> component 'lucid' (component misspelt in sources.list?) W: Skipping
> acquire of configured file 'lucid/i18n/Translation-en' as repository
> 'http://http.kali.org/kali kali-rolling InRelease' doesn't have the
> component 'lucid' (component misspelt in sources.list?) W: Skipping
> acquire of configured file 'lucid/i18n/Translation-en_US' as
> repository 'http://http.kali.org/kali kali-rolling InRelease' doesn't
> have the component 'lucid' (component misspelt in sources.list?) W:
> Skipping acquire of configured file 'lucid/dep11/Components-i386.yml'
> as repository 'http://http.kali.org/kali kali-rolling InRelease'
> doesn't have the component 'lucid' (component misspelt in
> sources.list?) W: Skipping acquire of configured file
> 'lucid/dep11/icons-64x64.tar' as repository 'http://http.kali.org/kali
> kali-rolling InRelease' doesn't have the component 'lucid' (component
> misspelt in sources.list?)
답변1
파일 /etc/apt/sources.list
(또는 디렉토리에 있는 파일 중 하나 /etc/apt/sources.list.d/
)에 철자 오류가 있습니다.
첫 번째 경고, 명확성과 강조를 위해 다시 설명합니다.
W: Skipping acquire of configured file
'contribdeb/binary-i386/Packages'
as repository 'http://http.kali.org/kali kali-rolling InRelease'
doesn't have the component 'contribdeb'
(component misspelt in sources.list?)
여기서 이 단어 contribdeb
는 중요한 단서입니다.
파일의 구문은 sources.list
일반적으로 deb
주석이 아닌 줄의 첫 번째 단어 이며 contrib
일반적으로(항상 그런 것은 아니지만) 줄의 마지막 단어입니다. contribdeb
두 개 이상의 라인이 동시에 실행되고 있다는 명확한 신호입니다.