`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?

triatic
asked 8 months ago620 views
1 Answer
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
EXPERT
Mike_L
answered 8 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions