Have to use -o Acquire::ForceIPv4=true to do apt-get update/upgrade
I am looking for an other workaround to my problem that apt-get upgrade/update/install wont work via IPv6. I cant use the software center neither can I use the system update center for anything. I only get updates etc. by forcing IPv4.
Is there any way to make a permanent change in the system so I don't have to type the whole line in every time I want to update/upgrade/install something.
If there is a solution to the update and software center problem. Which, I guess, is caused by the same problem I am having with the update/upgrade line.
I really don't know what this problem is caused by. A general Solution would be awesome just as well :D
31 Answer
Try this:
Open a terminal,
Press Ctrl+Alt+T
Run it:
exec sudo -i
nano /etc/apt/apt.conf.d/99force-ipv4In the open file paste this line:
Acquire::ForceIPv4 'true';Ctrl+O Save file
Ctrl+X Close nano
This should force to use IPv4 in place of IPv6.
1More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"