This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Ubuntu: apt-get update failures
#1
Ubuntu: apt-get update failures
Just in case some of you start getting these errors, here's the temporary solution until the world turns to ipv6:
NOTE: I am not sure if this is also true for CentOS (yum update) at this time.
Quote:Problem: ISPs are starting to setup an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, servers in this network now try to connect to *.ubuntu.com via its IPv6 address by default when running apt-get.
SOLUTION:
Quoted from: http://askubuntu.com/questions/574569/ap...ubuntu-com
Quote:Edit [url=http://manpages.ubuntu.com/gai.conf.5][/url]
Code:
gai.conf

Code:
sudo vim /etc/gai.conf
change line ~54 to uncomment the following:
Code:
precedence ::ffff:0:0/96  100
write and quit:
Code:
:wq

CAUTION
Look out line 50 which looks almost identical:
Code:
precedence ::ffff:0:0/96  10
This is the wrong line. Go ~4 lines down and you'll find the correct line to uncomment because it ends with
Code:
100
instead of
Code:
10
OTHER RELATED ISSUES:
  1. file_get_contents() fails
  2. webmin fails to load
  3. slow loading of some sentora modules (xbilling for one)
  4. higher than normal CPU and RAM usage
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#2
RE: Ubuntu: apt-get update failures
Thanks for the new version!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora update Information TGates 3 3 ,122 09-19-2024, 11:27 AM
Last Post: jennybaso
Update your profiles! TGates 11 87 ,523 11-22-2016, 05:22 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)