首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我不能在kali linux中更新、安装或添加应用程序。

我不能在kali linux中更新、安装或添加应用程序。
EN

Unix & Linux用户
提问于 2018-03-03 23:35:07
回答 1查看 1.6K关注 0票数 -5

当我想要寻呼或安装apt-get的应用程序时,我有以下错误:

代码语言:javascript
复制
> 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?)
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-03-04 00:09:29

您的/etc/apt/sources.list文件(或/etc/apt/sources.list.d/目录中的一个文件)有打印输出。

第一次警告,为清晰和强调而重新包装的行:

代码语言:javascript
复制
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是两个或更多行一起运行的一个非常明确的标志。

票数 3
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/427968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档