linux sudo apt-get update 出错

原创 2013年12月02日 11:21:52
Ign file: apt_packages/ Release.gpg
Ign file: apt_packages/ Translation-en_US                                   
Ign file: apt_packages/ Release                                              
Ign file: apt_packages/ Packages                                             
Ign file: apt_packages/ Packages                                             
Err file: apt_packages/ Packages                                             
  File not found
Ign http://cn.archive.ubuntu.com karmic Release.gpg                          
Ign http://cn.archive.ubuntu.com karmic/main Translation-en_US               
Ign http://cn.archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://cn.archive.ubuntu.com karmic/universe Translation-en_US
Ign http://cn.archive.ubuntu.com karmic/multiverse Translation-en_US
Ign http://cn.archive.ubuntu.com karmic-updates Release.gpg
Ign http://cn.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://cn.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://cn.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://cn.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Ign http://cn.archive.ubuntu.com karmic Release                              
Ign http://cn.archive.ubuntu.com karmic-updates Release                      
Ign http://cn.archive.ubuntu.com karmic/main Packages                        
Ign http://cn.archive.ubuntu.com karmic/restricted Packages
Ign http://cn.archive.ubuntu.com karmic/main Sources   
Ign http://cn.archive.ubuntu.com karmic/restricted Sources
Ign http://cn.archive.ubuntu.com karmic/universe Packages
Ign http://cn.archive.ubuntu.com karmic/universe Sources
Ign http://cn.archive.ubuntu.com karmic/multiverse Packages
Ign http://cn.archive.ubuntu.com karmic/multiverse Sources
Ign http://cn.archive.ubuntu.com karmic-updates/main Packages
Ign http://cn.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://cn.archive.ubuntu.com karmic-updates/main Sources
Ign http://cn.archive.ubuntu.com karmic-updates/restricted Sources
Ign http://cn.archive.ubuntu.com karmic-updates/universe Packages
Ign http://cn.archive.ubuntu.com karmic-updates/universe Sources
Ign http://cn.archive.ubuntu.com karmic-updates/multiverse Packages
Ign http://cn.archive.ubuntu.com karmic-updates/multiverse Sources
Ign http://cn.archive.ubuntu.com karmic/main Packages
Ign http://cn.archive.ubuntu.com karmic/restricted Packages
Ign http://cn.archive.ubuntu.com karmic/main Sources
Ign http://cn.archive.ubuntu.com karmic/restricted Sources
Ign http://cn.archive.ubuntu.com karmic/universe Packages
Ign http://cn.archive.ubuntu.com karmic/universe Sources
Ign http://cn.archive.ubuntu.com karmic/multiverse Packages
Ign http://cn.archive.ubuntu.com karmic/multiverse Sources
Ign http://cn.archive.ubuntu.com karmic-updates/main Packages
Ign http://cn.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://cn.archive.ubuntu.com karmic-updates/main Sources
Ign http://cn.archive.ubuntu.com karmic-updates/restricted Sources
Ign http://cn.archive.ubuntu.com karmic-updates/universe Packages
Ign http://cn.archive.ubuntu.com karmic-updates/universe Sources
Ign http://cn.archive.ubuntu.com karmic-updates/multiverse Packages
Ign http://cn.archive.ubuntu.com karmic-updates/multiverse Sources
Err http://cn.archive.ubuntu.com karmic/main Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/restricted Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/main Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/restricted Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/universe Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/universe Sources
  404  Not Found
Ign http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Err http://cn.archive.ubuntu.com karmic/multiverse Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic/multiverse Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/main Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/restricted Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/main Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/restricted Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/universe Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/universe Sources
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/multiverse Packages
  404  Not Found
Err http://cn.archive.ubuntu.com karmic-updates/multiverse Sources
  404  Not Found
Ign http://security.ubuntu.com karmic-security Release
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://security.ubuntu.com karmic-security/restricted Sources
Ign http://security.ubuntu.com karmic-security/universe Packages
Ign http://security.ubuntu.com karmic-security/universe Sources
Ign http://security.ubuntu.com karmic-security/multiverse Packages
Ign http://security.ubuntu.com karmic-security/multiverse Sources
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://security.ubuntu.com karmic-security/restricted Sources
Ign http://security.ubuntu.com karmic-security/universe Packages
Ign http://security.ubuntu.com karmic-security/universe Sources
Ign http://security.ubuntu.com karmic-security/multiverse Packages
Ign http://security.ubuntu.com karmic-security/multiverse Sources
Err http://security.ubuntu.com karmic-security/main Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/restricted Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/main Sources
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/restricted Sources
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/universe Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/universe Sources
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/multiverse Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/multiverse Sources
  404  Not Found [IP: 91.189.92.200 80]
W: Failed to fetch file:/work/apt_packages/Packages.gz  File not found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/universe/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/universe/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/multiverse/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/universe/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/universe/source/Sources.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic-updates/multiverse/source/Sources.gz  404  Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/binary-i386/Packages.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/restricted/binary-i386/Packages.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/source/Sources.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/restricted/source/Sources.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/universe/binary-i386/Packages.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/universe/source/Sources.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/multiverse/binary-i386/Packages.gz  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/multiverse/source/Sources.gz  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.


当执行命令:sudo apt-get update 出现如上错误时,是源的错误
命令:sudo vim /etc/apt/sources.list 打开源
找了个新源把原来的源给覆盖了,找的是10.04的源

 

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cn.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## 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/ lucid universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid 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/ lucid multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ lucid-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ lucid-updates restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

 

最后运行sudo apt-get update 更新库就可以了
版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

sudo apt-get update 简介

要用apt-get这种方式安装LAMP时,最好先运行下面在命令升级自己的系统这样是为了更新源,而如果你找的源不好,可能安装LMAP失败。 #sudo apt-get update 获得最近的软件...

ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法

最近在ubuntu 10.04下面装了一个虚拟机,在虚拟机里面又装了11.04的ubuntu,装好后用apt get install 出现Unable to locate packag错误,上网上查了...

Ubuntu apt-get 出现Error 404:Not found Package Repository Errors

最近重新要在Ubuntu上安装环境,所有的apt-get都会出现“Failed to fetch 404 Not Found” 错误 [plain] view plain copy ...

ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法

最近在ubuntu 10.04下面装了一个虚拟机,在虚拟机里面又装了11.04的ubuntu,装好后用apt get install 出现Unable to locate packag错误,上网上查了...

Ubuntu apt-get 出现Error 404:Not found Package Repository Errors

最近重新要在Ubuntu上安装环境,所有的apt-get都会出现“Failed to fetch 404 Not Found” 错误Err http://archive.ubuntu.com quan...

ubuntu不能使用apt-get命令,404 Not Found

在ubuntu13.04系统下,执行sudo apt-get update,出现如下情况: Ign http://cn.archive.ubuntu.com trusty Release.gpg I...

ubuntu apt-get update 失败解决。

当运行apt-get update后出现如下错误时: E: Some index files failed to download, they have been ignored, or old o...

sudo apt-get update错误

在运行sudo apt-get update的时候遇到以下错误: [plain] view plaincopy W: Failed to fetch...

sudo apt-get update出现错误

使用sudo apt-get install update时,出现如下错误:`E: Some index files failed to download. They have been ignore...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)