![更新 Ubuntu 16.04 时出错](https://linux22.com/image/1061985/%E6%9B%B4%E6%96%B0%20Ubuntu%2016.04%20%E6%97%B6%E5%87%BA%E9%94%99.png)
我一直在尝试更新我的 Ubuntu 16.04 并收到这些消息。
** (appstreamcli:3132): WARNING **: No origin found for file archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-i386.yml.gz
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Error!
W: Target Sources (universe/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:55
W: GPG error: http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6856E1DB1AC82609
W: The repository 'http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-i386.yml.gz Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (universe/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:55
ls /etc/apt/sou*
/etc/apt/sources.list /etc/apt/sources.list.save
/etc/apt/sources.list.d:
gezakovacs-ubuntu-ppa-xenial.list
gezakovacs-ubuntu-ppa-xenial.list.save
gnome3-team-ubuntu-gnome3-staging-xenial.list
gnome3-team-ubuntu-gnome3-staging-xenial.list.save
gnome3-team-ubuntu-gnome3-xenial.list
gnome3-team-ubuntu-gnome3-xenial.list.save
mkusb-ubuntu-ppa-xenial.list
mkusb-ubuntu-ppa-xenial.list.save
stebbins-ubuntu-handbrake-releases-xenial.list
stebbins-ubuntu-handbrake-releases-xenial.list.save
vala-team-ubuntu-ppa-xenial.list
vala-team-ubuntu-ppa-xenial.list.save
xenial-partner.list
yannubuntu-ubuntu-boot-repair-xenial.list
yannubuntu-ubuntu-boot-repair-xenial.list.save
我能做些什么吗?我还能获得重要的安全更新吗?我不太担心这里或那里的一些软件包,只是更关心是否存在安全问题。提前致谢。
/////////////////////////////////////////////////////////////////////////////////////// EDIT1 来自 sudo apt-get update 的完整逐字输出
$ sudo apt-get update
Hit:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://au.archive.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease
Hit:7 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:8 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease
Get:10 http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease [2,891 B]
Ign:10 http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease
Hit:11 http://ppa.launchpad.net/mkusb/ppa/ubuntu xenial InRelease
Ign:12 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en_AU
Hit:14 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease
Ign:15 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Hit:16 http://ppa.launchpad.net/vala-team/ppa/ubuntu xenial InRelease
Hit:17 http://archive.ubuntu.com/ubuntu xenial/universe i386 DEP-11 Metadata
Ign:18 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons
Err:17 http://archive.ubuntu.com/ubuntu xenial/universe i386 DEP-11 Metadata
Hash Sum mismatch
Hit:19 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease
Ign:12 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en_AU
Ign:15 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Fetched 250 kB in 9s (25.3 kB/s)
Reading package lists... Error!
W: Target Sources (universe/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:55
W: GPG error: http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6856E1DB1AC82609
W: The repository 'http://repos.codelite.org/wx3.0.2/ubuntu trusty InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-i386.yml.gz Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (universe/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:55
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
答案1
我假设你目前正在使用 Ubuntu 16.04.2 LTS Xenial Xerus
回答你的第二个问题:
是的,您仍然可以获得安全更新,并且将持续获得更新,直到 2021 年初。
16.04 是一个 LTS 版本,因此它不是只获得 9 个月的更新,而是获得 5 年的更新。这些 LTS 版本每两年发布一次。