Sound problems on Ubuntu 18.04 LTS

ian ian at ncsa.jp
Wed Jan 22 01:14:27 UTC 2020


Hi Stan

Thanks for the reply.

I decided to give your script a try, but I had a few problems:

>   sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
>    sudo alsa force-reload aplay /usr/share/sounds/alsa/Front_Center.wav

When I ran that, I got this message:
"Invalid option "--purge" (only "--purge-unused" is valid).  Perhaps you want the "purge" action?"

So I modified the script to:

sudo apt-get  --purge remove linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
sudo apt-get install linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
sudo alsa force-reload aplay /usr/share/sounds/alsa/Front_Center.wav

Clunky but I thought it would do the trick. Now I get:
E: Unable to locate package linux-ubuntu-modules-5.3.0-26-generic
E: Couldn't find any package by glob 'linux-ubuntu-modules-5.3.0-26-generic'
E: Couldn't find any package by regex 'linux-ubuntu-modules-5.3.0-26-generic'

Any ideas?

It must be a tricky problem to fix if it's been ignored in an LTS release ...

Ian




More information about the ubuntu-users mailing list