Editing Apt update
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[apt]] update | [[apt]] update | ||
[[apt -qq]] update | [[apt -qq]] update | ||
− | + | [[apt update -y]] && [[apt upgrade -y]] | |
− | + | [[apt -qq update]] -y && apt upgrade -y | |
− | [[apt update -y]] && [[apt upgrade -y]] | ||
− | [[apt -qq update]] -y && apt | ||
− | |||
− | |||
− | |||
[[apt]] update | [[apt]] update | ||
Line 63: | Line 48: | ||
Reading package lists... Done | Reading package lists... Done | ||
W: GPG error: http://downloads.linux.hpe.com/SDR/repo/mcp focal/current Release: The following signatures couldn't be verified because the public key is not available: | W: GPG error: http://downloads.linux.hpe.com/SDR/repo/mcp focal/current Release: The following signatures couldn't be verified because the public key is not available: | ||
− | + | NO_PUBKEY C208ADDE26C2B797 | |
E: The repository 'http://downloads.linux.hpe.com/SDR/repo/mcp focal/current Release' is not signed. | E: The repository 'http://downloads.linux.hpe.com/SDR/repo/mcp focal/current Release' is not signed. | ||
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | N: Updating from such a repository can't be done securely, and is therefore disabled by default. | ||
N: See [[apt-secure]](8) manpage for repository creation and user configuration details. | N: See [[apt-secure]](8) manpage for repository creation and user configuration details. | ||
− | |||
− | |||
− | |||
− | |||
− | == | + | ===Solution=== |
− | + | * A) <code> sudo [[apt-key]] adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C208ADDE26C2B797</code> | |
− | + | * B) <code>deb [trusted=yes] http://www.your_not_trustedcert.org jessie main</code> | |
+ | |||
− | |||
apt update NO_PACKAGE_AS_ARGUMENT | apt update NO_PACKAGE_AS_ARGUMENT | ||
E: The update command takes no arguments | E: The update command takes no arguments | ||
− | |||
− | |||
== Related terms == | == Related terms == | ||
Line 88: | Line 67: | ||
* <code>[[brew update]]</code> | * <code>[[brew update]]</code> | ||
* <code>[[apt-get update]]</code> | * <code>[[apt-get update]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{APT}} | * {{APT}} | ||
[[Category:APT]] | [[Category:APT]] |
Advertising: