#apt
8 one-liners with this tag.
All one-liners tagged apt
Delete downloaded package files from the apt cache
#du -sh /var/cache/apt/archives && apt clean
Fix an interrupted installation and broken dependencies
#dpkg --configure -a && apt --fix-broken install
Hold a package at its current version (apt-mark hold)
#apt-mark hold mariadb-server
Release a held package for updates again
#apt-mark unhold mariadb-server
Remove unused dependencies (apt autoremove)
#apt autoremove
Show available package updates
#apt update && apt list --upgradable
Show only pending security updates
$apt list --upgradable 2>/dev/null | grep -- -security
Show the changelog of a package
$apt changelog openssl