瀏覽代碼

Update installation instructions

This change updates the installation instructions to avoid the
deprecated apt-key tool and instead use the recommend approach.

See https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution
for more information.

Fixes #291
Fabian Mastenbroek 3 年之前
父節點
當前提交
7d67db0275
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -13,16 +13,16 @@ Older builds are still available at the [Releases](https://github.com/fabianishe
 First, set up our Debian repository on your Proxmox installation: 
 1. **Add the repository's GPG key:**  
    ```bash
-   curl -1sLf 'https://dl.cloudsmith.io/public/pve-edge/kernel/gpg.8EC01CCF309B98E7.key' | apt-key add -
+   curl -1sLf 'https://dl.cloudsmith.io/public/pve-edge/kernel/gpg.8EC01CCF309B98E7.key' | gpg --dearmor -o /usr/share/keyrings/pve-edge-kernel.gpg
    ```
 2. **Set up the `pve-edge-kernel` repository:**  
    If you are still on _Proxmox VE 6_, pick the Buster-based repository:
    ```bash
-   echo "deb https://dl.cloudsmith.io/public/pve-edge/kernel/deb/debian buster main" > /etc/apt/sources.list.d/pve-edge-kernel.list
+   echo "deb [signed-by=/usr/share/keyrings/pve-edge-kernel.gpg] https://dl.cloudsmith.io/public/pve-edge/kernel/deb/debian buster main" > /etc/apt/sources.list.d/pve-edge-kernel.list
    ```
    If you are already on _Proxmox VE 7_, pick the Bullseye-based repository:
    ```bash
-   echo "deb https://dl.cloudsmith.io/public/pve-edge/kernel/deb/debian bullseye main" > /etc/apt/sources.list.d/pve-edge-kernel.list
+   echo "deb [signed-by=/usr/share/keyrings/pve-edge-kernel.gpg] https://dl.cloudsmith.io/public/pve-edge/kernel/deb/debian bullseye main" > /etc/apt/sources.list.d/pve-edge-kernel.list
    ```
 3. **Install a kernel package:**  
    ```bash