Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 22590  / 3 Years ago, sun, august 29, 2021, 7:16:36

I am using Ubuntu 12.04. When I try to open a video file like a file with an .mkv extension with mplayer it says it requires some multimedia plugins like gstreamer.


When I tried to install the required multimedia plugins in the Ubuntu Software Center this error message appeared.


enter image description here



This error could be caused by required additional software packages
which are missing or not installable. Furthermore there could be a
conflict between software packages which are not allowed to be
installed at the same time.



When I tried to install the required multimedia plugins in the terminal this error message appeared.


 The following packages have unmet dependencies:

gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libc6 (>= 2.7) but 2.15-0ubuntu10.2 is to be installed
Depends: libglib2.0-0 (>= 2.31.2) but 2.32.3-0ubuntu1 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu0.1 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
gstreamer0.10-ffmpeg:i386: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libc6 (>= 2.7) but 2.15-0ubuntu10.2 is to be installed
Depends: libglib2.0-0 (>= 2.31.2) but 2.32.3-0ubuntu1 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu0.1 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.3ubuntu0.12.04.1 is to be installed

I searched and found that the most solution said:


sudo apt-get clean
sudo apt-get autoclean
sudo apt-get install -f

and I tried them and nothing happened.


My /etc/apt/sources.list :


# deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://eg.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://eg.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://eg.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise universe
deb http://eg.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://eg.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://eg.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://eg.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://eg.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

How to install these required multimedia plugins?


More From » apt

 Answers
5

Looking at your error messages, I guess you either installed packages which are newer version than the standard repo (I might not the case) or installed packages which depends on the older versions of packages (Most probably) and it is not updated for the latest dependencies (thus requiring older versions).



I suggest you to do these: (most of the cases, it works)




  1. Install aptitude with sudo apt-get install aptitude command


  2. Try to install the package you are willing to install with command like



    sudo aptitude install <package-name>

  3. Aptitude will show you the error and present you a possible (best) solution. You will be asked to choose from 3 options with a message like



    Accept this solution? [Y/n/q/?]


    If you see that your desired package is not listed in the (will be) installed list, simply press n to let aptitude give you the next best solution. After several trial, (if you are lucky) you will see that your desired packages are in installable list and the packages causing the dependency problems will be showing in downgrade list. In this stage Press Y to accept the solution. The packages will be downgraded to satisfy to installation request.




I'm sorry that, I can't give you a demo run of aptitude like this, but you can check this page to see some of it's action.


[#34993] Monday, August 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
doredtness

Total Points: 153
Total Questions: 113
Total Answers: 106

Location: South Georgia
Member since Fri, Nov 13, 2020
4 Years ago
doredtness questions
Tue, Aug 2, 22, 15:45, 2 Years ago
Sat, May 21, 22, 05:26, 2 Years ago
Wed, Aug 24, 22, 11:09, 2 Years ago
;