Issue on install ffmpeg on Debian 8 - ffmpeg

I try to install "ffmpeg" on my Debian 8 and I have issues.
apt-get install ffmpeg
I have this errors...
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: libavcodec57 (>= 10:3.2.2) but it is not going to be installed
Depends: libavdevice57 (>= 10:3.2.2) but it is not going to be installed
Depends: libavfilter6 (>= 10:3.2.2) but it is not going to be installed
Depends: libavformat57 (>= 10:3.2.2) but it is not going to be installed
Depends: libsdl2-2.0-0 (>= 2.0.4) but it is not going to be installed
Depends: libva1 (>= 1.7.3) but 1.4.1-1 is to be installed
x264 : Depends: libffms2-4 (>= 1:2.23) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

these dependencies are available in the jessie backports.

Related

Cannot install libzmq3-dev on ubuntu 19.04

I'm trying to install libzmq3-dev on Ubuntu 19.04, using the command:
sudo apt install build-essential libsocketcan-dev libzmq3-dev
I get the message:
> 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:
libzmq3-dev : Depends: libpgm-dev (>= 5.2.122~dfsg) but it is not installable
Depends: libsodium-dev but it is not installable
Depends: libnorm-dev but it is not installable
Depends: libkrb5-dev but it is not installable
E: Unable to correct problems, you have held broken packages'
Any ideas?

unmet dependencies during apt installation

When I installed a package using apt,I encountered the below problem:
The following packages have unmet dependencies:
ruby2.3-dev : Breaks: ruby2.3-dev:i386 (!= 2.3.1-2~16.04.12) but 2.3.0-5ubuntu1 is to be installed
ruby2.3-dev:i386 : Depends: libgmp-dev:i386 but it is not going to be installed
Depends: libruby2.3:i386 (= 2.3.0-5ubuntu1) but it is not going to be installed
Breaks: ruby2.3-dev (!= 2.3.0-5ubuntu1) but 2.3.1-2~16.04.12 is to be installed
I have no idea what happened. How can I solve it?
It appears that 64bit and 32bit packages are conflicting with the ruby installation. Try and temporarily remove i386 from your package manager and try and install it with apt again. Refer to https://superuser.com/questions/714391/how-do-i-remove-all-i386-architecture-packages-from-my-debian-installation for a guide.

apt-get is broken and can't install anything

My apt-get is totally broken and can't install anything. The output of 'apt-get install -f" is as follows:
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
gnome-icon-theme : Depends: gtk-update-icon-cache
python3-cairo : Depends: python3 (>= 3.6~) but 3.4.3-1 is installed
python3-gdbm : Depends: python3 (>= 3.6) but 3.4.3-1 is installed
python3-reportlab-accel : Depends: python3 (>= 3.6~) but 3.4.3-1 is installed
rhythmbox : Depends: rhythmbox-data (= 3.1-1ubuntu3) but 3.4.1-2ubuntu5 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
The output of 'sudo apt install python3' is in the picture:https://imgur.com/a/IbGK0
I have Googled any possible questions and tried any possible solutions but NO ONE worked for it.
Go to /var/log/dist-upgrade/apt.log and identify the packages that are broken. "apt-get remove" the packages, do release upgrade and then you should be able to reinstall them.
You can find more information here: https://askubuntu.com/questions/124845/eerror-pkgproblemresolverresolve-generated-breaks-this-may-be-caused-by-hel
This command resolved my error
sudo apt -f install
In my case I was behind a proxy, so I needed to run the following command:
sudo nano /etc/apt/apt.conf
And added the following lines:
Acquire::http::proxy "http://<user>:<password>#<proxy_host>:<proxy_port>/";
Acquire::https::proxy "https://<user>:<password>#<proxy_host>:<proxy_port>/";
Acquire::ftp::proxy "ftp://<user>:<password>#<proxy_host>:<proxy_port>/";

unable to install ffmpeg on raspbian

I'm trying this guide to stream my Pi camera (running on raspberry pi 3b with raspbian) to YouTube live.
when i try to install ffmpeg, I'm getting this message:
pi#raspberrypi:/etc/apt $ 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.9) but it is not going to be installed
Depends: libavdevice56 (>= 10:2.6.9) but it is not going to be installed
Depends: libavfilter5 (>= 10:2.6.9) but it is not going to be installed
Depends: libavformat56 (>= 10:2.6.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've tried a lot of tutorials but nothing seems to work.

Error while installing FFMPEG under Raspbian (Debian 8 Jessie)

I am attempting to get FFMPEG installed on my Raspberry Pi 3 running Raspbian (based on Debian 8 Jessie)
When I run the install command I get:
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: libavcodec54 (>= 8:1.0.0) but it is not going to be installed
Depends: libavdevice54 (>= 8:1.0.0) but it is not going to be installed
Depends: libavfilter3 (>= 8:1.0.0) but it is not going to be installed
Depends: libavformat54 (>= 8:1.0.0) but it is not going to be installed
Depends: libpostproc52 (>= 8:1.0.0) but 6:0.git20120821-4 is to be installed
E: Unable to correct problems, you have held broken packages.
Has anyone seen this error before? The Debian site states: Be careful, FFmpeg is not available on Debian 8 Jessie.
Is there a way to get FFMPEG installed on Debian 8 Jessie?
UPDATE: I am going through this: https://www.assetbank.co.uk/support/documentation/install/ffmpeg-debian-squeeze/ffmpeg-debian-jessie/
Hopefully this works.
UPDATE:
This got ffmpeg built from source and installed but the script I am running that needs ffmpeg seems to think it should be in user/bin/ffmpeg while its actually installed in user/local/bin/ffmpeg

Resources