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.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
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:
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.