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}} | ||
* https://manpages.ubuntu.com/manpages/kinetic/man8/apt.8.html | * https://manpages.ubuntu.com/manpages/kinetic/man8/apt.8.html | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[apt]] update | [[apt]] update | ||
[[apt -qq]] update | [[apt -qq]] update | ||
− | |||
− | |||
[[apt update -y]] && [[apt upgrade -y]] > /tmp/apt-upgrade-output 2>&1 & | [[apt update -y]] && [[apt upgrade -y]] > /tmp/apt-upgrade-output 2>&1 & | ||
[[apt -qq update]] -y && apt -qq upgrade -y | [[apt -qq update]] -y && apt -qq upgrade -y | ||
− | [[apt -qqq update]] -y && | + | [[apt -qqq update]] -y && apt -qqq upgrade -y; echo [[$?]] |
Line 63: | Line 52: | ||
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> | |
== Errors == | == Errors == | ||
Line 90: | Line 75: | ||
* <code>[[bg]]</code> | * <code>[[bg]]</code> | ||
* <code>[[apt autoremove]]</code> | * <code>[[apt autoremove]]</code> | ||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: