Error map

E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1234 (unattended-upgr) E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1234 (unattended-upgr)

Linux · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). 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.

E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1234 (unattended-upgr) — E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1234 (unattended-upgr) (Linux)E: Could no…Repository does not have a Release file — E: The repository '...' does not have a Release file (Linux)Repository does not…held broken packages — Unmet dependencies / E: Unable to correct problems, you have held broken packages (Linux)held broken packagesdpkg lock — E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it? (Linux)dpkg lockSub-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…Unable to locate package — E: Unable to locate package (apt / apt-get install) (Linux)Unable to locate pa…dpkg 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_PUBKEYlock — Certbot: Another instance of Certbot is already running (SSL / TLS)lockUnable to lock file: /data/db/mongod.lock Resource temporarily unavailable — DBPathInUse: Unable to lock the lock file: /data/db/mongod.lock (Resource temporarily unavailable). Another mongod instance is already running on the /data/db directory (MongoDB)Unable to lock file…The following signatures were invalid: EXPKEYSIG — W: GPG error: https://repo.example.com stable InRelease: The following signatures were invalid: EXPKEYSIG A1B2C3D4 Vendor Key (Linux)The following signa…bash: x: unbound variable (set -u) — script.sh: line 12: DB_HOST: unbound variable (Linux)bash: x: unbound va…fatal: unable to get credential storage lock — fatal: unable to get credential storage lock in 1000 ms: File exists (Git)fatal: unable to ge…Failed to download metadata for repo — Error: Failed to download metadata for repo 'appstream' (dnf / yum) (Linux)Failed to download …E: Release file is not valid yet (invalid for another 2h) — E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 2h 15min). Updates for this repository will not be applied. (Linux)E: Release file is …E: Failed to fetch ... Hash Sum mismatch — E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:... (Linux)E: Failed to fetch …ERESOLVE — 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 resolveEACCES — 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)sudoersThe following packages have been kept back — The following packages have been kept back: linux-generic linux-headers-generic 0 upgraded, 0 newly installed (Linux)The following packa…Error: Transaction test error: file conflicts — Error: Transaction test error: file /usr/lib64/x.so from install of a conflicts with file from package b (Linux)Error: Transaction …did not complete successfully — failed to solve: process "/bin/sh -c ..." did not complete successfully: exit code: 1 (Docker)did not complete su…error: externally-managed-environment (Debian/Ubuntu pip) — error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz (Linux)error: externally-m…error: rpmdb: BDB0113 Thread/process failed / rpmdb open failed — error: rpmdb: BDB0113 Thread/process 1234/140123 failed: BDB1507 Thread died in Berkeley DB library (Linux)error: rpmdb: BDB01…webhook 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: deniedChallenge failed for domain — Let’s Encrypt / Certbot: Challenge failed for domain example.com — Invalid response from http://example.com/.well-known/acme-challenge/x: 404 (SSL / TLS)Challenge failed fo…The following certs could not be renewed — Certbot: Failed to renew certificate example.com with error — The following certs could not be renewed: /etc/letsencrypt/live/example.com/fullchain.pem (failure) (SSL / TLS)The following certs…Could not automatically find a matching server block — Certbot: Could not automatically find a matching server block for example.com. Set the `server_name` directive to use the Nginx installer (SSL / TLS)Could not automatic…nodemon crashed — [nodemon] app crashed - waiting for file changes before starting... (Node.js)nodemon crashedExited (0) — Docker container exits immediately (Exited (0) / Exited (1) right after start) (Docker)Exited (0)Restarting (1) — Docker container keeps restarting (Restarting (1) x seconds ago) (Docker)Restarting (1)The agent has no identities / Could not open a connection to your authentication agent — Could not open a connection to your authentication agent. (Git)The agent has no id…Commit shows Unverified on GitHub — (behavior) Unverified badge: the email in this signature doesn't match the committer (Git)Commit shows Unveri…error: key does not contain a section — error: key does not contain a section: user (Git)error: key does not…bash: ./script.sh: Permission denied — bash: ./script.sh: Permission denied (Linux)bash: ./script.sh: …bash: ./script: /bin/bash^M: bad interpreter — -bash: ./script.sh: /usr/bin/python3\r: bad interpreter: No such file or directory (Linux)bash: ./script: /bi…syntax error: unexpected end of file (bash script) — script.sh: line 25: syntax error: unexpected end of file (Linux)syntax error: unexp…The following paths are ignored by one of your .gitignore files — The following paths are ignored by one of your .gitignore files: dist hint: Use -f if you really want to add them. (Git)The following paths…git: 'credential-manager' is not a git command — git: 'credential-manager-core' is not a git command. See 'git --help'. (Git)git: 'credential-ma…Git keeps using an old password (macOS Keychain / Windows Credential Manager) — remote: Invalid username or password (cached credentials) (Git)Git keeps using an …

Directly related (12)

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…

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 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.

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.

Unable to locate packageLinux

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

apt can’t find the package name in its package lists — the lists are stale, the repository isn’t enabled, or the name is wrong fo…

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).

lockSSL / TLS

Certbot: Another instance of Certbot is already running

A previous certbot process (or cron/systemd timer) holds the lock file, so a new run refuses to start.

Unable to lock file: /data/db/mongod.lock Resource temporarily unavailableMongoDB

DBPathInUse: Unable to lock the lock file: /data/db/mongod.lock (Resource temporarily unavailable). Another mongod instance is already running on the /data/db directory

Another mongod holds the data directory.

The following signatures were invalid: EXPKEYSIGLinux

W: GPG error: https://repo.example.com stable InRelease: The following signatures were invalid: EXPKEYSIG A1B2C3D4 Vendor Key

A repository's signing key expired.

bash: x: unbound variable (set -u)Linux

script.sh: line 12: DB_HOST: unbound variable

`set -u` stops on an undefined variable.

fatal: unable to get credential storage lockGit

fatal: unable to get credential storage lock in 1000 ms: File exists

Git Credential Manager is locked by a stale process.

Two steps away (32)

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…

E: Release file is not valid yet (invalid for another 2h)Linux

E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 2h 15min). Updates for this repository will not be applied.

The system clock is behind the repository's timestamp.

E: Failed to fetch ... Hash Sum mismatchLinux

E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:...

The downloaded index doesn't match its checksum.

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.

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.

The following packages have been kept backLinux

The following packages have been kept back: linux-generic linux-headers-generic 0 upgraded, 0 newly installed

apt won't upgrade some packages automatically.

Error: Transaction test error: file conflictsLinux

Error: Transaction test error: file /usr/lib64/x.so from install of a conflicts with file from package b

Two packages provide the same file.

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.

error: externally-managed-environment (Debian/Ubuntu pip)Linux

error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz

PEP 668 stops `pip install` into the system Python.

error: rpmdb: BDB0113 Thread/process failed / rpmdb open failedLinux

error: rpmdb: BDB0113 Thread/process 1234/140123 failed: BDB1507 Thread died in Berkeley DB library

The RPM database is corrupt or locked.

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…

Challenge failed for domainSSL / TLS

Let’s Encrypt / Certbot: Challenge failed for domain example.com — Invalid response from http://example.com/.well-known/acme-challenge/x: 404

Let’s Encrypt couldn’t verify you control the domain — the HTTP-01 challenge file wasn’t served, or DNS points elsewhere.

The following certs could not be renewedSSL / TLS

Certbot: Failed to renew certificate example.com with error — The following certs could not be renewed: /etc/letsencrypt/live/example.com/fullchain.pem (failure)

`certbot renew` failed for one or more certificates, so they will expire if you don't fix it.

Could not automatically find a matching server blockSSL / TLS

Certbot: Could not automatically find a matching server block for example.com. Set the `server_name` directive to use the Nginx installer

Certbot's Nginx plugin could not find a `server` block whose `server_name` matches the domain you requested.

nodemon crashedNode.js

[nodemon] app crashed - waiting for file changes before starting...

Your app threw an error on startup; nodemon is waiting for a file change to retry.

Exited (0)Docker

Docker container exits immediately (Exited (0) / Exited (1) right after start)

The container started and its main process finished at once, so the container stopped — Docker containers only live as long as PI…

Restarting (1)Docker

Docker container keeps restarting (Restarting (1) x seconds ago)

The container crashes on start and its restart policy (always/unless-stopped/on-failure) starts it again in a loop.

The agent has no identities / Could not open a connection to your authentication agentGit

Could not open a connection to your authentication agent.

ssh-agent isn't running or has no key loaded.

Commit shows Unverified on GitHubGit

(behavior) Unverified badge: the email in this signature doesn't match the committer

GitHub can't verify the commit signature.

error: key does not contain a sectionGit

error: key does not contain a section: user

`git config` needs `section.name`.

bash: ./script.sh: Permission deniedLinux

bash: ./script.sh: Permission denied

The script isn't executable or lives on a noexec mount.

bash: ./script: /bin/bash^M: bad interpreterLinux

-bash: ./script.sh: /usr/bin/python3\r: bad interpreter: No such file or directory

The shebang has a wrong path or CRLF line endings.

syntax error: unexpected end of file (bash script)Linux

script.sh: line 25: syntax error: unexpected end of file

Bash found an unclosed block.

The following paths are ignored by one of your .gitignore filesGit

The following paths are ignored by one of your .gitignore files: dist hint: Use -f if you really want to add them.

You tried to add a file that .gitignore excludes.

git: 'credential-manager' is not a git commandGit

git: 'credential-manager-core' is not a git command. See 'git --help'.

The configured credential helper isn't installed.

Git keeps using an old password (macOS Keychain / Windows Credential Manager)Git

remote: Invalid username or password (cached credentials)

A stored credential is outdated but keeps being sent.