I've just finished following the instructions for going from version 4 to 5. That went fine. I'm now moving from version 5 to 6 and unfortuantely I've hit a bit of a brick wall.
I followed the instructions here: https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0#New_installation up until running "apt update" for the first time. I get this output:
After seeing this output I attempted to add the key:
However adding the key gets this output:
Here is the contents of my sources.list:
Is there a way for me to fix this?
I followed the instructions here: https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0#New_installation up until running "apt update" for the first time. I get this output:
Code:
root@vmhost01:~# apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.au.debian.org/debian stretch InRelease
Hit:3 http://ftp.au.debian.org/debian stretch Release
Ign:5 http://hwraid.le-vert.net/debian stretch InRelease
Hit:6 http://hwraid.le-vert.net/debian stretch Release
Get:8 http://download.proxmox.com/debian stretch InRelease [3,052 B]
Err:8 http://download.proxmox.com/debian stretch InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Get:9 http://download.proxmox.com/debian/corosync-3 stretch InRelease [1,977 B]
Err:9 http://download.proxmox.com/debian/corosync-3 stretch InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Reading package lists... Done
W: GPG error: http://download.proxmox.com/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
E: The repository 'http://download.proxmox.com/debian stretch InRelease' is not signed.
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.
W: GPG error: http://download.proxmox.com/debian/corosync-3 stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
E: The repository 'http://download.proxmox.com/debian/corosync-3 stretch InRelease' is not signed.
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.
After seeing this output I attempted to add the key:
Code:
wget http://download.proxmox.com/debian/key.asc (this succeeded)
apt-key add key.asc
Code:
gpg: [don't know]: invalid packet (ctb=2d)
gpg: keydb_get_keyblock failed: Value not found
gpg: [don't know]: invalid packet (ctb=2d)
gpg: /tmp/apt-key-gpghome.Y5gO5dqVh0/pubring.gpg: copy to '/tmp/apt-key-gpghome.Y5gO5dqVh0/pubring.gpg.tmp' failed: Invalid packet
gpg: error writing keyring '/tmp/apt-key-gpghome.Y5gO5dqVh0/pubring.gpg': Invalid packet
gpg: [don't know]: invalid packet (ctb=2d)
gpg: error reading 'key.asc': Invalid packet
gpg: import from 'key.asc' failed: Invalid packet
Here is the contents of my sources.list:
Code:
deb http://ftp.au.debian.org/debian stretch main contrib
# security updates
deb http://security.debian.org stretch/updates main contrib
#Raid management tools
deb http://hwraid.le-vert.net/debian stretch main
#apt repository
deb http://download.proxmox.com/debian stretch pve-no-subscription
Is there a way for me to fix this?