Показать статистику
0 голосов
от (1.7тыс. баллов)

Я пытаюсь обновить свой сервер 18.04.6 LTS, но не могу получать обновления из-за проблемы с открытым ключом. Когда я пытаюсь решить проблему с открытым ключом, я получаю ошибку. Есть идеи?

myuser@myuser-VirtualBox:~$ sudo apt-get update
[sudo] password for myuser: 
Hit:1 http://ppa.launchpad.net/bit-team/stable/ubuntu yakkety InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic InRelease                     
Get:3 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease [7,549 B]
Hit:4 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:5 http://ppa.launchpad.net/nathan-renniewaldock/qdirstat/ubuntu yakkety InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease                
Get:8 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]    
Err:3 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3268CF038EEC045B
Fetched 73.8 kB in 1s (70.4 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3268CF038EEC045B
W: Failed to fetch http://repository.veeam.com/backup/linux/agent/dpkg/debian/public/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3268CF038EEC045B
W: Some index files failed to download. They have been ignored, or old ones used instead.

myuser@myuser-VirtualBox:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 3268CF038EEC045B
Executing: /tmp/apt-key-gpghome.KcfykItU12/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 3268CF038EEC045B
gpg: keyserver receive failed: Server indicated a failure
305 просмотров 1 ответов

1 Ответ

0 голосов
от (26.4тыс. баллов)

Сначала вам нужно создать снимок текущего состояния системы, используя соответствующую функцию VirtualBox.
Затем проверьте все свои репозитории. Они должны содержать как минимум следующие строки /etc/apt/sources.list для вашей фактической Ubuntu 18.04.6 LTS:

deb http://gb.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://gb.security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse

Вы должны удалить репозиторий Docker для xenial , он не нужен.

Затем вам нужно добавить ключ Veeam в систему:

cd /tmp
wget -c http://repository.veeam.com/keys/veeam.gpg
sudo apt-key add veeam.gpg

и обновлять списки пакетов и пакеты

sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install aptitude
sudo aptitude dist-upgrade

Затем перезагрузитесь и запустите sudo do-release-upgrade обновление системы до версии 20.04 LTS.

...