无法纠正问题,您持有损坏的软件包。gstreamer1.0-vaapi 软件包存在问题

无法纠正问题,您持有损坏的软件包。gstreamer1.0-vaapi 软件包存在问题

当我尝试更新我的系统(Ubuntu 22.04)时出现此错误,并收到此错误消息

以下包裹已被保留:
  gstreamer1.0-vaapi
升级了 0 个,新安装了 0 个,删除了 0 个,并且未升级 1 个。

我尝试了互联网上建议的一些解决方案,例如手动安装软件包,但收到以下消息: sudo apt-get install gstreamer1.0-vaapi

以下软件包具有未满足的依赖关系:
 gstreamer1.0-vaapi:依赖:libgstreamer-plugins-bad1.0-0(>= 1.20.3)但需要安装 1.20.1-1ubuntu2
埃:由于无法纠正问题,您持有的包裹已损坏。

并且“libgstreamer-plugins-bad1.0-0”也已安装。我也尝试过类似的命令,sudo apt-get dist-upgrade但还是出现同样的错误。

我在带有 Nvidia GPU 的 Ubuntu 22.04 上。

[编辑]:伙计们,这不是重复的,https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages我试过那里的建议,但我仍然遇到这个问题。谢谢。

答案1

我在运行更新时遇到了完全相同的错误。我认为,当前构建链中存在一些问题。我建议稍等片刻,看看软件包的新更新是否能修复此问题:

$ sudo apt upgrade gstreamer1.0-vaapi/jammy-updates
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '1.20.1-1ubuntu1' (Ubuntu:22.04/jammy-updates [amd64]) for 'gstreamer1.0-vaapi'
Selected version '1.20.3-0ubuntu1' (Ubuntu:22.04/jammy-updates [amd64]) for 'libgstreamer-plugins-bad1.0-0' because of 'gstreamer1.0-vaapi'
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gstreamer1.0-plugins-bad : Depends: libgstreamer-plugins-bad1.0-0 (= 1.20.1-1ubuntu2) but 1.20.3-0ubuntu1 is to be installed
E: Broken packages

相关内容