sudo apt-get install --reinstall gstreamer1.0-plugins-bad:amd64
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
volkodav@Xubuntu-15:~$ sudo dpkg --configure -a
volkodav@Xubuntu-15:~$ sudo apt-get install --reinstall gstreamer1.0-plugins-bad:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gstreamer1.0-plugins-bad : Depends: libopencv-video2.4v5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
volkodav@Xubuntu-15:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
volkodav@Xubuntu-15:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libopencv-video2.4v5
The following NEW packages will be installed:
libopencv-video2.4v5
0 upgraded, 1 newly installed, 0 to remove and 67 not upgraded.
Need to get 0 B/120 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Do you want to continue? [Y/n]