Jump to content

apt-get update after adding custom repository to sources.list gives error


Recommended Posts

Posted (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 by sgufa

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines