You are not logged in.

#1 2016-03-06 20:53:40

hilltopyodeler
Member
Registered: 2016-03-06
Posts: 14

[SOLVED] Mplayer / FFMPEG Installation Issues

From a previous post:

Head_on_a_Stick wrote:
hilltopyodeler wrote:

Some apps like mplayer and ffmpeg don't want to install due to dependency issues.

ffmpeg is now available from the Debian jessie-backports repository:
https://packages.debian.org/jessie-backports/ffmpeg

Run `bl-welcome` and answer "yes" when it asks if you want the official Debian jessie-backports to be added then install it with:

sudo apt install ffmpeg/jessie-backports

mplayer is in the regular Debian repositories and there should be no problems installing it.

Please open a new thread for this problem and include the output of the following command in the OP:

grep -v '^#\|^$' /etc/apt/sources.list{,.d/*};apt-cache policy

Please also include the full output of `apt install -s mplayer`

Backports are enabled. I've always tried to install mplayer and ffmpeg from the debian-multimedia repository because they come with more features as I understand it.

When I try to install mplayer and ffmpeg, I get the following errors:

$ sudo apt-get install mplayer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mplayer : Depends: libmp3lame0 (>= 1:3.99.0) but 3.99.5+repack1-7+deb8u1 is to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ffmpeg : Depends: libavcodec56 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
          Depends: libavdevice56 (>= 10:2.6.8) but it is not going to be installed
          Depends: libavfilter5 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
          Depends: libavformat56 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
          Depends: libavresample2 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
          Depends: libavutil54 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
          Depends: libpostproc53 (>= 10:2.6.8) but it is not going to be installed
          Depends: libswresample1 (>= 10:2.6.8) but it is not going to be installed
          Depends: libswscale3 (>= 10:2.6.8) but 6:11.6-1~deb8u1 is to be installed
E: Unable to correct problems, you have held broken packages.

Here is my output for

grep -v '^#\|^$' /etc/apt/sources.list{,.d/*};apt-cache policy
$ grep -v '^#\|^$' /etc/apt/sources.list{,.d/*};apt-cache policy
/etc/apt/sources.list:deb [url]http://httpredir.debian.org/debian[/url] jessie main non-free contrib
/etc/apt/sources.list:deb [url]http://security.debian.org/[/url] jessie/updates main contrib non-free
/etc/apt/sources.list:deb [url]http://httpredir.debian.org/debian[/url] jessie-updates main contrib non-free
/etc/apt/sources.list.d/bunsen-jessie-backports.list:deb [url]http://pkg.bunsenlabs.org/debian[/url] jessie-backports main
/etc/apt/sources.list.d/bunsen.list:deb [url]http://pkg.bunsenlabs.org/debian[/url] bunsen-hydrogen main
/etc/apt/sources.list.d/debian-jessie-backports.list:deb [url]http://httpredir.debian.org/debian[/url] jessie-backports main contrib non-free
/etc/apt/sources.list.d/deb-multi.list:deb [url]http://www.deb-multimedia.org[/url] jessie main non-free
/etc/apt/sources.list.d/google-chrome.list:deb [url]http://dl.google.com/linux/chrome/deb/[/url] stable main
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 [url]http://dl.google.com/linux/chrome/deb/[/url] stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/non-free Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/main Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/contrib Translation-en
 100 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/non-free amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=non-free
     origin httpredir.debian.org
 100 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/contrib amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=contrib
     origin httpredir.debian.org
 100 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/main amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
     origin httpredir.debian.org
 100 [url]http://www.deb-multimedia.org/[/url] jessie/non-free amd64 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=non-free
     origin [url=http://www.deb-multimedia.org]www.deb-multimedia.org[/url]
 100 [url]http://www.deb-multimedia.org/[/url] jessie/main amd64 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=main
     origin [url=http://www.deb-multimedia.org]www.deb-multimedia.org[/url]
 500 [url]http://pkg.bunsenlabs.org/debian/[/url] bunsen-hydrogen/main amd64 Packages
     release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
 100 [url]http://pkg.bunsenlabs.org/debian/[/url] jessie-backports/main amd64 Packages
     release o=bunsenlabs,n=jessie-backports,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/non-free Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/main Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/contrib Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/non-free amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=non-free
     origin httpredir.debian.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/contrib amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=contrib
     origin httpredir.debian.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
     origin httpredir.debian.org
 500 [url]http://security.debian.org/[/url] jessie/updates/non-free Translation-en
 500 [url]http://security.debian.org/[/url] jessie/updates/main Translation-en
 500 [url]http://security.debian.org/[/url] jessie/updates/contrib Translation-en
 500 [url]http://security.debian.org/[/url] jessie/updates/non-free amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=non-free
     origin security.debian.org
 500 [url]http://security.debian.org/[/url] jessie/updates/contrib amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
     origin security.debian.org
 500 [url]http://security.debian.org/[/url] jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/non-free Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/main Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/contrib Translation-en
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/contrib amd64 Packages
     release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
     origin httpredir.debian.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/non-free amd64 Packages
     release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=non-free
     origin httpredir.debian.org
 500 [url]http://httpredir.debian.org/debian/[/url] jessie/main amd64 Packages
     release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=main
     origin httpredir.debian.org
Pinned packages:

---mod edit: add [ code ] tags

Last edited by hilltopyodeler (2016-03-06 21:31:05)

Offline

#2 2016-03-06 21:04:55

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Mplayer / FFMPEG Installation Issues

It is the deb-multimedia repos which are causing your problems. In oldstable  they were necessary for ffmpeg functionality, IIRC, but they now cause me problems with graphics libraries for instance.

Either you remove the libs from deb-multimedia, disable the dm repos, and install everything you need from backports; or install ffmpeg and friends from deb-multimedia (but be prepared for problems in the future). YMMV I suppose.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-03-06 21:09:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] Mplayer / FFMPEG Installation Issues

I think you should try (re)moving the deb-multimedia repository then update the package database and install again:

sudo -i
mv /etc/apt/sources.list.d/deb-multi.list ~/
apt update
apt install mplayer2
apt install ffmpeg/jessie-backports
exit

Both ffmpeg (from jessie-backports) and mplayer install fine on my BunsenLabs system with no deb-multimedia repositories added.

Note that a simple `apt-get install ffmpeg` will *not* install the package from jessie-backports, use `apt-get install -t jessie-backports ffmpeg` or my `apt` version.

mplayer is a virtual package that supplies mplayer2 and that package doesn't list libmp3lame0 as a dependency so I'm not sure what's going on there hmm
https://packages.debian.org/jessie/mplayer

What is the output of:

apt-get install -fs

Offline

#4 2016-03-06 21:14:55

hilltopyodeler
Member
Registered: 2016-03-06
Posts: 14

Re: [SOLVED] Mplayer / FFMPEG Installation Issues

Thank you - I'll try killing debian-multimedia and installing from backports as suggested.

Output as requested:

$ sudo apt-get install -fs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Offline

#5 2016-03-06 21:28:50

hilltopyodeler
Member
Registered: 2016-03-06
Posts: 14

Re: [SOLVED] Mplayer / FFMPEG Installation Issues

Head_on_a_Stick wrote:

I think you should try (re)moving the deb-multimedia repository then update the package database and install again:

sudo -i
mv /etc/apt/sources.list.d/deb-multi.list ~/
apt update
apt install mplayer2
apt install ffmpeg/jessie-backports
exit

This worked like a charm - THANKS Head_on_a_Stick!  You've been a huge help today and I really appreciate it!

Offline

#6 2016-03-06 21:51:17

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Mplayer / FFMPEG Installation Issues

This worked like a charm - THANKS Head_on_a_Stick!  You've been a huge help today and I really appreciate it!

He is the goto guy around here! big_smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB