![无法安装缺失的视频和音频插件](https://linux22.com/image/861867/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E7%BC%BA%E5%A4%B1%E7%9A%84%E8%A7%86%E9%A2%91%E5%92%8C%E9%9F%B3%E9%A2%91%E6%8F%92%E4%BB%B6.png)
当我尝试在终端上安装缺少的插件时,出现以下输出:
arif@arif-HP-Pavilion-15-Notebook-PC:~$ sudo apt-get purge ubuntu-restricted-extras
[sudo] password for arif:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-restricted-extras
arif@arif-HP-Pavilion-15-Notebook-PC:~$ sudo apt-get install ubuntu-restricted-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-restricted-extras
arif@arif-HP-Pavilion-15-Notebook-PC:~$
答案1
转到软件中心 -> 编辑 -> 软件源并选中所有框。我认为您需要的是多元宇宙,但为了确保万无一失,请启用所有。然后执行sudo apt-get update
(除非它自动更新),现在应该可以找到包了。
答案2
purge
命令用于删除组件及其所有依赖项。如果要安装该包,请在终端中使用以下命令
sudo apt-get install ubuntu-restricted-extras