Random   •   Archives   •   RSS   •   About   •   Contact

SmartOS Ubuntu guest, apt-get not working because IPv6

Turns out I don't have IPv6 setup properly in my network so when apt attempts to connect to the Internet it tries IPv6 and fails.

To disable IPv6 on the ubuntu guest, add this to end of /etc/sysctl.conf and restart the guest:

sudo vim /etc/sysctl.conf:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

This was a hacky work around mostly because although I desire to have IPv6 working, I desire to get this VM running more...

Thanks for reading, leave comments please.




Want comments on your site?

Remarkbox — is a free SaaS comment service which embeds into your pages to keep the conversation in the same place as your content. It works everywhere, even static HTML sites like this one!

uncloseai.js example for static sites


Remarks: SmartOS Ubuntu guest, apt-get not working because IPv6

© Russell Ballestrini.