How to fix E: Broken packages (apt-listchanges) in APT
The apt-listchanges package has unmet dependencies preventing package operations. This typically occurs due to missing Python dependencies or incomplete previous operations, and can be resolved by fixing broken packages and reconfiguring failed installs.
Quick fix
Fixes E: Broken packages (apt-listchanges)
sudo apt-get check- Check broken packages
- Reconfigure partially installed packages
- Update package lists with fix-missing
- Fix broken packages and dependencies
sudo apt-get checkE: Broken packages (apt-listchanges)
What this error means
apt-listchanges is a Debian package management utility that shows changelog entries when packages are updated. When apt reports "E: Broken packages (apt-listchanges)", it means the apt-listchanges package cannot be properly installed or configured because one or more of its dependencies are missing or broken. This is commonly caused by interrupted package operations, missing Python libraries like python3-apt or python3-debconf, or conflicting package states. The error prevents apt from proceeding with package upgrades or installations until the dependency issue is resolved.
Typical symptoms
- apt update or apt upgrade fails with "E: Broken packages (apt-listchanges)"
- apt commands show unmet dependencies for python3-apt, python3-debconf, or sensible-utils
- Cannot install or upgrade any packages while apt-listchanges is broken
- Previous installation or upgrade operations left apt-listchanges in an incomplete state
Common causes
- Interrupted apt or dpkg operation left apt-listchanges in a partially installed state
- Missing Python dependencies (python3-apt, python3-debconf) required by apt-listchanges
- Incompatible apt-listchanges version selected during package operations
- Third-party repository conflicts causing dependency resolution failures
- Broken configuration files in /etc/apt/listchanges.conf
How to fix "E: Broken packages (apt-listchanges)"
First, identify all broken packages on your system:
sudo apt-get checkThis command will list which packages have dependency problems and need to be fixed.
Use dpkg to finish any incomplete package configurations:
sudo dpkg --configure -aThis will attempt to complete any partially installed or removed packages that dpkg left in an inconsistent state.
Update the package lists while ignoring temporarily unavailable packages:
sudo apt update --fix-missingThis allows apt to refresh its package cache while skipping any missing or broken sources.
Use apt to fix broken package dependencies:
sudo apt --fix-broken installAlternatively, you can use:
sudo apt install -fThis command will install missing dependencies and attempt to resolve the broken state. You may be prompted to remove conflicting packages.
If the above steps do not resolve the issue, forcefully remove apt-listchanges and let apt reinstall it:
sudo dpkg --remove --force-remove-reinstreq apt-listchangesThen reinstall and update:
sudo apt update && sudo apt install apt-listchangesThis forces removal even if dependencies are broken, then performs a clean reinstall.
Once apt-listchanges is fixed, complete any pending upgrades:
sudo apt update
sudo apt upgradeYour system should now be able to process package operations normally.
Advanced notes
The apt-listchanges package is installed by default on most Debian and Ubuntu systems. It functions as an APT plugin configured in /etc/apt/listchanges.conf. The package depends on python3-apt and python3-debconf for parsing changelogs. In rare cases where the package is no longer needed, you can safely remove it entirely with sudo apt remove apt-listchanges and apt operations will continue normally. For systems using unattended-upgrades, apt-listchanges can be configured to send email notifications about updates by setting the frontend to "mail" in the configuration file.
Frequently asked questions
- What does "E: Broken packages (apt-listchanges)" mean?
- apt-listchanges is a Debian package management utility that shows changelog entries when packages are updated. When apt reports "E: Broken packages (apt-listchanges)", it means the apt-listchanges package cannot be properly installed or configured because one or more of its dependencies are missing or broken. This is commonly caused by interrupted package operations, missing Python libraries like python3-apt or python3-debconf, or conflicting package states.
- How do I fix "E: Broken packages (apt-listchanges)"?
- The apt-listchanges package has unmet dependencies preventing package operations. This typically occurs due to missing Python dependencies or incomplete previous operations, and can be resolved by fixing broken packages and reconfiguring failed installs.
- What causes "E: Broken packages (apt-listchanges)"?
- Interrupted apt or dpkg operation left apt-listchanges in a partially installed state Missing Python dependencies (python3-apt, python3-debconf) required by apt-listchanges Incompatible apt-listchanges version selected during package operations
- Is the "E: Broken packages (apt-listchanges)" error serious?
- It is a medium-severity error โ more of a blocker than a risk. The steps above resolve it.
Official resources & further reading
- ๐APT Official Documentation
- ๐Debian Manual - apt-listchanges(1)(Official Docs)
- ๐Debian Packages - apt-listchanges Details(Official Docs)
- ๐
- ๐