Results 1 to 7 of 7

Thread: Unable to install php5-ffmpeg package

  1. #1
    Join Date
    May 2012
    Beans
    367

    Unable to install php5-ffmpeg package

    Hello everybody,

    I am trying to install the php5-ffmpeg package, but I got this error:


    Code:
    # sudo apt-get install php5-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.
     php5-ffmpeg : Depends: phpapi-20090626
    E: Unable to correct problems, you have held broken packages.
    Some helpful information:

    Code:
    # whereis ffmpeg
    ffmpeg: /bin/ffmpeg /usr/bin/ffmpeg /usr/bin/X11/ffmpeg /usr/share/man/man1/ffmpeg.1.gz
    Code:
    # lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 12.04.5 LTS
    Release:        12.04
    Codename:       precise
    Code:
    # apache2 -v
    Server version: Apache/2.4.16 (Ubuntu)
    Server built:
    Thanks for your support

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Unable to install php5-ffmpeg package

    You can try to install that phpapi package manually and see what happens.

  3. #3
    Join Date
    May 2012
    Beans
    367

    Re: Unable to install php5-ffmpeg package

    I tried to install using command line, this is what happens, it seems some packages are on hold:

    Code:
    # apt-get install libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-cli php5-fpm
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    php5-cgi is already the newest version.
    php5-cli is already the newest version.
    libapache2-mod-php5 is already the newest version.
    php5-fpm is already the newest version.
    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.
     libapache2-mod-php5 : Conflicts: libapache2-mod-php5filter but 5.5.31+dfsg-2+deb.sury.org~precise+1 is to be installed
     libapache2-mod-php5filter : Conflicts: libapache2-mod-php5 but 5.5.31+dfsg-2+deb.sury.org~precise+1 is to be installed
    E: Unable to correct problems, you have held broken packages.

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Unable to install php5-ffmpeg package

    Maybe you should consider upgrading to 14.04. That phpapi-20090626 package doesn't even exist past 12.04.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    May 2012
    Beans
    367

    Re: Unable to install php5-ffmpeg package

    May be I should do that, thanks SeijiSensei for the help

  6. #6
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Unable to install php5-ffmpeg package

    Why do you need php5-ffmpeg? It's ancient and dead. Do you even need a wrapper for ffmpeg? Can you just use the ffmpeg binary directly in your scripts?

    http://trac.ffmpeg.org/wiki/PHP

  7. #7
    Join Date
    May 2016
    Beans
    1

    Re: Unable to install php5-ffmpeg package

    Quote Originally Posted by FakeOutdoorsman View Post
    Why do you need php5-ffmpeg? It's ancient and dead. Do you even need a wrapper for ffmpeg? Can you just use the ffmpeg binary directly in your scripts?
    http://trac.ffmpeg.org/wiki/PHP
    Can you just use the ffmpeg binary directly in your scripts?
    Thanks !
    Last edited by Sonia69; December 1st, 2016 at 01:26 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •