LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 837|回复: 4

删除包也出错,update也不行?

[复制链接]
发表于 2006-6-21 22:11:45 | 显示全部楼层 |阅读模式
按照debian的提示apt-get update,可是不行提示错误,用apt-get remove 也提示出错叫我用apt-get update更新,******************着是什么系统啊。

flyingwalker:~# apt-get remove apache2
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  apache2
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0B of archives.
After unpacking 81.9kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 45129 files and directories currently installed.)
Removing apache2 ...
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non-US/main Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_proposed-updates_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non-US/contrib Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_proposed-updates_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non-US/non-free Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_proposed-updates_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
 楼主| 发表于 2006-6-21 22:21:04 | 显示全部楼层

晕了升级到2。6内核之后apt就不能用了

我把自己的内核升级从2.4升级到2.6只有apt就不能安装软件包了,一用它来安装软件包就提示错误,叫我是用apt-get update来更新自己的系统,然后我用这个命令来更新自己的系统提示,但是它也提示错误无法更新。是不是我的源有问题呀,我贴上来让大家看看:
#
# Replace /etc/apt/sources.list with this file will change apt source to Debian Mirror on CN99
#
deb http://debian.cn99.com/debian stable main non-free contrib
deb http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
deb http://debian.cn99.com/debian proposed-updates main contrib non-free
deb http://debian.cn99.com/debian-non-US proposed-updates/non-US main contrib non-free
deb http://debian.cn99.com/debian-security woody/updates main contrib non-free
deb-src http://debian.cn99.com/debian stable main non-free contrib
deb-src http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
deb-src http://debian.cn99.com/debian proposed-updates main contrib non-free
deb-src http://debian.cn99.com/debian-non-US proposed-updates/non-US main contrib non-free
回复 支持 反对

使用道具 举报

发表于 2006-6-22 05:54:02 | 显示全部楼层
换一个源再试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-24 16:11:39 | 显示全部楼层
换了一个sources.list.geekbone,直接用首页的源文件也不行。
#
# Replace /etc/apt/sources.list with this file will change apt source to GeekBone Debian Mirror
#
deb ftp://mirrors.geekbone.org/debian stable main non-free contrib
deb-src ftp://mirrors.geekbone.org/debian stable main non-free contrib
deb ftp://mirrors.geekbone.org/debian-non-US stable/non-US main contrib non-free
deb-src ftp://mirrors.geekbone.org/debian-non-US stable/non-US main contrib non-free
deb ftp://mirrors.geekbone.org/debian proposed-updates main contrib non-free
deb-src ftp://mirrors.geekbone.org/debian proposed-updates main contrib non-free
deb ftp://mirrors.geekbone.org/debian-non-US proposed-updates/non-US main contrib non-free
deb-src ftp://mirrors.geekbone.org/debian-non-US proposed-updates/non-US main contrib non-free
deb ftp://mirrors.geekbone.org/debian-security woody/updates main contrib non-free
回复 支持 反对

使用道具 举报

发表于 2006-6-24 16:14:14 | 显示全部楼层
好像是sources.list里写错了,把对应的那几行删掉看看。
回复 支持 反对

使用道具 举报

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

本版积分规则

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