Libdvd-pkg: `apt-get check` failed

mike@orac:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy
mike@orac:~$ uname -r

I ran

sudo apt install ubuntu-restricted-extras

and got

All done, no errors.
All fonts downloaded and installed.
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...


I would make sure Ubuntu was uptodate… ie update and upgrade

Then I would try apt-get install -f
More than once.

Then I would purge the ubuntu-restricted-extras package
and attempt a fresh install.

Then if it still fails, I think the package really is broken… you either complain or try an earlier version or wait for a fix in a later version.

Also read this

If that is correct, you need to install from source code.
I am dubious about this… I dont see why anyone would make a binary package that can not be installed, and if it really is a licence issue I dont see how installing from source code would help.


I fixed it with

sudo dpkg-reconfigure libdvd-pkg

I would love to know why that works?
Thanks for letting us know.


Yes these DVD codecs have always been a bit finicky.
They are for watching DVD discs through VLC player.

I just had a look at a script I saved called For Watching DVD’S

sudo apt install libdvd-pkg
First time install, click yes both times. Close window, then activate line below in terminal.
sudo dpkg-reconfigure libdvd-pkg