Fix broken packages in apt: unmet dependencies
Broken packages in apt can mean two faults. Learn to tell an unconfigured .deb from a resolver refusal, then find the real blocker before you blame a hold.
Filtering by topic #apt · clear
Broken packages in apt can mean two faults. Learn to tell an unconfigured .deb from a resolver refusal, then find the real blocker before you blame a hold.
Install Docker Engine on Debian 13 or 12 from Docker's apt repository, settle docker.io vs docker-ce with apt policy, and avoid the firewall and root traps.
Run apt remove, purge and autoremove on a test package, read what each one leaves behind, and learn why autoremove can take a tool you use and how to stop it.
Find the apt version that closes CVE-2026-109518 on your Ubuntu or Debian release, then upgrade with retries off so the old apt cannot be used against you.
Debian is a Linux system built by volunteers, with no company behind it. See who runs it, how its release and support dates work, and when to pick another OS.
Most Tailscale install errors on Ubuntu are apt errors. Read the status code apt printed, then fix the release codename or the signing keyring.
Ubuntu's own tools run on /usr/bin/python3, so never replace it. Run a newer Python beside it with uv, the deadsnakes PPA or Docker. Here is which to pick.
Debian's installer leaves unattended-upgrades switched off. Enable it properly, read Origins-Pattern, check the apt-daily timers, and prove it patches itself.
Your Ubuntu server reports no new release found. Work through the Prompt setting, the LTS point release gate, third party repos and held packages.
Debian 11 bullseye lost LTS security support on 31 August 2026. Confirm your version, then upgrade in two careful hops to Debian 13 before apt stops working.
apt update says a target is configured multiple times. Find the legacy .list and deb822 .sources pair, keep one, and get a clean update run back.
N: Missing Signed-By means apt trusts a repo through its global keyring. Find the entry, check the key with gpg, and give each source its own Signed-By.
The dnf command for every apt command you already know, on Rocky Linux, AlmaLinux and Fedora, plus the repository and rollback parts that do not map.
When /boot fills with old linux-image packages, apt installs and upgrades start failing. Find the kernels you can remove safely, and keep the one you booted.