Error map
Unable to locate package E: Unable to locate package (apt / apt-get install)
Linux · layer 6, Platform & cloud
Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (8)
failed to solve: process "/bin/sh -c ..." did not complete successfully: exit code: 1
A RUN step in your Dockerfile failed. The real error is printed in the lines just above this message.
E: The repository '...' does not have a Release file
apt can’t find index files for a source — the repo doesn’t support your Ubuntu/Debian release, the URL is wrong, or the release r…
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package’s install/configure script failed, so dpkg aborted. The real error is a few lines above this message.
Error: Failed to download metadata for repo 'appstream' (dnf / yum)
dnf/yum can’t fetch a repository’s metadata — the mirror is unreachable, the repo URL is dead (CentOS 8 EOL), or there’s a DNS/pr…
E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it?
apt can’t run because another package operation (often automatic updates) holds the dpkg lock.
Unmet dependencies / E: Unable to correct problems, you have held broken packages
apt can’t find a set of package versions that satisfies all dependencies — usually mixed repositories or a package from another r…
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
A previous package operation stopped halfway (closed terminal, reboot, power loss), and apt refuses to continue until it’s finish…
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
apt can’t verify a repository’s signature because the repo’s signing key isn’t installed (or has expired/rotated).
Two steps away (13)
COPY failed: file not found in build context / "/app/x": not found
The Dockerfile COPY refers to a path outside the build context, excluded by .dockerignore, or relative to the wrong directory.
failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
docker build can’t find a Dockerfile in the build context you passed.
Dockerfile parse error line N: unknown instruction
A line in the Dockerfile doesn’t start with a valid instruction — usually a broken line continuation or a typo.
ping: google.com: Temporary failure in name resolution
The Linux host can’t resolve domain names — no working DNS server is configured or reachable.
Linux: Permission denied
Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
npm ERR! code ERESOLVE — unable to resolve dependency tree
npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.
Error: Cannot find module 'x' (MODULE_NOT_FOUND)
Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.
Gradle: Could not resolve all files for configuration / Could not resolve dependency
Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.
Webhook signature verification failed (Stripe, Razorpay, GitHub…)
Your endpoint computed a different HMAC signature than the one the provider sent, so the webhook is rejected.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed)
The server’s SSH host key differs from the one saved in ~/.ssh/known_hosts — usually because the server was rebuilt or the IP was…
SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions)
SELinux blocked the access — file permissions look fine, but the file’s security context or a boolean doesn’t allow the service t…
Map another error
Popular: 4035004000xC000007BTypeErrorCritical error404NullPointerException