Apt: Difference between revisions
From DWIKI
m (→FAQ) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| | ||
=Unattended upgrades= | |||
*https://pimylifeup.com/unattended-upgrades-debian-ubuntu/ | |||
==Disable unattended upgrades== | |||
In /etc/apt/apt.conf.d/20auto-upgrades | |||
APT::Periodic::Unattended-Upgrade "0"; | |||
= FAQ = | = FAQ = |
Revision as of 15:37, 22 November 2022
Debian/Ubuntu package manager
Unattended upgrades
Disable unattended upgrades
In /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Unattended-Upgrade "0";
FAQ
Show version of packages before installing
apt-get -s install somepackage
or
apt install madison-lite apt-cache madison somepackage
have been kept back
Usually means you should run dist-upgrade
Unable to correct problems, you have held broken packages.
Try
dpkg --get-selections | grep hold
What packages depend on package
apt-cache rdepends --installed libc6-dev
Clear cache
apt-get clean
Could not handshake: The TLS connection was non-properly terminated.
try http instead of https
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead
fart a lot