Error map

Unable to locate package E: Unable to locate package (apt / apt-get install)

Linux · layer 6, Platform & cloud

Open the full error page →

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.

Unable to locate package — E: Unable to locate package (apt / apt-get install) (Linux)Unable to l…did not complete successfully — failed to solve: process "/bin/sh -c ..." did not complete successfully: exit code: 1 (Docker)did not complete su…Repository does not have a Release file — E: The repository '...' does not have a Release file (Linux)Repository does not…Sub-process /usr/bin/dpkg returned an error code (1) — E: Sub-process /usr/bin/dpkg returned an error code (1) (Linux)Sub-process /usr/bi…Failed to download metadata for repo — Error: Failed to download metadata for repo 'appstream' (dnf / yum) (Linux)Failed to download …dpkg lock — E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it? (Linux)dpkg lockheld broken packages — Unmet dependencies / E: Unable to correct problems, you have held broken packages (Linux)held broken packagesdpkg was interrupted — E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem (Linux)dpkg was interruptedNO_PUBKEY — The following signatures couldn't be verified because the public key is not available: NO_PUBKEY (Linux)NO_PUBKEYCOPY failed — COPY failed: file not found in build context / "/app/x": not found (Docker)COPY failedfailed to read dockerfile — failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory (Docker)failed to read dock…unknown instruction — Dockerfile parse error line N: unknown instruction (Docker)unknown instructionTemporary failure in name resolution — ping: google.com: Temporary failure in name resolution (Linux)Temporary failure i…EACCES — Linux: Permission denied (Linux)EACCEScommand not found — bash: command not found (Linux)command not foundsudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersERESOLVE — npm ERR! code ERESOLVE — unable to resolve dependency tree (npm)ERESOLVEMODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDCould not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolvewebhook signature — Webhook signature verification failed (Stripe, Razorpay, GitHub…) (API)webhook signatureREMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…avc: denied — SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions) (Linux)avc: denied

Directly related (8)

did not complete successfullyDocker

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.

Repository does not have a Release fileLinux

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…

Sub-process /usr/bin/dpkg returned an error code (1)Linux

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.

Failed to download metadata for repoLinux

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…

dpkg lockLinux

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.

held broken packagesLinux

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…

dpkg was interruptedLinux

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…

NO_PUBKEYLinux

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 failedDocker

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 read dockerfileDocker

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.

unknown instructionDocker

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.

Temporary failure in name resolutionLinux

ping: google.com: Temporary failure in name resolution

The Linux host can’t resolve domain names — no working DNS server is configured or reachable.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

ERESOLVEnpm

npm ERR! code ERESOLVE — unable to resolve dependency tree

npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.

MODULE_NOT_FOUNDNode.js

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.

Could not resolveAndroid

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 signatureAPI

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.

REMOTE HOST IDENTIFICATION HAS CHANGEDLinux

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…

avc: deniedLinux

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…