Unable to run from apptainer template because apptainer PPA missing
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Discussed in https://github.com/lima-vm/lima/discussions/2644
Originally posted by **thillerson** September 22, 2024
I'm trying to run an Apptainer instance, but the standard template ([here](https://github.com/lima-vm/lima/blob/master/examples/apptainer.yaml)) seems to be failing during the Apptainer installation.
If I `sudo su` and look at the logs in `/var/log/cloud-init-output.log`, I see this error:
```
+ add-apt-repository -y ppa:apptainer/ppa
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
conn.connect()
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1119, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution
```
And at the end: `Unable to find the server at api.launchpad.net`.
It seems clear that the repo isn't in some kind of registry, but I'm not clear on what to do next... any guidance?
Contributor guide
Assessment
This issue has not been assessed yet.