Report this

What is the reason for this report?

installing ffmpeg issues Ubunutu 16.04

Posted on October 14, 2017

I need to install this, but when I run the following code:

apt-get install ffmpeg

I get this (and more):

Err:1 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 gcc-5-base amd64 5.4.0-6ubuntu1~16.04.5
Could not connect to lon1.mirrors.digitalocean.com:80 (95.85.0.50), connection timed out [IP: 95.85.0.50 80]

Err:41 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libcapnp-0.5.3 amd64 0.5.3-2ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Unable to correct missing packages.

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libv/libvdpau/vdpau-driver-all_1.1.1-3ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Aborting install.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya,

Usually, you’ll follow these steps to install ffmpeg. The steps to install FFmpeg are generally consistent across Ubuntu versions, and are typically done through the Ubuntu package manager (apt).

Here’s a general guide:

  1. First, update your package lists for upgrades and new package installations:
sudo apt update
sudo apt upgrade
  1. Next, install FFmpeg by typing the following command:
sudo apt install ffmpeg
  1. To verify that the installation was successful, run:
ffmpeg -version

This should print the FFmpeg version to the console, along with its configuration details and copyright information.

I would assume the issue is coming from not running update and upgrade prior to the command being executed for installation of ffmpeg

Additionally, check if your firewall isn’t stopping the connection as well.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.