Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

Unable to resolve URLs when trying to build docker

Open luthis1124 opened this issue 6 months ago • 1 comments

Firstly, thanks for the efforts in getting rocm working!

Secondly, I know this likely isn't your problem, but I'm getting issues trying to resolve the URLs.

I have tried setting network mode to host, changing the DNS, manually adding entries to the host file

All the above in the docker files, not on my host pc. And to no avail.

I'm not behind a CG Nat, I have a fast connection, I disabled my firewall, etc etc.

Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 https://repo.radeon.com/amdgpu/30.30.3/ubuntu jammy InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:5 https://repo.radeon.com/rocm/apt/7.2.3 jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:3 https://repo.radeon.com/amdgpu/30.30.3/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:5 https://repo.radeon.com/rocm/apt/7.2.3 jammy InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Ign:3 https://repo.radeon.com/amdgpu/30.30.3/ubuntu jammy InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:5 https://repo.radeon.com/rocm/apt/7.2.3 jammy InRelease
Ign:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:3 https://repo.radeon.com/amdgpu/30.30.3/ubuntu jammy InRelease
  Temporary failure resolving 'repo.radeon.com'
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:5 https://repo.radeon.com/rocm/apt/7.2.3 jammy InRelease
  Temporary failure resolving 'repo.radeon.com'
Ign:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch https://repo.radeon.com/amdgpu/30.30.3/ubuntu/dists/jammy/InRelease  Temporary failure resolving 'repo.radeon.com'
W: Failed to fetch https://repo.radeon.com/rocm/apt/7.2.3/dists/jammy/InRelease  Temporary failure resolving 'repo.radeon.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libsndfile1
E: Unable to locate package ffmpeg
E: Package 'python3-venv' has no installation candidate
E: Package 'git' has no installation candidate

luthis1124 avatar May 26 '26 23:05 luthis1124

I've got it to work in the meantime by editing the start.py to reference the right rdna4 requirements:

# Requirements file mapping
REQUIREMENTS_MAP = {
    INSTALL_CPU: "requirements.txt",
    INSTALL_NVIDIA: "requirements-nvidia.txt",
    INSTALL_NVIDIA_CU128: "requirements-nvidia-cu128.txt",
    INSTALL_ROCM: "requirements-rdna4.txt",
}

# ROCm init requirements file (installed before main requirements)
REQUIREMENTS_ROCM_INIT = "requirements-rdna4-init.txt"

unfortunately this means I'm running it just with start.py instead of in docker, but until docker decides it can download the files.

luthis1124 avatar May 27 '26 02:05 luthis1124