Difference between revisions of "Apt"

From DWIKI
m
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:


 
 


= FAQ =
= FAQ =


== 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 ==
Usually means you should run dist-upgrade
Usually means you should run dist-upgrade
 
==Unable to correct problems, you have held broken packages.==
Try
dpkg --get-selections | grep hold
=== 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

Latest revision as of 18:27, 14 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


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