Executing: /tmp/apt-key-gpghome.XAz8ctHQ71/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
gpg: keyserver receive failed: Connection timed out
Executing: /tmp/apt-key-gpghome.6dUuQoRTI2/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367 gpg: key 93C4A3FD7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported gpg: Total number processed: 1 gpg: imported: 1
search key on keyserver(s) (some key servers here) copy-paste key as text from web page into text file apt-key add key.txt then apt-get as usual
/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C source : comments of this answer
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>
OK
Flag | Usage |
---|---|
pkgnames pkgnames prefix |
|
search pattern |
|
show package |
|
Command | Usage | Comments |
---|---|---|
|
clears out the local repository of retrieved packages by removing everything but the lock file from :
|
|
apt-get dist-upgrade | upgrades packages and dependencies |
|
apt download package | download package into the current directory. package can be installed with dpkg -i package |
|
|
|
|
apt-get install --reinstall package | reinstall package | |
apt-get purge package | uninstall package and remove configuration files | |
apt-get remove package | uninstall package and leave configuration files | apt-get remove --purge package is equivalent to apt-get purge package |
apt-get -s, --simulate, --dry-run, |
|
|
apt-get update | resynchronize the package tree from its source. Sources are defined in /etc/apt/sources.list |
This must precede apt-get (dist-)?upgrade.
details about status codes
|
apt-get upgrade | install the newest version of installed packages only |
|
apt-get -y | -y, --yes or --assume-yes : assume yes as answer to all prompts and run non-interactively | If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. |
http_proxy
environment variable being properly set) :$http_proxy
" --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D