无法更新 Ubuntu 18.04

Hex*_*fir 4 updates package-management apt 18.04

我正在尝试对 Ubuntu 18.04 LTS 进行最后一次更新,并且始终显示此窗口。

在此处输入图片说明

Ubuntu 永远无法更新操作系统。

我试过: $ sudo apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
1 not fully installed or removed.
Need to get 64.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 linux-firmware all 1.173.1 [64.6 MB]
Fetched 64.6 MB in 6s (10.4 MB/s)
Run Code Online (Sandbox Code Playgroud)

我试过: $ sudo apt-get update

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.nodesource.com/node_10.x bionic InRelease                    
Get:3 https://deb.opera.com/opera-stable stable InRelease [2,591 B]            
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Hit:5 https://dl.yarnpkg.com/debian stable InRelease                           
Hit:6 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease        
Hit:7 http://ca.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:8 http://dl.google.com/linux/chrome/deb stable Release                     
Get:9 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]   
Get:10 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Reading package lists... Done                                 
E: Repository 'https://deb.opera.com/opera-stable stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Run Code Online (Sandbox Code Playgroud)

和:

$ sudo dpkg --configure -a
$ sudo apt-get clean
$ sudo apt upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

和:

$ sudo apt --fix-broken install --> not working.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
1 not fully installed or removed.
Need to get 0 B/64.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Run Code Online (Sandbox Code Playgroud)

有人知道解决办法吗?

Kul*_*lfy 7

真正的问题在这里

E: Repository 'https://deb.opera.com/opera-stable stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS' 
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Run Code Online (Sandbox Code Playgroud)

运行sudo apt update而不是,sudo apt-get update您将收到接受或拒绝从该存储库接收更新的提示。