Apt: Difference between revisions
From DWIKI
mNo edit summary |
m (→FAQ) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== Show version of packages before installing == | == Show version of packages before installing == | ||
apt-get -s install somepackage | |||
or | |||
apt install madison-lite | apt install madison-lite | ||
apt-cache madison somepackage | apt-cache madison somepackage | ||
== have been kept back == | == have been kept back == | ||
Line 24: | Line 24: | ||
dpkg --get-selections | grep hold | dpkg --get-selections | grep hold | ||
==What packages depend on package== | |||
apt-cache rdepends --installed libc6-dev | |||
=== Clear cache === | === Clear cache === | ||
apt-get clean | 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 |
Revision as of 16:35, 24 May 2022
Debian/Ubuntu package manager
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