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
2本以上のラインが同時に実行されているという明確な信号です。