sudo apt update
命令结束时出现很多错误:
Err:6 http://security.ubuntu.com/ubuntu eoan-security InRelease
Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_eoan-security_InRelease into data and signature failed
Err:9 http://ppa.launchpad.net/canonical-hwe-team/backport-iwlwifi/ubuntu eoan InRelease
Splitting up /var/lib/apt/lists/partial/ppa.launchpad.net_canonical-hwe-team_backport-iwlwifi_ubuntu_dists_eoan_InRelease into data and signature failed
Err:15 http://ppa.launchpad.net/linrunner/tlp/ubuntu eoan InRelease
Splitting up /var/lib/apt/lists/ppa.launchpad.net_linrunner_tlp_ubuntu_dists_eoan_InRelease into data and signature failed
Reading package lists... Error!
W: GPG error: http://security.ubuntu.com/ubuntu eoan-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_eoan-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu eoan-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.
W: GPG error: http://ppa.launchpad.net/canonical-hwe-team/backport-iwlwifi/ubuntu eoan InRelease: Splitting up /var/lib/apt/lists/partial/ppa.launchpad.net_canonical-hwe-team_backport-iwlwifi_ubuntu_dists_eoan_InRelease into data and signature failed
E: The repository 'http://ppa.launchpad.net/canonical-hwe-team/backport-iwlwifi/ubuntu eoan 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://ppa.launchpad.net/linrunner/tlp/ubuntu eoan InRelease: Splitting up /var/lib/apt/lists/ppa.launchpad.net_linrunner_tlp_ubuntu_dists_eoan_InRelease into data and signature failed
E: Clearsigned file '/var/lib/apt/lists/ppa.launchpad.net_linrunner_tlp_ubuntu_dists_eoan_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
它曾经运行良好,从那时起我就没有改变我的存储库。
- 这是一个安全问题吗?
- 我该如何解决这个错误并且不损害我的系统安全?
更新:sudo apt autoremove
出现错误:
Reading package lists... Error!
E: Clearsigned file '/var/lib/apt/lists/ppa.launchpad.net_linrunner_tlp_ubuntu_dists_eoan_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
答案1
您的 GPG 问题很简单。您的签名不正确。请使用以下方法更新它们:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
请对每个错误的键都执行此操作,只需更改最后一个键号并保留其余键号。
重建软件缓存:
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt clean
sudo apt update