服务器维护,服务器代维,安全设置,漏洞扫描,入侵检测服务

运维之家

 找回密码
 注册
搜索
查看: 5515|回复: 0

ubuntu apt-get 升级更新“有一些索引文件不能下载..“的解决

[复制链接]
dirtysea 发表于 2012-6-5 16:48:49 | 显示全部楼层 |阅读模式
#sudo apt-get uodate

http://mirror.switch.ch jaunty-updates/restricted Packages
命中 http://mirror.switch.ch jaunty-updates/universe Packages
W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/Release  Unable to find expected entry  multivers/source/Sources in Meta-index file (malformed Release file?)
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。

解决办法1:
执行下面的命令
sudo rm /var/lib/apt/lists/partial/*
然后再 apt-get update 就没问题了。

解决办法2:
也可能是更新源出错了,重新更新一下
sudo vim /etc/apt/sources.list

更新源参考如下

#网易163更新服务器:
deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
#以下源支持IPV6,推荐可以使用IPV6的教育网用户使用,速度在200kb/s左右,如需源代码,将deb替换成deb-src即可
deb http://mirror.switch.ch/ftp/ubuntu/ jaunty main multiverse restricted universe
deb http://mirror.switch.ch/ftp/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://mirror.switch.ch/ftp/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://mirror.switch.ch/ftp/ubuntu/ jaunty-security main multiverse restricted universe
deb http://mirror.switch.ch/ftp/ubuntu/ jaunty-updates main multiverse restricted universe
deb http://ftp.heanet.ie/mirrors/ubuntu/ jaunty main multiverse restricted universe
deb http://ftp.heanet.ie/mirrors/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://ftp.heanet.ie/mirrors/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://ftp.heanet.ie/mirrors/ubuntu/ jaunty-security main multiverse restricted universe
deb http://ftp.heanet.ie/mirrors/ubuntu/ jaunty-updates main multiverse restricted universe
deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ jaunty main multiverse restricted universe
deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ jaunty-backports main multiverse restricted universe
deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ jaunty-proposed main multiverse restricted universe
deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ jaunty-security main multiverse restricted universe
deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ jaunty-updates main multiverse restricted universe

相关帖子

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|运维之家

GMT+8, 2024-4-19 00:17 , Processed in 0.200499 second(s), 18 queries .

Powered by Dirtysea

© 2008-2020 Dirtysea.com.

快速回复 返回顶部 返回列表