Ubuntu 13.10 apt-get 更新问题

Ubuntu 13.10 apt-get 更新问题

我最近安装了 Ubuntu 13.10,但在从“Ubuntu 软件中心”安装几个程序时遇到了一些困难。我尝试更新存储库,但得到以下结果:

Ign http://security.ubuntu.com saucy-security InRelease
Ign http://extras.ubuntu.com saucy InRelease
Hit http://security.ubuntu.com saucy-security Release.gpg
Hit http://extras.ubuntu.com saucy Release.gpg
Hit http://security.ubuntu.com saucy-security Release
Hit http://extras.ubuntu.com saucy Release
Hit http://security.ubuntu.com saucy-security/main Sources
Hit http://extras.ubuntu.com saucy/main Sources
Hit http://security.ubuntu.com saucy-security/restricted Sources
Hit http://extras.ubuntu.com saucy/main amd64 Packages
Hit http://security.ubuntu.com saucy-security/universe Sources
Hit http://extras.ubuntu.com saucy/main i386 Packages
Hit http://security.ubuntu.com saucy-security/multiverse Sources
Hit http://security.ubuntu.com saucy-security/main amd64 Packages
Hit http://security.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://security.ubuntu.com saucy-security/universe amd64 Packages
Hit http://security.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en_US
Ign http://extras.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Ign http://security.ubuntu.com saucy-security/main Translation-en_US
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_US
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_US
Ign http://security.ubuntu.com saucy-security/universe Translation-en_US
Err http://us.archive.ubuntu.com saucy InRelease
Err http://us.archive.ubuntu.com saucy-updates InRelease
Err http://us.archive.ubuntu.com saucy-backports InRelease
Err http://us.archive.ubuntu.com saucy Release.gpg
  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com saucy-updates Release.gpg
  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com saucy-backports Release.gpg
  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/Release.gpg  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/Release.gpg  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/Release.gpg  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::14). - connect (101: Network is unreachable) [IP: 2001:67c:1562::14 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

我想安装 Seaview、Dropbox、Terminator 和 python 2.7 的 IDLE,但我无法安装,因为我收到“<program to install>当前软件源中没有软件包”或“可从“多元宇宙”源获得”。但是,对于最后一个,当我点击“使用此源”时,什么也没有发生。

我需要帮助。谢谢大家。

答案1

似乎您无法通过 ipv6 连接,请尝试先通过网络管理器临时禁用 ipv6,或编辑 sysctl 进行临时禁用

sudo vim /etc/sysctl.conf

按 i,添加此值

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

按 esc 然后按 :wq

答案2

  1. 更改下载服务器

  2. 安装软件

    sudo apt-get install seaview
    sudo apt-get install terminator
    sudo apt-get install idle-python2.7
    
  3. 安装 Dropbox

    sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
    sudo sh -c 'echo "deb http://linux.dropbox.com/ubuntu/ saucy main" >> /etc/apt/sources.list.d/dropbox.list' 
    sudo apt-get update
    sudo apt-get install dropbox
    

答案3

在终端中输入此内容,

sudo apt-get update && sudo apt-get dist-upgrade

需要下载软件包Translation-en。下载完成后,运行

sudo apt-get update,您将找不到该Ign消息。

相关内容