VLC media playes used to work well without any problem on ubuntu 18.04 now its showing these errors:
VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc)
[000055c1a15f6570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055c1a16d23c0] skins2 interface error: cannot instantiate dialogs provider
[000055c1a15fa4e0] main playlist: playlist is empty
[000055c1a16d23c0] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.1 Vetinari
Command Line Interface initialized. Type `help' for help.
How can I solve this problem? I have tried installing and reinstalling it several times but still doesn't work.
Best Answer
TL;DR:
sudo apt install --reinstall libqt5svg5
On Ubuntu 18.04 fresh install I also got this issue. It actually seems to come from some graphical libraries not being installed properly. Here's my debug story.
First run in verbose with
vlc -v
as suggested by @kissste:So in my case it's complaining about
libQt5Svg.so.5
not being found. Let's check from which package it comes usingdpkg -S
:We have the package name
libqt5svg5
and we also have the path where the file should be, let's verify it's indeed not there withls
:The funny thing is I just installed
vlc
so the package manager should have pulled thelibqt5svg5
dependency itself. I'm curious so let's very if it's installed withdpkg --list
:So yes it's installed, but probably broken then so we need to reinstall it:
Running vlc again with
-v
flag the warning message is gone and I can see the vlc UI.