sgufa Posted September 1, 2023 Posted September 1, 2023 (edited) Hi, I add a custom repository in customize-image.sh by echoing it in /etc/apt/sources.list.d/custom.list and then calling apt-get update when i build i get always the following error: [💲|🔨] Ign:1 http://apt.customrepo.com bookworm InRelease [💲|🔨] Ign:2 http://security.debian.org bookworm-security InRelease [💲|🔨] Ign:3 http://deb.debian.org/debian bookworm InRelease [💲|🔨] Ign:4 http://deb.debian.org/debian bookworm-updates InRelease [💲|🔨] Ign:5 http://deb.debian.org/debian bookworm-backports InRelease [💲|🔨] Ign:1 http://apt.customrepo.com bookworm InRelease [💲|🔨] Ign:2 http://security.debian.org bookworm-security InRelease [💲|🔨] Ign:3 http://deb.debian.org/debian bookworm InRelease [💲|🔨] Ign:4 http://deb.debian.org/debian bookworm-updates InRelease [💲|🔨] Ign:5 http://deb.debian.org/debian bookworm-backports InRelease [💲|🔨] Ign:1 http://apt.customrepo.com bookworm InRelease [💲|🔨] Ign:2 http://security.debian.org bookworm-security InRelease [💲|🔨] Ign:3 http://deb.debian.org/debian bookworm InRelease [💲|🔨] Ign:4 http://deb.debian.org/debian bookworm-updates InRelease [💲|🔨] Ign:5 http://deb.debian.org/debian bookworm-backports InRelease [💲|🔨] Err:2 http://security.debian.org bookworm-security InRelease [💲|🔨] System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] Err:1 http://apt.customrepo.com bookworm InRelease [💲|🔨] System error resolving 'apt.customrepo.com' - getaddrinfo (16: Device or resource busy) [💲|🔨] Err:3 http://deb.debian.org/debian bookworm InRelease [💲|🔨] System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] Err:4 http://deb.debian.org/debian bookworm-updates InRelease [💲|🔨] System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] Err:5 http://deb.debian.org/debian bookworm-backports InRelease [💲|🔨] System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] Reading package lists... [💲|🔨] W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-backports/InRelease System error resolving 'deb.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy) [💲|🔨] W: Failed to fetch http://apt.customrepo.com/dists/bookworm/InRelease System error resolving 'apt.customrepo.com' - getaddrinfo (16: Device or resource busy) [💲|🔨] W: Some index files failed to download. They have been ignored, or old ones used instead. Any idea? I have to add custom package with several dependencies Edited September 1, 2023 by sgufa 0 Quote
sgufa Posted September 5, 2023 Author Posted September 5, 2023 nevermind. Solved by adding echo "nameserver 8.8.8.8" > /etc/resolv.conf at the beginning of customize-image.sh 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.