7

I am getting this error when I tried to update my system (Ubuntu 22.04) and getting this error message

The following packages have been kept back:
  gstreamer1.0-vaapi
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I have tried some solutions suggested on the internet like installing the package manually and i got this message: sudo apt-get install gstreamer1.0-vaapi

The following packages have unmet dependencies:
 gstreamer1.0-vaapi : Depends: libgstreamer-plugins-bad1.0-0 (>= 1.20.3) but 1.20.1-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

and "libgstreamer-plugins-bad1.0-0" also already installed. I have also tried commands like sudo apt-get dist-upgrade but I am getting the same error.

I'm on Ubuntu 22.04 with a Nvidia GPU.

[Edit]: Guys, this is not a duplicate of https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages I have tried the suggestions from there but I am still having this issue. Thank You.

yaa__
  • 771

1 Answers1

4

I am getting the exact same error while running updates. Something, I believe, is currently broken in the current build chain. I would suggest waiting a little bit and seeing if a new update to the package fixes the issue:

$ 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

FedKad
  • 13,420