can't update from 18.04 to 20.04 [duplicate]

sudo apt update
Err:1 http://apt.opscode.com onereic InRelease                                 
  403  Forbidden [IP: 13.33.244.65 80]
Hit:2 http://kg.archive.ubuntu.com/ubuntu bionic InRelease                     
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                     
Get:5 http://kg.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]   
Get:6 http://kg.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 
Reading package lists... Done                                      
E: Failed to fetch http://apt.opscode.com/dists/onereic/InRelease  403  Forbidden [IP: 13.33.244.65 80]
E: The repository 'http://apt.opscode.com onereic 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.
0
задан 14 June 2020 в 11:36

1 ответ

In this case you need to remove old repository file with

sudo rm /etc/apt/sources.list.d/opscode.list

and then run

sudo apt update

again.

0
ответ дан 19 June 2020 в 21:25

Другие вопросы по тегам:

Похожие вопросы: