`sudo apt update` fails on IPv6 only instance

0

I'm testing IPv6-only EC2 instances in advance of the IPv4 address charges in February. However I have come up with an issue in Ubuntu 22.04.

When running sudo apt update, it fails because eu-west-2.ec2.archive.ubuntu.com has not got an AAAA record.

~$ dig eu-west-2.ec2.archive.ubuntu.com aaaa +short
~$

It is necessary for me to modify my apt sources to archive.ubuntu.com in order to fetch updates:

~$ dig archive.ubuntu.com aaaa +short
2620:2d:4000:1::16
2620:2d:4000:1::19
2620:2d:4002:1::101
2620:2d:4002:1::102
2620:2d:4002:1::103
~$

When can we expect to see IPv6 support for the pre-configured apt sources on Ubuntu?

1개 답변
0

archive.ubuntu.com is IPv6 enabled as per Ubuntu wiki.

Since eu-west-2.ec2.archive.ubuntu.com is managed by Canonical, you can create a feature request on LaunchPad. For example, this is the original one about lack of IPv6 support on archive.ubuntu.com

AWS
전문가
Mike_L
답변함 9달 전
  • In the interim, it would be nice to modify my hosts file to fetch update files locally to EC2. Do you know if EC2 has IPv6-enabled Ubuntu mirrors on *.compute.amazonaws.com ?

  • I've just been told my bug report is invalid. See earlier link.

  • Ubuntu EC2 instances are managed by Canonical, so you need to submit a feature request instead of bug report at per their reply. I am not familiar with the process or the email; check Ubuntu documentation or ask at their forum (https://ubuntu.com/community) for details. For now, you can use IPv6 enabled archive.ubuntu.com.

  • I have submitted an e-mail to the e-mail address they suggested. It would also be useful if someone at Amazon took up the issue with Canonical to ensure their IPv6-only instances are able to update packages after creation.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인