“sudo apt-get update”给出了在Ubuntu 14.10中找不到的404

我有一个全新安装的Ubuntu 14.10桌面。 我昨天下载了它。 它已正确安装。

我添加了一个存储库,现在当我输入sudo apt-get update它会出现以下错误:

 Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic InRelease Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en_US Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en_US Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic InRelease Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-updates InRelease Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-backports InRelease Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-updates Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-backports Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' Ign http://archive.canonical.com utopic InRelease Ign http://ppa.launchpad.net utopic InRelease Ign http://extras.ubuntu.com utopic InRelease Hit http://archive.canonical.com utopic Release.gpg Ign http://ppa.launchpad.net utopic Release.gpg Hit http://extras.ubuntu.com utopic Release.gpg Ign http://us.archive.ubuntu.com utopic-security InRelease Hit http://archive.canonical.com utopic Release Ign http://ppa.launchpad.net utopic Release Hit http://extras.ubuntu.com utopic Release Ign http://us.archive.ubuntu.com utopic InRelease Hit http://extras.ubuntu.com utopic/main Sources Ign http://us.archive.ubuntu.com utopic-backports InRelease Hit http://extras.ubuntu.com utopic/main i386 Packages Ign http://us.archive.ubuntu.com utopic-proposed InRelease Hit http://archive.canonical.com utopic/partner Sources Ign http://us.archive.ubuntu.com utopic-updates InRelease Hit http://archive.canonical.com utopic/partner i386 Packages Hit http://us.archive.ubuntu.com utopic-security Release.gpg Hit http://archive.canonical.com utopic/partner Translation-en Hit http://us.archive.ubuntu.com utopic Release.gpg Hit http://us.archive.ubuntu.com utopic-backports Release.gpg Hit http://us.archive.ubuntu.com utopic-proposed Release.gpg Hit http://us.archive.ubuntu.com utopic-updates Release.gpg Ign http://extras.ubuntu.com utopic/main Translation-en_US Ign http://extras.ubuntu.com utopic/main Translation-en Hit http://us.archive.ubuntu.com utopic-security Release Hit http://us.archive.ubuntu.com utopic Release Hit http://us.archive.ubuntu.com utopic-backports Release Hit http://us.archive.ubuntu.com utopic-proposed Release Err http://ppa.launchpad.net utopic/main Sources 404 Not Found Hit http://us.archive.ubuntu.com utopic-updates Release Err http://ppa.launchpad.net utopic/main i386 Packages 404 Not Found Ign http://ppa.launchpad.net utopic/main Translation-en_US Ign http://ppa.launchpad.net utopic/main Translation-en Hit http://us.archive.ubuntu.com utopic-security/main Sources Hit http://us.archive.ubuntu.com utopic-security/restricted Sources Hit http://us.archive.ubuntu.com utopic-security/universe Sources Hit http://us.archive.ubuntu.com utopic-security/multiverse Sources Hit http://us.archive.ubuntu.com utopic-security/main i386 Packages Hit http://us.archive.ubuntu.com utopic-security/restricted i386 Packages Hit http://us.archive.ubuntu.com utopic-security/universe i386 Packages Hit http://us.archive.ubuntu.com utopic-security/multiverse i386 Packages Hit http://us.archive.ubuntu.com utopic-security/main Translation-en Hit http://us.archive.ubuntu.com utopic-security/multiverse Translation-en Hit http://us.archive.ubuntu.com utopic-security/restricted Translation-en Hit http://us.archive.ubuntu.com utopic-security/universe Translation-en Hit http://us.archive.ubuntu.com utopic/main i386 Packages Hit http://us.archive.ubuntu.com utopic/universe i386 Packages Hit http://us.archive.ubuntu.com utopic/restricted i386 Packages Hit http://us.archive.ubuntu.com utopic/multiverse i386 Packages Hit http://us.archive.ubuntu.com utopic/main Translation-en Hit http://us.archive.ubuntu.com utopic/multiverse Translation-en Hit http://us.archive.ubuntu.com utopic/restricted Translation-en Hit http://us.archive.ubuntu.com utopic/universe Translation-en Hit http://us.archive.ubuntu.com utopic-backports/main i386 Packages Hit http://us.archive.ubuntu.com utopic-backports/universe i386 Packages Hit http://us.archive.ubuntu.com utopic-backports/multiverse i386 Packages Hit http://us.archive.ubuntu.com utopic-backports/restricted i386 Packages Hit http://us.archive.ubuntu.com utopic-backports/main Translation-en Hit http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en Hit http://us.archive.ubuntu.com utopic-backports/restricted Translation-en Hit http://us.archive.ubuntu.com utopic-backports/universe Translation-en Hit http://us.archive.ubuntu.com utopic-proposed/main i386 Packages Hit http://us.archive.ubuntu.com utopic-proposed/universe i386 Packages Hit http://us.archive.ubuntu.com utopic-proposed/multiverse i386 Packages Hit http://us.archive.ubuntu.com utopic-proposed/restricted i386 Packages Hit http://us.archive.ubuntu.com utopic-proposed/main Translation-en Hit http://us.archive.ubuntu.com utopic-proposed/multiverse Translation-en Hit http://us.archive.ubuntu.com utopic-proposed/restricted Translation-en Hit http://us.archive.ubuntu.com utopic-proposed/universe Translation-en Hit http://us.archive.ubuntu.com utopic-updates/main i386 Packages Hit http://us.archive.ubuntu.com utopic-updates/universe i386 Packages Hit http://us.archive.ubuntu.com utopic-updates/multiverse i386 Packages Hit http://us.archive.ubuntu.com utopic-updates/restricted i386 Packages Hit http://us.archive.ubuntu.com utopic-updates/main Translation-en Hit http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en Hit http://us.archive.ubuntu.com utopic-updates/restricted Translation-en Hit http://us.archive.ubuntu.com utopic-updates/universe Translation-en Reading package lists... Done W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic/InRelease W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-updates/InRelease W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-backports/InRelease W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic/Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-updates/Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-backports/Release.gpg Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com' W: Failed to fetch http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu/dists/utopic/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu/dists/utopic/main/binary-i386/Packages 404 Not Found W: Some index files failed to download. They have been ignored, or old ones used instead. 

我已经阅读了很多问题并逐一尝试了所有这些问题。 但它仍然导致问题。 我已经检查了软件和更新中的所有选项,并尝试了不同的服务器。 这导致了同样的问题

我不确定是否应该有管道字符| 在您的ubuntu服务器名称中间…这不仅仅是错误消息的外观吗?

尝试检查您的软件存储库,也许尝试不同的镜像。 此帮助页面应该有助于https://help.ubuntu.com/community/Repositories/Ubuntu

我尝试连接到http://pk.archive.ubuntu.com ,它只是挂起,也许它只是失败了。

我从Digital Ocean网站上看到了这个:

Ubuntu 14.10(Utopic Unicorn)于2015年7月23日达到“生命终结”,不再受支持。 Ubuntu最近将其从官方镜像中删除。 如果您仍然需要Apt存储库,则需要编辑/etc/apt/source.list以指向:

http://old-releases.ubuntu.com/

我们还为它设置了一个镜像:

http://mirrors.digitalocean.com/ubuntu-old

虽然强烈建议您升级到更新版本。 14.10中的任何软件包都不再提供安全更新。 我们正在为那些尚未升级到受支持的版本的人提供该存储库作为方便和临时的工作。

这对我有用。

您最有可能在物理/网络防火墙或其他网络安全设备后面,http / https代理或少数网站类别被阻止或者很少有机会但是端口80/443/8080被预订