每次我Send error report
尝试通过Software and updates
. 目前,我点击它并没有任何反应。
我尝试使用sudo apt-get update
. 在终端中,我收到很多错误说未签名,如下所示
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Origin' value from 'LP-PPA-tista-plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Label' value from 'Plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Suite' value from 'focal' to 'focal-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer 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.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
自过去 2 周以来,顶部栏上也有此错误图标和下拉菜单
更新 1:
sudo apt update
根据 + Kulfy 的评论尝试
Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Get:18 http://in.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [207 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [55.6 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [87.9 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
Get:23 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [12.9 kB]
Get:24 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [16.2 kB]
Get:25 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [171 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [25.3 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [436 B]
Get:28 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [755 kB]
Get:29 http://in.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [560 kB]
Get:30 http://in.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [159 kB]
Get:31 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Get:32 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [200 kB]
Get:33 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [356 kB]
Get:34 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
Get:35 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [16.5 kB]
Get:36 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [4,356 B]
Get:37 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.6 kB]
Get:38 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [5,508 B]
Get:39 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:40 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:41 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:42 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Get:43 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
Reading package lists... Error!
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer 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: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer 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.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
更新 2:
再试sudo apt update
一次
$ sudo apt update
[sudo] password for myPC:
Get:1 http://in.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Hit:2 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease
Ign:3 http://dl.google.com/linux/webdesigner/deb stable InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:5 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
Ign:6 http://linux.dropbox.com/ubuntu disco InRelease
Err:5 http://packages.microsoft.com/repos/code stable InRelease
Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:8 http://linux.dropbox.com/ubuntu disco Release [6,598 B]
Hit:9 http://archive.canonical.com/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal InRelease
Get:11 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Err:9 http://archive.canonical.com/ubuntu focal InRelease
Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:14 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Hit:15 http://dl.google.com/linux/webdesigner/deb stable Release
Hit:16 http://ppa.launchpad.net/tista/plata-theme/ubuntu focal InRelease
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
Ign:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Err:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
File has unexpected size (32 != 520). Mirror sync in progress? [IP: 91.189.95.85 80]
Hashes of expected file:
- Filesize:520 [weak]
- SHA256:a3773bb530cff42a2d0897847644b9d65187c8ecb3556a98641ed51a199bafe0
- SHA1:dd9a0819692490aaa173d9d4509651e08ec89c2c [weak]
- MD5Sum:e38999641c7c26e004f9ad328196758b [weak]
Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Reading package lists... Error!
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer 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: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer 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.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
我看到 2 错误与 apt key for microsoft repo 有关。也许这会 有所帮助
注意没有经过我的测试。
下一步将删除 apt/apt-get 软件包源中可用的信息
跑
或
sudo apt-get update
重新创建已删除的文件下一部分删除部分下载包。