unable to install ffmpeg on raspbian - ffmpeg

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.

Related

puppet-common (= 3.8.7-1puppetlabs1) Installling Error

Tried to update puppet master version and after removing previous version when I'm trying to install
puppet-common (= 3.8.7-1puppetlabs1)
below error occuring.
root#puppetmaster:/home/ubuntu/puppet# apt install puppet-common
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:
puppet-common : Depends: libaugeas-ruby but it is not installable or
libaugeas-ruby1.9.1 but it is not installable or
libaugeas-ruby1.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get install ruby
apt-get -f install
and
sudo apt-get install libaugeas-ruby
didn't work as gave in other solutions.
please do let me know if any other details needed.
Looking at the command prompt, you are using Ubuntu. Puppet isn't compatible with all versions of Ubuntu. I was getting the same error messages on Ubuntu 16.06 for the same version of Puppet (3.8.7-1). I tried a million things till I realized it was OS version to Puppet version match.
https://docs.puppet.com/puppet/3.8/install_debian_ubuntu.html
If you install a version of puppet supported by the OS you are using. It should install. Without knowing what version of Ubuntu you are on, it is possible this isn't the problem, but if so, you should be in good shape. Links below if you are on 16.04:
http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-puppet-on-ubuntu-16-04.html
Your mileage may vary but the only way I could get around this problem was deleting all the puppet related .list files in /etc/apt/sources.list.d.
Files were
puppetlabs.list
puppetlabs-pc1.list
puppet.list
Once that was done, I could run apt-get install puppet and the command worked just fine.

vlc installation in ubuntu 16.10

My vlc was working file but after installing octave vlc crashed.
I tried to reinstall it and repair it with below codes but it did't work
$ sudo apt-get purge vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
$sudo apt-get install vlc
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:
vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.
Then I tried installing libgles1-mesa
$ sudo apt-get install libgles1-mesa
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:
libgles1-mesa : Depends: libglapi-mesa (= 13.0.4-1ubuntu1~16.10~0.1) but
17.0.3~git20170404+17.0.71d2f05a-0ubuntu0ricotz2~yakkety is to be installed
E: Unable to correct problems, you have held broken packages.
Then I tried libglapi-mesa
$ sudo apt-get install libglapi-mesa
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglapi-mesa is already the newest version (17.0.3~git20170404+17.0.71d2f05a- 0ubuntu0ricotz2~yakkety).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
How am I supposed to solved it.
I only get it to work using master branch of VLC
https://launchpad.net/~videolan/+archive/ubuntu/master-daily
first add the repository
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
The vlc-nox package installs vlc
To remove, use:
sudo apt-get purge vlc-nox
Next, to reinstall vlc, use:
sudo apt-get update
sudo apt-get install vlc
% sudo snap install vlc
VLC for Debian and many other Linux distributions is also packaged using snap packages. This allows us to distribute latest and greatest VLC versions directly to end users, with security and critical bug fixes, full codec and optical media support.
To install via snap:

Issue on install ffmpeg on Debian 8

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.

Phonetisaurus dependency issue

I am trying to install Phonetisaurus (using the Jasper installation instructions here). Unfortunatly I've run into a dependency issue I haven't been able to solve.
When I run the command sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools I get the following output:
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:
m2m-aligner : Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
mitlm : Depends libmitlm0 (= 0.4.1-2) but it is not going to be installed
Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
phonetisaurus : Depends: libfst4 (>=1.5.3+r3) but it is not installable
Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
Attempting to install libstdc++6 directly (either with sudo apt-get install libstdc++6 or sudo apt-get -f libstdc++6) leaves me with:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
The following packages were automatically installed and are no longer required:
libboost-atomic1.55.0 libboost-filesystem1.55.0
libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0
libcwiid1 libfftw3-single3 libjs-prettify libqscintilla2-11
libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4
libruby1.9.1 libruby1.9.1-dbg libscsynth1 libtcltk-ruby1.9.1 ri1.9.1
ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3
supercollider supercollider-common supercollider-ide supercollider-language
supercollider-server supercollider-supernova
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
Attempting to install libfst4 gives me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libfst4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libfst4' has no installation candidate
And attempting to install libmitlm0 gives me:
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:
libmitlm0 : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
E: Unable to correct problems, you have held broken packages.
I feel like there is something I'm missing here but after a day of messing around with it I still can't figure it out. Any help/insight would be appreciated.
Thanks G10DRAS for providing the link.
This solution worked for me. First, I downloaded these files
sudo wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/phonetisaurus/is2013-conversion.tgz
sudo wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz
Then, untared the files
tar -xvf is2013-conversion.tgz
tar -xvf openfst-1.3.4.tar.gz
Finally, following next steps at: http://jasperproject.github.io/documentation/installation

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