我试着编辑/etc/apt/Sourcees.list和hono,下面的ULR出现在其中。提前感谢
顺便说一句: 12.04
root@p:~# apt-get update && apt-get upgrade
Hit http:// archive.canonical.com precise Release.gpg
Hit http:// dl.google.com stable Release.gpg
Ign http:// ppa.launchpad.net precise Release.gpg
Hit http:// ppa.launchpad.net precise Release.gpg
Hit http:// ppa.launchpad.net precise Release.gpg
Hit http:// ppa.launchpad.net precise Release.gpg
Ign http:// ppa.launchpad.net precise Release.gpg
Get:1 http:// ppa.launchpad.net precise Release.gpg [316 B]
Hit http:// extras.ubuntu.com precise Release.gpg
Hit http:// archive.canonical.com precise Release
Ign http:// ppa.launchpad.net precise Release
Hit http:// ppa.launchpad.net precise Release
Hit http:// ppa.launchpad.net precise Release
Hit http:// ppa.launchpad.net precise Release
Ign http:// ppa.launchpad.net precise Release
Hit http:/ /dl.google.com stable Release
Hit http:/ /extras.ubuntu.com precise Release
Hit http:// ppa.launchpad.net precise Release
Ign http:// ppa.launchpad.net precise/main Sources/DiffIndex
Ign http:// ppa.launchpad.net precise/main i386 Packages/DiffIndex
Ign http:// ppa.launchpad.net precise/main TranslationIndex
Ign http:// ppa.launchpad.net precise Release
Hit http:// archive.canonical.com precise/partner i386 Packages
Hit http:// dl.google.com stable/main i386 Packages
Hit http:// extras.ubuntu.com precise/main Sources
Ign http:// ppa.launchpad.net precise/main TranslationIndex
Hit http:// archive.canonical.com precise/partner TranslationIndex
Hit http:// ppa.launchpad.net precise/main Sources
Hit http:// ppa.launchpad.net precise/main i386 Packages
Ign http:// ppa.launchpad.net precise/main TranslationIndex
Hit http:// ppa.launchpad.net precise/main Sources
Hit http:// ppa.launchpad.net precise/main i386 Packages
Hit http:// archive.canonical.com precise/partner Translation-en
Hit http:// extras.ubuntu.com precise/main i386 Packages
Ign http:// extras.ubuntu.com precise/main TranslationIndex
Ign http:// ppa.launchpad.net precise/main TranslationIndex
Ign http:// dl.google.com stable/main TranslationIndex
Hit http:// ppa.launchpad.net precise/main Sources
Hit http:// ppa.launchpad.net precise/main i386 Packages
Ign http:// ppa.launchpad.net precise/main TranslationIndex
Ign http:// ppa.launchpad.net precise/main Sources/DiffIndex
Ign http:// ppa.launchpad.net precise/main i386 Packages/DiffIndex
Hit http:// ppa.launchpad.net precise/main TranslationIndex
Hit http:// ppa.launchpad.net precise/main Sources
Hit http:// ppa.launchpad.net precise/main i386 Packages
Hit http:// ppa.launchpad.net precise/main Translation-en
Hit http:// archive.ubuntu.com precise Release.gpg
Hit http:// archive.ubuntu.com precise-security Release.gpg
Err http:// ppa.launchpad.net precise/main Sources
404 Not Found
Hit https: //private-ppa.launchpad.net precise Release.gpg
Err http: //ppa.launchpad.net precise/main i386 Packages
404 Not Found
Err http:// ppa.launchpad.net precise/main Sources
404 Not Found
Hit https:// private-ppa.launchpad.net precise Release
Err http:// ppa.launchpad.net precise/main i386 Packages
404 Not Found
Ign http:// ppa.launchpad.net precise/main Translation-en_GB
Ign http:// ppa.launchpad.net precise/main Translation-en
Ign http:// extras.ubuntu.com precise/main Translation-en_GB
Hit https:// private-ppa.launchpad.net precise/main i386 Packages
Ign http:// ppa.launchpad.net precise/main Translation-en_GB
Get:2 https:// private-ppa.launchpad.net precise/main TranslationIndex [357 B]
Ign https:// private-ppa.launchpad.net precise/main TranslationIndex
Hit http:// apt.insynchq.com precise Release.gpg
Ign http:// extras.ubuntu.com precise/main Translation-en
Ign http:// ppa.launchpad.net precise/main Translation-en
Ign http:// ppa.launchpad.net precise/main Translation-en_GB
Ign http:// ppa.launchpad.net precise/main Translation-en
Ign http:// ppa.launchpad.net precise/main Translation-en_GB
Ign http:// ppa.launchpad.net precise/main Translation-en
Ign http:// ppa.launchpad.net precise/main Translation-en_GB
Ign http:// ppa.launchpad.net precise/main Translation-en
Ign http:// dl.google.com stable/main Translation-en_GB
Hit http:// apt.insynchq.com precise Release
Ign http:// dl.google.com stable/main Translation-en
Hit http:// apt.insynchq.com precise/non-free i386 Packages
Ign https:// private-ppa.launchpad.net precise/main Translation-en_GB
Ign https:// private-ppa.launchpad.net precise/main Translation-en
Hit http:// apt.insynchq.com precise/contrib i386 Packages
Hit http:// archive.ubuntu.com precise Release
Ign http:// apt.insynchq.com precise/contrib TranslationIndex
Hit http:// archive.ubuntu.com precise-security Release
Ign http:// apt.insynchq.com precise/non-free TranslationIndex
Hit http:// archive.ubuntu.com precise/main Sources
Hit http:// archive.ubuntu.com precise/universe Sources
Hit http:// archive.ubuntu.com precise/restricted Sources
Hit http:// archive.ubuntu.com precise/multiverse Sources
Hit http:// archive.ubuntu.com precise/main i386 Packages
Hit http:// archive.ubuntu.com precise/universe i386 Packages
Hit http:// archive.ubuntu.com precise/restricted i386 Packages
Hit http:// archive.ubuntu.com precise/multiverse i386 Packages
Hit http:// archive.ubuntu.com precise/main TranslationIndex
Hit http:// archive.ubuntu.com precise/multiverse TranslationIndex
Hit http:// archive.ubuntu.com precise/restricted TranslationIndex
Hit http:// archive.ubuntu.com precise/universe TranslationIndex
Hit http:// archive.ubuntu.com precise-security/main Sources
Hit http:// archive.ubuntu.com precise-security/universe Sources
Hit http:// archive.ubuntu.com precise-security/restricted Sources
Hit http:// archive.ubuntu.com precise-security/multiverse Sources
Hit http:// archive.ubuntu.com precise-security/main i386 Packages
Hit http:// archive.ubuntu.com precise-security/universe i386 Packages
Hit http:// archive.ubuntu.com precise-security/restricted i386 Packages
Hit http:// archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http:// archive.ubuntu.com precise-security/main TranslationIndex
Hit http:// archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http:// archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http:// archive.ubuntu.com precise-security/universe TranslationIndex
Hit http:// archive.ubuntu.com precise/main Translation-en_GB
Hit http:// archive.ubuntu.com precise/main Translation-en
Hit http:// archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http:// archive.ubuntu.com precise/multiverse Translation-en
Hit http:// archive.ubuntu.com precise/restricted Translation-en_GB
Hit http:// archive.ubuntu.com precise/restricted Translation-en
Hit http:// archive.ubuntu.com precise/universe Translation-en_GB
Hit http:// archive.ubuntu.com precise/universe Translation-en
Hit http:// archive.ubuntu.com precise-security/main Translation-en
Hit http:// archive.ubuntu.com precise-security/multiverse Translation-en
Hit http:// archive.ubuntu.com precise-security/restricted Translation-en
Hit http:// archive.ubuntu.com precise-security/universe Translation-en
Ign http:// apt.insynchq.com precise/contrib Translation-en_GB
Ign http:// apt.insynchq.com precise/contrib Translation-en
Ign http:// apt.insynchq.com precise/non-free Translation-en_GB
Ign http:// apt.insynchq.com precise/non-free Translation-en
Fetched 316 B in 8s (36 B/s)
W: GPG error: http:// ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F191A5A8844C542
W: Failed to fetch http:// ppa.launchpad.net/xorg--edgers/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http:// ppa.launchpad.net/xorg--edgers/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http:// ppa.launchpad.net/nemh/gambas3/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http:// ppa.launchpad.net/nemh/gambas3/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.发布于 2014-12-02 00:42:17
在第一个命令中出现错误时,"&&“后面的命令不会被执行。使用或;代替。(见https://stackoverflow.com/questions/4510640/command-line-what-is-the-purpose-of )
因此,在更新(使用sudo after更新)之后,只需执行一个
sudo apt-get upgrade或
sudo apt-get dist-upgrade在另一行/命令上(如果您不想使用{##**$$}}或;>)。您还应该验证您的源列表仍然有效(为了消除apt-get update命令中的错误,以便您可以这样做&,并使其运行得更快)-因此检查所有警告"W:“的源URL,并确保它们是当前的;如果它们已经停止,只需从您的软件源中删除它们。
编辑:删除软件资源(我假设您使用的是统一):
转到软件中心>编辑>软件资源(或运行‘软件-属性-gtk’)。
然后在“软件资源”选项卡上向下滚动,并取消检查给您带来麻烦的存储库。(如果你还想要软件的话,你应该添加新的更新的存储库。对于Xorg Edgers,请查看并阅读https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa )。
发布于 2014-12-02 10:21:56
当我在笔记本电脑上安装Ubuntu操作系统时,我也经历了同样的场景。尝尝这个。
打开终端,键入以下命令并执行。
sudo apt-get update
https://askubuntu.com/questions/555582
复制相似问题