I can’t set up my environment on codex cloud, because apt-get seems to have no network access, and I cannot use my own container. Relevant parts of the environment config script:
sudo apt-get update
sudo apt-get install -y \
postgresql postgresql-contrib redis-server build-essential \
libpq-dev curl
resultant output:
... (truncated)
Err:8 http://archive.ubuntu.com/ubuntu noble-updates Release
Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.82). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.81). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.83). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.81). - connect (101: Network is unreachable)
0% [Working]
Err:9 http://security.ubuntu.com/ubuntu noble-security Release
Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.81). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.83). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.82). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (91.189.91.81). - connect (101: Network is unreachable)
0% [Working]
Err:10 http://archive.ubuntu.com/ubuntu noble-backports Release
Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.82). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.81). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (185.125.190.83). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.81). - connect (101: Network is unreachable)
10% [Working]
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 6%
Reading package lists... 6%
Reading package lists... 55%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 74%
Reading package lists... 74%
Reading package lists... 79%
Reading package lists... 79%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 85%
Reading package lists... 89%
Reading package lists... 89%
Reading package lists... 93%
Reading package lists... 93%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
E: The repository 'http://apt.llvm.org/noble llvm-toolchain-noble-19 Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu noble Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu noble-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu noble-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu noble-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Codex cloud is advertised as being “for professional dev work on production repos”, but doesn’t seem appropriate for any project more difficult to configure than a freshman university project. My actual environment setup is much more complicated than this, but I cannot even get past installing basic ubuntu deps, nor can I use my own container.