No Audio In Whonix-WS-16

I recently installed and switched my Whonix AppVMs to use the new Whonix 16 templates.

I have noticed after I no longer have any audio in the Whonix-ws-16 AppVMs. I tried streaming some youtube videos with mpv (via newsboat) and this was the output-

user@host:~$ newsboat
Starting newsboat 2.21.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from /home/user/.newsboat/urls...done.
Loading articles from cache...done.
[ffmpeg] tcp: Failed to resolve hostname www.youtube.com: Temporary failure in name resolution
Failed to open https://www.youtube.com/watch?v=EBZsxojao0E.
[ytdl_hook] ERROR: Unable to download API page: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution'))) 
[ytdl_hook] youtube-dl failed: unexpected error occurred 

Exiting... (Errors when loading file)
[ffmpeg] tcp: Failed to resolve hostname www.youtube.com: Temporary failure in name resolution
Failed to open https://www.youtube.com/watch?v=6GpEJdhL7ck.
[ytdl_hook] ERROR: Unable to download API page: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution'))) 
[ytdl_hook] youtube-dl failed: unexpected error occurred 

Exiting... (Errors when loading file)
[ffmpeg] tcp: Failed to resolve hostname www.youtube.com: Temporary failure in name resolution
Failed to open https://www.youtube.com/watch?v=6GpEJdhL7ck.
[ytdl_hook] ERROR: Unable to download API page: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution'))) 
[ytdl_hook] youtube-dl failed: unexpected error occurred 

Exiting... (Errors when loading file)
     Video --vid=1 (*) (h264 640x360 30.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
[ao/alsa] Playback open error: No such file or directory
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[ao/jack] cannot open server
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
[ao/sdl] could not open audio: ALSA: Couldn't open audio device: No such file or directory
[ao] Failed to initialize audio driver 'sdl'
Could not open/initialize audio device -> no sound.
Audio: no audio

Exiting... (Errors when loading file)
Cleaning up cache...done.
user@host:~$

I also have no audio in the browser. The dom0 audio mixer doesn’t even register my Whonix AppVM.

I neglected to mention that I had enabled the backports and testing repositories on the whonix-ws-16 Template (wanted the latest version of qutebrowser because it has dark mode configs). I was able to solve the problem by recloning a new Template without the testing repo enabled.

Takeaway: When they say the using the testing branch could break your system, they aren’t joking.