![“ubuntu-drivers 设备” aplay 回溯转储](https://linux22.com/image/1031751/%E2%80%9Cubuntu-drivers%20%E8%AE%BE%E5%A4%87%E2%80%9D%20aplay%20%E5%9B%9E%E6%BA%AF%E8%BD%AC%E5%82%A8.png)
ubuntu-drivers
这里出了问题。该怎么办?
$ ubuntu-drivers devices
ERROR:root:could not open aplay -l
Traceback (most recent call last):
File "/usr/share/ubuntu-drivers-common/detect/sl-modem.py", line 35, in detect
aplay = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'aplay'
答案1
我使用sudo apt-get install alsa-utils
提供 aplay 的修复了这个问题