由于本指南,我错误地删除了ALSA配置 http://hackerzelite.blogspot.in/2014/03/fix-sound-driver-on-kali-linux.html 。现在没有声音图标,也没有声音。
如果我尝试从终端安装ALSA包,我会收到以下错误:
sudo apt-get install alsa-base alsa-base-udeb alsa-firmware-loaders alsa-oss
alsa-source alsa-tools alsa-tools-gui alsa-utils alsa-utils-udeb alsamixergui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-base 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 'alsa-base' has no installation candidate
E: Unable to locate package alsa-base-udeb
E: Unable to locate package alsa-firmware-loaders
E: Unable to locate package alsa-oss
E: Unable to locate package alsa-source
E: Unable to locate package alsa-tools-gui
E: Unable to locate package alsa-utils
E: Unable to locate package alsa-utils-udeb
E: Unable to locate package alsamixergui
的sources.list
## Regular repositories
deb http://http.kali.org/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security/ kali/updates main contrib non-free
## Source repositories
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
我不知道Kali,但因为它是Debian衍生物,所以它与Ubuntu不同。它必须已存在于您的安装光盘上,因此请将其插入并确保在您的存储库中启用它,然后重试。
—
AFH
不确定你的意思,是的,我确实有Kali-linux可启动USB
—
STEEL
你有没有GUI来显示你的存储库?它可用于
—
AFH
sudo software-properties-gtk
,如果你有这个或可以安装它。或者在较低级别,您可以直接编辑存储库 /etc/apt/sources.list
。您应该找到安装光盘的注释掉的条目:删除前导 #
。