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.
1