Could not connect to

I could not connect to and not able to install anything using apt.

apt-get -o Acquire::ForceIPv4=true update

0% [Connecting to (] [Connecting to security.
0% [Connecting to (] [Connecting to security.
0% [Connecting to (] [Connecting to security.
Err:1 bionic InRelease A
Could not connect to (, connection timedt
Err:2 bionic-updates InRelease
Unable to connect to
Err:3 bionic-backports InRelease
Unable to connect to
Err:4 bionic-security InRelease
Could not connect to (, connection timed t
Reading package lists… Done
W: Failed to fetch Cout
W: Failed to fetch
W: Failed to fetch
W: Failed to fetch
W: Some index files failed to download. They have been ignored, or old ones use.

2 Replies


I've double checked and the mirrors are working normally. Is it possible that your Linode doesn't have any outbound network connectivity? I'd recommend checking with:

curl -I
curl -I

It may be that certain connections are blocked in your Linode's firewall. You can check your firewall rules in iptables with:

iptables -L -nv --line-numbers

If there's no block in iptables, but it's still not working for you, open up a ticket and myself or another member of the support team will be happy to help.

I did

# This is an autoconfigured IPv6 interface
auto eth0
iface eth0 inet6 dhcp


And also moved it to the bottom of the file. Previously I had inet6 entered manually and static. I did reboot and downloads work now.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct