怎么更新哪

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

怎么更新哪

#1

帖子 wnyh » 2015-04-29 9:06

想装个gfortran,都找不到源
装个google 浏览器也是不行的,
下面是我的source.list里面的内容,请指教

# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty universe restricted multiverse #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates universe main restricted multiverse #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ trusty universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties

deb http://cn.archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-security universe main restricted multiverse #Added by software-properties
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-security universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: 怎么更新哪

#2

帖子 astolia » 2015-04-29 9:37

sudo apt-get update && sudo apt-get install gfortran chromium-browser
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

Re: 怎么更新哪

#3

帖子 wnyh » 2015-04-29 10:07

astolia 写了:sudo apt-get update && sudo apt-get install gfortran chromium-browser

下载软件仓库信息失败
检查您的网络连接。
W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://archive.canonical.com/ubuntu/dis ... elease.gpg Connection failed [IP: 91.189.92.191 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dis ... slation-en Connection failed [IP: 112.124.140.210 80]
, W:Failed to fetch http://archive.canonical.com/ubuntu/dis ... ce/Sources Connection failed [IP: 91.189.92.191 80]
, W:Failed to fetch http://archive.canonical.com/ubuntu/dis ... 4/Packages Connection failed [IP: 91.189.92.191 80]
, W:Failed to fetch http://archive.canonical.com/ubuntu/dis ... 6/Packages Connection failed [IP: 91.189.92.191 80]
, W:Failed to fetch http://archive.canonical.com/ubuntu/dis ... slation-en Connection failed [IP: 91.189.92.191 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

我的网络能链接上呀,
还有就是http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en 这个文件,以及上述所列出的文件我都可以下载,为啥更新源时 总提示得不到文件呢?
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: 怎么更新哪

#4

帖子 astolia » 2015-04-29 14:04

你设置了网络代理服务器吧,用echo $http_proxy看看
回复