I can not figure out how to play a DVD movie using VLC.
Can someone help me?
Thanks.
I can not figure out how to play a DVD movie using VLC.
Can someone help me?
Thanks.
sudo apt install libdvdcss2
open VLC and select Media > Open Disc, then on the menu that appears 'DVD' should be selected and 'Disc device' should be the location of your DVD disc.
If your DVD player is connected, there should be a device /dev/cdrom or /dev/sr0
I am getting this.
sudo dpkg-reconfigure libdvd-pkg
[sudo] password for andy:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
there is a process running, find the process id of dpkg-reconfigure and kill it.
I used Mate system monitor and did not find dpkg-reconfigure.
I have forgotten much of what I have learned.
ps -ef | grep dpkg
should show the process and the process id.
Thanks. I will run your steps and post my results.
andy@7 ~> ps -ef | grep dpkg
root 551579 551283 0 15:51 pts/2 00:00:00 /usr/bin/dpkg --status-fd 57 --configure --pending
root 551587 551579 0 15:51 pts/2 00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/libdvd-pkg.postinst configure
root 551598 551587 0 15:51 pts/2 00:00:00 /bin/sh /var/lib/dpkg/info/libdvd-pkg.config configure
root 551603 551587 0 15:51 pts/2 00:00:00 whiptail --backtitle Package configuration --title Configuring libdvd-pkg --output-fd 12 --nocancel --msgbox This package automates the process of launching downloads of the source files for libdvdcss2 from videolan.org, compiling them, and installing the binary packages (libdvdcss2 libdvdcss-dev). Please run "sudo dpkg-reconfigure libdvd-pkg" to launch this process for the first time. 14 77
andy 556148 556141 0 17:06 pts/3 00:00:00 grep dpkg
If you format the output, you will see the process id. You need to kill the second column of numbers (the first four). kill 551579
If they dont die, use kill -9 551579
root 551579 551283 0 15:51 pts/2 00:00:00 /usr/bin/dpkg --status-fd 57 --configure --pending
root 551587 551579 0 15:51 pts/2 00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/libdvd-pkg.postinst configure
root 551598 551587 0 15:51 pts/2 00:00:00 /bin/sh /var/lib/dpkg/info/libdvd-pkg.config configure
root 551603 551587 0 15:51 pts/2 00:00:00 whiptail --backtitle Package configuration --title Configuring libdvd-pkg --output-fd 12 --nocancel --msgbox This package automates the process of launching downloads of the source files for libdvdcss2 from videolan.org 1, compiling them, and installing the binary packages (libdvdcss2 libdvdcss-dev). Please run "sudo dpkg-reconfigure libdvd-pkg" to launch this process for the first time. 14 77
andy 556148 556141 0 17:06 pts/3 00:00:00 grep dpkg
To test, I installed the libdvd-pkg on my VM um24.04 Then, it asked me to run the reconfigure command, I did, it popped a window, I accepted the defaults and it completed successfully. My VM does not have a DVD device so I cannot show the steps on VLC.
Thanks. Ask Ubuntu helped me get the lock problem resolved.
The 'sudo fuser' answer solved the lock problem.
But I still can not play a DVD movie using VLC.
Getting old and forgetful is quite a challenge.