Kali Linux No Sound


3

由于本指南,我错误地删除了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来显示你的存储库?它可用于 sudo software-properties-gtk,如果你有这个或可以安装它。或者在较低级别,您可以直接编辑存储库 /etc/apt/sources.list。您应该找到安装光盘的注释掉的条目:删除前导 #
AFH

安装CD不包含在列表中:确实如此 sources.list 有注释掉的行开头 # deb cdrom: ...?如果没有,你可以google kali repository alsa-base等等这给了我 这个链接 ,给出了 .deb 您可以下载和安装的文件。
AFH

Answers:


0

你不能从回购中获得它们,你必须得到它们 这里 并从源代码构建它。


`sudo make install rm -f /snd*.*o /persist.o /isapnp.o make [1]:进入目录 /usr/src/alsa-driver-1.0.9/acore' Makefile:6: /usr/src/alsa-driver-1.0.9/Makefile.conf: No such file or directory make[1]: *** No rule to make target /usr/src/alsa-driver-1.0.9/Makefile.conf”。停止。 make [1]:离开目录 /usr/src/al
STEEL
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.