linux:apt-key-error
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:apt-key-error [2022/12/04 11:22] – Wulf Rajek | linux:apt-key-error [2024/08/19 10:35] (current) – Wulf Rajek | ||
---|---|---|---|
Line 31: | Line 31: | ||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEY | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEY | ||
</ | </ | ||
+ | |||
+ | |||
+ | For OpenSuse repositories it might be required to delete, redownload and reinsert the keys similar to the following examples: | ||
+ | < | ||
+ | sudo rm / | ||
+ | sudo apt-key --keyring / | ||
+ | wget -nv https:// | ||
+ | sudo apt-key add - < Release.key | ||
+ | sudo apt-key export 876D807E | sudo gpg --dearmour -o / | ||
+ | sudo apt-key --keyring / | ||
+ | sudo vi / | ||
+ | sudo apt-get update | ||
+ | |||
+ | |||
+ | sudo apt-key --keyring / | ||
+ | wget -nv http:// | ||
+ | sudo apt-key add - < Release.key | ||
+ | sudo apt-key export 4C70D8B5 | sudo gpg --dearmour -o / | ||
+ | sudo apt-key --keyring / | ||
+ | sudo apt-get update | ||
+ | </ | ||
+ | |||
===== not configured yet ===== | ===== not configured yet ===== | ||
Line 52: | Line 74: | ||
Find the repository causing the error. Note that the apt-key output does not contain the url but descriptions and it might be difficult to find the relevant entry. | Find the repository causing the error. Note that the apt-key output does not contain the url but descriptions and it might be difficult to find the relevant entry. | ||
< | < | ||
- | sudo apt-key list | + | sudo apt-key list | grep -B 2 -i something |
</ | </ | ||
Line 64: | Line 86: | ||
sudo apt-key --keyring / | sudo apt-key --keyring / | ||
</ | </ | ||
+ | |||
+ | see this for newer and secure method: | ||
+ | https:// | ||
+ | ===== apt fastest mirror ===== | ||
+ | |||
+ | apt-get now supports a ' | ||
+ | |||
+ | Follow this with: | ||
+ | < | ||
+ | |||
+ | Adjust for the appropriate ubuntu distribution. | ||
+ | < | ||
+ | deb mirror:// | ||
+ | deb mirror:// | ||
+ | deb mirror:// | ||
+ | deb mirror:// | ||
+ | </ | ||
+ | |||
+ | Do an update for apt to get/select the best mirror before any installs: | ||
+ | < | ||
+ | |||
linux/apt-key-error.1670152950.txt.gz · Last modified: 2023/05/29 11:53 (external edit)