Suddenly, from one day to another my apt stopped working:
When updating the repository cache, it just stopped, waiting to connect to an up-and-running server - forever...
Like this:
Code: Select all
Hit:1 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease
Ign:3 https://mediaarea.net/repo/deb/ubuntu xenial InRelease
Hit:4 https://mediaarea.net/repo/deb/ubuntu xenial Release
Hit:6 http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu xenial InRelease
0% [Connecting to at.archive.ubuntu.com (2a00:1860:1:2::101)]
[SOLUTION]
Quick hack/workaround is to disable IPv6 in APT.
1) Edit/create "/etc/apt/apt.conf.d/99force-ipv4"
2) Enter the following there, and save it:
Code: Select all
Acquire::ForceIPv4 "true";
Thanks to Xiao Guo-An's article about "How to Disable IPv6 on Ubuntu" (on linuxbabe.com)!$ apt update