I get this message after installing any program via terminal libdvd-pkg: apt-get check failed, you may have broken packages. Aborting...

as seen in the image:enter image description here

note: i don't really know if this happens every time i install a program but it happened like 3 to 4 times if anyone knows what is up with that feel free to answer.

4 Answers 4


TLDR: You may safely remove libdvd-pkg with sudo apt remove libdvd-pkg if you don't run DVDs.

This is probably a problem with the package and doesn't seem to be a problem specific to elementary OS as it also affects vanilla Ubuntu 18.04. It's removal may affect if you run DVDs.


all you have to do is:

sudo dpkg-reconfigure libdvd-pkg
  • 2
    Your participation is much appreciatedđź‘Ť Let me inform you that we love informative answers with step by step guide. Have a nice day!
    – Hasan
    Commented Nov 1, 2019 at 5:18

Try this one:

sudo dpkg-reconfigure libdvd-pkg

Then a prompt will appear, you can use the "Tab" key on keyboard to select the option. Select "Yes" and press "Enter" key. If the next time you face this issue, select "No".

The original answer is here


I had the same problem. And I discovered that the problem is in the installation of a ppa repository. Maybe you had been installing some programs with a new repository. You need to delete this one!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.