Question

installing ffmpeg issues Ubunutu 16.04

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

apt-get install ffmpeg

I get this:

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:2 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libstdc++6 amd64 5.4.0-6ubuntu1~16.04.5 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:3 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.5 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:4 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libchromaprint0 amd64 1.3-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:5 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libmpg123-0 amd64 1.22.4-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:6 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libvorbisfile3 amd64 1.3.5-3 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:7 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libssh-gcrypt-4 amd64 0.6.3-4.3 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:8 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libbs2b0 amd64 3.1.0+dfsg-2.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:9 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libflite1 amd64 2.0.0-release-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:10 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libglapi-mesa amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:11 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libx11-xcb1 amd64 2:1.6.3-1ubuntu2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:12 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-dri2-0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:13 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-dri3-0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:14 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-glx0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:15 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-present0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:16 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-sync1 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:17 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libdrm-amdgpu1 amd64 2.4.76-1~ubuntu16.04.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:18 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libpciaccess0 amd64 0.13.4-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:19 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libdrm-intel1 amd64 2.4.76-1~ubuntu16.04.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:20 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libdrm-nouveau2 amd64 2.4.76-1~ubuntu16.04.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:21 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libdrm-radeon1 amd64 2.4.76-1~ubuntu16.04.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:22 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libsensors4 amd64 1:3.4.0-2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:23 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dri amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:24 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libgl1-mesa-glx amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:25 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libtbb2 amd64 4.4~20151115-0ubuntu3 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:26 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libopencv-core2.4v5 amd64 2.4.9.1+dfsg-1.5ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:27 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libopencv-imgproc2.4v5 amd64 2.4.9.1+dfsg-1.5ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:28 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 librubberband2v5 amd64 1.8.1-6ubuntu2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:29 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libsodium18 amd64 1.0.8-5 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:30 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libzmq5 amd64 4.1.4-7 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:31 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libcaca0 amd64 0.99.beta19-2build2~gcc5.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:32 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libcdio13 amd64 0.83-4.2ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:33 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libcdio-cdda1 amd64 0.83-4.2ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:34 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libcdio-paranoia1 amd64 0.83-4.2ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:35 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libdc1394-22 amd64 2.2.4-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:36 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libjack-jackd2-0 amd64 1.9.10+20150825git1ed50c92~dfsg-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:37 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libpulse0 amd64 1:8.0-0ubuntu3.4 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:38 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libsndio6.1 amd64 1.1.0-2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:39 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libgbm1 amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:40 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libboost-system1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:41 http://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] Err:42 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libboost-filesystem1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:43 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libprotobuf-lite9v5 amd64 2.6.1-1.3 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:44 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxkbcommon0 amd64 0.5.0-1ubuntu2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:45 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-xfixes0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:46 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libegl1-mesa amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:47 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libwayland-egl1-mesa amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:48 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:49 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxrandr2 amd64 2:1.5.0-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:50 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libsdl2-2.0-0 amd64 2.0.4+dfsg1-2ubuntu2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:51 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-shape0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:52 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libxcb-shm0 amd64 1.11.1-1ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:53 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libaacs0 amd64 0.8.1-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:54 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 libbdplus0 amd64 0.1.2-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:55 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/universe amd64 mesa-va-drivers amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:56 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 mesa-vdpau-drivers amd64 17.0.7-0ubuntu0.16.04.2 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:57 http://lon1.mirrors.digitalocean.com/ubuntu xenial/universe amd64 i965-va-driver amd64 1.7.0-1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80] Err:58 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 vdpau-driver-all amd64 1.1.1-3ubuntu1 Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 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/g/gcc-5/gcc-5-base_5.4.0-6ubuntu1~16.04.5_amd64.deb Could not connect to lon1.mirrors.digitalocean.com:80 (95.85.0.50), connection timed out [IP: 95.85.0.50 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.5_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/g/gcc-5/libgomp1_5.4.0-6ubuntu1~16.04.5_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/c/chromaprint/libchromaprint0_1.3-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/m/mpg123/libmpg123-0_1.22.4-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libv/libvorbis/libvorbisfile3_1.3.5-3_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libs/libssh/libssh-gcrypt-4_0.6.3-4.3_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/libb/libbs2b/libbs2b0_3.1.0+dfsg-2.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/f/flite/libflite1_2.0.0-release-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libglapi-mesa_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libx11/libx11-xcb1_1.6.3-1ubuntu2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-dri2-0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-dri3-0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-glx0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-present0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-sync1_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libd/libdrm/libdrm-amdgpu1_2.4.76-1~ubuntu16.04.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libp/libpciaccess/libpciaccess0_0.13.4-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libd/libdrm/libdrm-intel1_2.4.76-1~ubuntu16.04.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libd/libdrm/libdrm-nouveau2_2.4.76-1~ubuntu16.04.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libd/libdrm/libdrm-radeon1_2.4.76-1~ubuntu16.04.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/l/lm-sensors/libsensors4_3.4.0-2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libgl1-mesa-glx_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/t/tbb/libtbb2_4.4~20151115-0ubuntu3_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/o/opencv/libopencv-core2.4v5_2.4.9.1+dfsg-1.5ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/o/opencv/libopencv-imgproc2.4v5_2.4.9.1+dfsg-1.5ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/r/rubberband/librubberband2v5_1.8.1-6ubuntu2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/libs/libsodium/libsodium18_1.0.8-5_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/z/zeromq3/libzmq5_4.1.4-7_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libc/libcaca/libcaca0_0.99.beta19-2build2~gcc5.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libc/libcdio/libcdio13_0.83-4.2ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libc/libcdio/libcdio-cdda1_0.83-4.2ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libc/libcdio/libcdio-paranoia1_0.83-4.2ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/libd/libdc1394-22/libdc1394-22_2.2.4-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/j/jackd2/libjack-jackd2-0_1.9.10+20150825git1ed50c92~dfsg-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/p/pulseaudio/libpulse0_8.0-0ubuntu3.4_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/s/sndio/libsndio6.1_1.1.0-2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libgbm1_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/b/boost1.58/libboost-system1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/c/capnproto/libcapnp-0.5.3_0.5.3-2ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/b/boost1.58/libboost-filesystem1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/p/protobuf/libprotobuf-lite9v5_2.6.1-1.3_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxkbcommon/libxkbcommon0_0.5.0-1ubuntu2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-xfixes0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libegl1-mesa_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/libwayland-egl1-mesa_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxi/libxi6_1.7.6-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxrandr/libxrandr2_1.5.0-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/libs/libsdl2/libsdl2-2.0-0_2.0.4+dfsg1-2ubuntu2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-shape0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/libx/libxcb/libxcb-shm0_1.11.1-1ubuntu1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/liba/libaacs/libaacs0_0.8.1-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/libb/libbdplus/libbdplus0_0.1.2-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/m/mesa/mesa-va-drivers_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/m/mesa/mesa-vdpau-drivers_17.0.7-0ubuntu0.16.04.2_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/universe/i/intel-vaapi-driver/i965-va-driver_1.7.0-1_amd64.deb Unable to connect to lon1.mirrors.digitalocean.com:http: [IP: 2a03:b0c0:0:1::4 80]

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.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
July 20, 2023

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel