E:软件包“软件中心”没有安装候选 2 否决票
我正在尝试将其添加到存储库中。笔记:编辑/etc/apt/sources.list
并添加这两行:
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
然后在终端中运行以下命令:
$ apt-get update
然后尝试:
$ apt-get install software-center
我再次遇到同样的错误。我究竟做错了什么?
答案1
将这些添加到/etc/apt/sources.list
:
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
希望您注意到源列表中额外的space
& ' ' 和缺失的名称。/
答案2
安装快照存储此页面包含执行此操作的步骤https://snapcraft.io/docs/installing-snap-on-kali然后运行这个命令sudo snap install snap-store
snap商店是ubuntu中的默认商店,你会在kali中找到你想在ubuntu中安装的所有应用程序