[SOLVED] apt-get update with IPv6 gives error

wahmed

Famous Member
Oct 28, 2012
1,118
46
113
Calgary, Canada
www.symmcom.com
My Proxmox nodes uses both IPv4 and IPv6. Both works fine. I am not sure when this issue started but i am noticing #apt-get update command producing error that it cannot reach Deb repo on IPv6. But if i manually run the command as following which ignores IPv6 then there is no error:
# apt-get -o Acquire::ForceIPv4=true update

I can ping6 to any IPv6 address from the node without any issue. Is this Proxmox Deb repo proxy side of issue? Anybody else have it?
 
Looks like the issue is unique to me since no reply yet. I have started seeing this error in All the proxmox nodes. All nodes are up to date.
 
the proxmox repo is not yet ipv6 enabled.
 
But, I assume then there is also no AAAA record for it, so it only will resolve on v4 and only work on v4? However, if apt is trying to connect to v6, is guess there are AAAA records for this hostnames. Maybe Proxmox better remove this records until v6 is fully functional?
 
Thanks for checking. In that case I guess it's apt that has the strange behavior to force v6, even if the host doesn't exists. :(
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!