Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

amk's avatar
Level 4

Installing ffmpeg on digital ocean server

show like this

root :~# sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ffmpeg : Depends: libavcodec57 (>= 7:3.4.2) but it is not going to be installed or
                   libavcodec-extra57 (>= 7:3.4.2) but it is not going to be installed
          Depends: libavdevice57 (>= 7:3.4.2) but it is not going to be installed
          Depends: libavfilter6 (>= 7:3.4.2) but it is not going to be installed or
                   libavfilter-extra6 (>= 7:3.4.2) but it is not going to be installed
          Depends: libavformat57 (>= 7:3.4.2) but it is not going to be installed
          Depends: libavresample3 (>= 7:3.4.2) but it is not going to be installed
          Depends: libavutil55 (>= 7:3.4.2) but it is not going to be installed
          Depends: libpostproc54 (>= 7:3.4.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: libswresample2 (>= 7:3.4.2) but it is not going to be installed
          Depends: libswscale4 (>= 7:3.4.2) but it is not going to be installed
 linux-image-virtual : Depends: linux-image-4.4.0-122-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Why?

0 likes
2 replies
amk's avatar
Level 4

Yes,I have tried. :( sir @Lorceroth I can't install any package. It show always like this..

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:

Please or to participate in this conversation.