Ubuntu 20.04 LTS Focal Fossa
我对此感到力不从心。目标是直接升级到 22.04,而无需运行安装程序并丢失所有自定义设置。运行软件更新程序后,会出现一条消息,邀请我升级发行版,但除非我先升级所有已安装的软件包,否则不会继续。
但~$ sudo apt upgrade
会出现一堆错误。我已执行 AskUbuntu 中建议的各种补救措施,但效果参差不齐。有人能告诉我这些gpg
错误是什么以及如何修复它们吗?
~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4C6E74D6C0A35108 C793BFA2FA577F07 BF68EA4C8BDD0697 FC918B335044912E 5606C8D03F9E5FB8
Executing: /tmp/apt-key-gpghome.n6cG209zwC/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 4C6E74D6C0A35108 C793BFA2FA577F07 BF68EA4C8BDD0697 FC918B335044912E 5606C8D03F9E5FB8
gpg: key 5606C8D03F9E5FB8: "home:hpcoder1 OBS Project <home:[email protected]>" 1 new signature
gpg: key FC918B335044912E: public key "Dropbox Automatic Signing Key <[email protected]>" imported
gpg: key BF68EA4C8BDD0697: public key "Launchpad PPA for bitseater" imported
gpg: key C793BFA2FA577F07: public key "Launchpad PPA for Alexander Larsson" imported
gpg: key B75442BBDE9E3B09: public key "https://packagecloud.io/AtomEditor/atom (https://packagecloud.io/docs#gpg_signing) <[email protected]>" imported
gpg: Total number processed: 5
gpg: imported: 4
gpg: new signatures: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.n6cG209zwC/home:hpcoder1.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key A6A19B38D3D831EF: 2 signatures not checked due to missing keys
gpg: key CD55515EEBDB2B90: 1 signature not checked due to a missing key
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 5606C8D03F9E5FB8: 1 signature not checked due to a missing key
gpg: key 5606C8D03F9E5FB8: 1 signature not checked due to a missing key
gpg: key 5606C8D03F9E5FB8: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 39
gpg: skipped new keys: 39