Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
linux_faq:apt-key_is_deprecated_how_to_add [2022/04/08 09:54] – admin | linux_faq:apt-key_is_deprecated_how_to_add [2022/04/08 10:00] – admin | ||
---|---|---|---|
Line 11: | Line 11: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt install gnupg2 wget ca-certificates lsb-release software-properties-common | sudo apt install gnupg2 wget ca-certificates lsb-release software-properties-common | ||
- | #gpg_key_url=" | + | gpg_key_url=" |
- | gpg_key_url=" | + | |
gpg_keyring_path="/ | gpg_keyring_path="/ | ||
curl -fsSL " | curl -fsSL " | ||
Line 18: | Line 17: | ||
sudo apt-get update | sudo apt-get update | ||
</ | </ | ||
- | При этом, в **Ubuntu 22.04** добавление pgp-файла в **/ | + | При этом, в **Ubuntu 22.04** добавление pgp-файла в **/ |
+ | \\ | ||
+ | Либо, пока не свосем выпилили **apt-key**: | ||
< | < | ||
- | gpg --no-default-keyring --keyring | + | gpg_key_url=" |
- | sudo cp Opera.gpg | + | gpg_keyring_path=" |
- | + | wget -q -O - $gpg_key_url | |
- | + | ||
- | wget -q -O - http:// | + | |
</ | </ | ||