apt-get update不起作用

我刚刚第二次安装Ubuntu(单独下载)到我的nexus 7.我无法使用apt-get升级,因此无法安装任何应用程序。

在第二次安装时,我在安装过程中打开了终端模式并注意到Glibc由于某种原因没有正确设置(这可能是问题??)。

我已经尝试了所有可能的事情,我可以找到其他问题。 我能想到的其他一些重要事项是 –

  1. 在两次下载期间,互联网连接在中间丢失,然后下载恢复

  2. 我刚刚在我的连接中添加了一个新的开关,这在我的电脑上给了我一些DSL问题,但在WIFI上没有,所以我不认为这是原因

  3. 我可以浏览网页并在ubuntu上做与互联网相关的虚拟环节,但是当我尝试发送错误报告或错误报告时,由于没有互联网连接,更新失败了! 当我尝试选择最好的服务器时,它会给出相同的错误

  4. ping到8.8.8.8给出了0%的损失

  5. 出于某种原因,当我尝试选择我的镜像并选择区域镜像(in.ubuntu.archive.com/ubuntu)时,它会选择该镜像,但在重新启动时会重置为主镜像。 即使我在sources.list中更改它,也会发生这种情况

  6. 在我的nexus 7上安装最新的13.04后,我被要求升级到更稳定的13.10但是我无法在termianl中执行此操作,因为它说我没有互联网连接,当我通过更新管理器执行此操作时,确认窗口太大,我的屏幕,我不能选择接受,所以我仍然使用13.04

  7. 除了在设置上显示的Glibc错误,我不相信在安装过程中还有任何其他错误。 我一步一步地使用了Multirom说明。

  8. 错误消息每次都会发生变化,某些文件发生错误,有些文件无法安装,有时两者都有

我一直试图在我的旧nexus 7上测试这个作为测试,然后把它放在我的新的,但不要以为我会,除非这个问题得到解决。 任何帮助都是适用的! 🙂

如果您想查看我的sources.listresolv.conf或安装日志,请告诉我

我已经删除了http://所以它没有显示链接

 root@pranay-finaltest:/home/pranay# apt-get update Ign archive.ubuntu.com raring Release.gpg Ign archive.ubuntu.com raring Release Err archive.ubuntu.com raring/main Sources 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/restricted Sources 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/universe Sources 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/multiverse Sources 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/main armhf Packages 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/restricted armhf Packages 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/universe armhf Packages 404 Not Found [IP: 91.189.92.200 80] Err archive.ubuntu.com raring/multiverse armhf Packages 404 Not Found [IP: 91.189.92.200 80] Ign archive.ubuntu.com raring/main Translation-en_IN Ign archive.ubuntu.com raring/main Translation-en Ign archive.ubuntu.com raring/multiverse Translation-en_IN Ign archive.ubuntu.com raring/multiverse Translation-en Ign archive.ubuntu.com raring/restricted Translation-en_IN Ign archive.ubuntu.com raring/restricted Translation-en Ign archive.ubuntu.com raring/universe Translation-en_IN Ign archive.ubuntu.com raring/universe Translation-en W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/main/binary-armhf/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.92.200 80] E: Some index files failed to download. They have been ignored, or old ones used instead. root@pranay-finaltest:/home/pranay# gedit /etc/apt/sources.list root@pranay-finaltest:/home/pranay# apt-get update Ign archive.ubuntu.com raring Release.gpg Ign archive.ubuntu.com raring-security Release.gpg Ign archive.ubuntu.com raring Release Ign archive.ubuntu.com raring-security Release Err ports.ubuntu.com raring-backports Release.gpg Something wicked happened resolving 'ports.ubuntu.com:http' (-11 - System error) Err archive.ubuntu.com raring/main Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring/restricted Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring/universe Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring/multiverse Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring/main armhf Packages 404 Not Found [IP: 91.189.91.13 80] Ign ports.ubuntu.com raring-security Release.gpg Ign ports.ubuntu.com raring-backports Release Err archive.ubuntu.com raring/restricted armhf Packages 404 Not Found [IP: 91.189.91.13 80] Ign ports.ubuntu.com raring-security Release Err archive.ubuntu.com raring/universe armhf Packages 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring/multiverse armhf Packages 404 Not Found [IP: 91.189.91.13 80] Ign archive.ubuntu.com raring/main Translation-en_IN Ign archive.ubuntu.com raring/main Translation-en Ign archive.ubuntu.com raring/multiverse Translation-en_IN Ign archive.ubuntu.com raring/multiverse Translation-en Ign archive.ubuntu.com raring/restricted Translation-en_IN Ign archive.ubuntu.com raring/restricted Translation-en Ign archive.ubuntu.com raring/universe Translation-en_IN Ign archive.ubuntu.com raring/universe Translation-en Err archive.ubuntu.com raring-security/main Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring-security/restricted Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring-security/universe Sources 404 Not Found [IP: 91.189.91.13 80] Err archive.ubuntu.com raring-security/multiverse Sources 404 Not Found [IP: 91.189.91.13 80] 24% [Waiting for headers]^C root@pranay-finaltest:/home/pranay# gedit /etc/apt/sources.list root@pranay-finaltest:/home/pranay# apt-get update Ign ports.ubuntu.com raring-security Release.gpg Ign ports.ubuntu.com raring-security Release Ign archive.ubuntu.com raring Release.gpg Ign archive.ubuntu.com raring-updates Release.gpg Ign archive.ubuntu.com raring-security Release.gpg Ign archive.ubuntu.com raring Release Ign archive.ubuntu.com raring-updates Release Ign archive.ubuntu.com raring-security Release Err ports.ubuntu.com raring-security/main armhf Packages 404 Not Found [IP: 91.189.88.140 80] Err ports.ubuntu.com raring-security/restricted armhf Packages 404 Not Found [IP: 91.189.88.140 80] Err ports.ubuntu.com raring-security/universe armhf Packages 404 Not Found [IP: 91.189.88.140 80] Err ports.ubuntu.com raring-security/multiverse armhf Packages 404 Not Found [IP: 91.189.88.140 80] Ign ports.ubuntu.com raring-security/main Translation-en_IN Ign ports.ubuntu.com raring-security/main Translation-en Ign ports.ubuntu.com raring-security/multiverse Translation-en_IN Ign ports.ubuntu.com raring-security/multiverse Translation-en Ign ports.ubuntu.com raring-security/restricted Translation-en_IN Ign ports.ubuntu.com raring-security/restricted Translation-en Ign ports.ubuntu.com raring-security/universe Translation-en_IN Ign ports.ubuntu.com raring-security/universe Translation-en Err archive.ubuntu.com raring/main Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/restricted Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/universe Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/multiverse Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/main armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/restricted armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/universe armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring/multiverse armhf Packages 404 Not Found [IP: 91.189.92.201 80] Ign archive.ubuntu.com raring/main Translation-en_IN Ign archive.ubuntu.com raring/main Translation-en Ign archive.ubuntu.com raring/multiverse Translation-en_IN Ign archive.ubuntu.com raring/multiverse Translation-en Ign archive.ubuntu.com raring/restricted Translation-en_IN Ign archive.ubuntu.com raring/restricted Translation-en Ign archive.ubuntu.com raring/universe Translation-en_IN Ign archive.ubuntu.com raring/universe Translation-en Err archive.ubuntu.com raring-updates/main Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/restricted Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/universe Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/multiverse Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/main armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/restricted armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/universe armhf Packages 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-updates/multiverse armhf Packages 404 Not Found [IP: 91.189.92.201 80] Ign archive.ubuntu.com raring-updates/main Translation-en_IN Ign archive.ubuntu.com raring-updates/main Translation-en Ign archive.ubuntu.com raring-updates/multiverse Translation-en_IN Ign archive.ubuntu.com raring-updates/multiverse Translation-en Ign archive.ubuntu.com raring-updates/restricted Translation-en_IN Ign archive.ubuntu.com raring-updates/restricted Translation-en Ign archive.ubuntu.com raring-updates/universe Translation-en_IN Ign archive.ubuntu.com raring-updates/universe Translation-en Err archive.ubuntu.com raring-security/main Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-security/restricted Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-security/universe Sources 404 Not Found [IP: 91.189.92.201 80] Err archive.ubuntu.com raring-security/multiverse Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch ports.ubuntu.com/ubuntu-ports/dists/raring-security/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80] W: Failed to fetch ports.ubuntu.com/ubuntu-ports/dists/raring-security/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80] W: Failed to fetch ports.ubuntu.com/ubuntu-ports/dists/raring-security/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80] W: Failed to fetch ports.ubuntu.com/ubuntu-ports/dists/raring-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/main/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/main/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/universe/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-security/restricted/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-security/universe/source/Sources 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch archive.ubuntu.com/ubuntu/dists/raring-security/multiverse/source/Sources 404 Not Found [IP: 91.189.92.201 80] E: Some index files failed to download. They have been ignored, or old ones used instead. 

我在我的浏览器上尝试了一些ip地址,确定看了我注意到的列表。 。 。 这些都是“ 更新 ”和“安全”更新,因为13.04是EOL – LOL而不再提供。

此版本的Ubuntu没有更新。 您必须使用较新版本的Ubuntu或从/etc/apt/sources.list中删除更新和安全URL,我不建议这样做。

http://archive.ubuntu.com/ubuntu/dists/raring = 404未找到

然而

http://archive.ubuntu.com/ubuntu/dists/precise =连接