我从 Kali Linux 中的“添加/删除软件”选项卸载了我的浏览器 (iceweasel)。在删除时,它要求同时卸载一个我不记得的依赖包。
但现在,当我按照其官方网站上给出的说明重新安装它时,出现以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package iceweasel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'iceweasel' has no installation candidate
有什么建议 !!!
答案1
您可以将以下行添加到您的/etc/apt/sources.list
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
然后运行
apt-get update
apt-get upgrade
apt-get install iceweasel