Error map
bash: x: unbound variable (set -u) script.sh: line 12: DB_HOST: unbound variable
Linux · layer 6, Platform & cloud
Centre: this error. First ring: errors it is linked with (7). 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 (7)
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.
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1234 (unattended-upgr)
Another apt/dpkg process is running.
script.sh: line 25: syntax error: unexpected end of file
Bash found an unclosed block.
The following packages have been kept back: linux-generic linux-headers-generic 0 upgraded, 0 newly installed
apt won't upgrade some packages automatically.
bash: ./script.sh: Permission denied
The script isn't executable or lives on a noexec mount.
-bash: ./script.sh: /usr/bin/python3\r: bad interpreter: No such file or directory
The shebang has a wrong path or CRLF line endings.
line 8: [: too many arguments
An unquoted variable expanded to several words or nothing.
Two steps away (18)
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…
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.
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…
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.
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).
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…
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.
Nginx: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/site.conf:42
The config ends while a block or directive is still open — a missing `}` or `;`.
Nginx: nginx: [emerg] directive "proxy_pass" is not terminated by ";" in /etc/nginx/sites-enabled/app:15
A directive's arguments run into the next line because the `;` is missing (or a quote is unbalanced).
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…
error: no such partition. Entering rescue mode... grub rescue>
GRUB can't find its boot partition.
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.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
PostgreSQL refuses to start because the data directory is too open or owned by the wrong user.
cannot execute binary file: Exec format error
The program was built for a different CPU architecture or OS — e.g. an x86_64 binary on an ARM machine (Raspberry Pi, Graviton, A…
PEM routines: bad end line / no start line — Windows CRLF line endings or truncated PEM file
OpenSSL can't parse a PEM file because it has Windows line endings, missing newlines or a damaged BEGIN/END line.
/usr/bin/env: 'bash\r': No such file or directory
A shell script has Windows line endings, so the interpreter name includes a carriage return.