3

My ubuntu upgrade from 20.04 to 22.04 is stuck in the cleanup phase. Last message is:

/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 already tried dpkg-reconfigure from libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting but this obviously fails as the database is locked.

~$ sudo dpkg-reconfigure libdvd-pkg
libdvd-pkg: dpkg database is locked. You may need to use command "sudo dpkg-reconfigure libdvd-pkg".
libdvd-pkg: Building and installation of package(s) [libdvdcss2 libdvdcss-dev] postponed till after next APT operation.

Not sure what to do now. Can I savely abort this and restart?

Distribution upgrade stuck

Sebastian
  • 574
  • 1
  • 5
  • 15

1 Answers1

3

Nevermind... After a while it just continued and finished the update successfully. So the solution is to just wait for half an hour or so.

Edit: Afterwards I had to run sudo dpkg-reconfigure libdvd-pkg

Sebastian
  • 574
  • 1
  • 5
  • 15
  • Unfortunately, it keeps on showing up in every subsequent `apt-get upgrade`. I have tried reinstalling the package (libdvdcss2) but it keeps telling me that it can no longer be downloaded. Have you figured out a solution? – balu Sep 21 '22 at 11:11
  • @balu yeah you are right. Any idea how to solve this? – Sebastian Oct 14 '22 at 18:06
  • 2
    Solved it with "sudo dpkg-reconfigure libdvd-pkg". I'll adapt the answer – Sebastian Oct 21 '22 at 18:33