LinuxSir.cn,穿越时空的Linuxsir!

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

不小心删除/var/cache/apt/archives后的问题

[复制链接]
发表于 2006-3-22 21:56:19 | 显示全部楼层 |阅读模式
没注意就 rm -rf /var/cache/apt/archives 了,结果
1. apt-get update出现
W: GPG error: ftp://debian.ustc.edu.cn proposed-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: GPG error: ftp://debian.ustc.edu.cn stable/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: GPG error: ftp://debian.ustc.edu.cn testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: GPG error: ftp://debian.ustc.edu.cn testing/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: GPG error: ftp://debian.ustc.edu.cn unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems


2. apt-get upgrade 出现
......(省略很多出错信息)
Failed to fetch ftp://debian.ustc.edu.cn/debian/ ... 0.dfsg.1-5_i386.deb  Unable to fetch file, server said ‘/debian/pool/main/x/xorg-x11/xfs_6.9.0.dfsg.1-5_i386.deb: No such file or directory  ’
Failed to fetch ftp://debian.ustc.edu.cn/debian/ ... 0.dfsg.1-5_i386.deb  Unable to fetch file, server said ‘/debian/pool/main/x/xorg-x11/xfwp_6.9.0.dfsg.1-5_i386.deb: No such file or directory  ’
Failed to fetch ftp://debian.ustc.edu.cn/debian/ ... 0.dfsg.1-5_i386.deb  Unable to fetch file, server said ‘/debian/pool/main/x/xorg-x11/xnest_6.9.0.dfsg.1-5_i386.deb: No such file or directory  ’
Failed to fetch ftp://debian.ustc.edu.cn/debian/ ... 0.dfsg.1-5_i386.deb  Unable to fetch file, server said ‘/debian/pool/main/x/xorg-x11/xvfb_6.9.0.dfsg.1-5_i386.deb: No such file or directory  ’
Failed to fetch ftp://debian.ustc.edu.cn/deb
ian/pool/main/x/xorg-x11/x-window-system_6.9.0.dfsg.1-5_all.deb  Unable to fetch file, server said ‘/debian/pool/main/x/xorg-x11/x-window-system_6.9.0.dfsg.1-5_all.deb: No such file or directory ’
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
发表于 2006-3-22 22:01:18 | 显示全部楼层
应该执行apt-get clean的,而不是直接删除,现在~~,我也不知道,不过,我想肯定是有办法的。
回复 支持 反对

使用道具 举报

发表于 2006-3-22 22:04:43 | 显示全部楼层
1.
apt-get install debian-archive-keyring 或 下载 http://ftp.debian.org/debian/poo ... _2006.01.18_all.deb
dpkg -i 安装之

2. server 还没有同步,请等待。
回复 支持 反对

使用道具 举报

发表于 2006-3-22 22:17:06 | 显示全部楼层
我也试过, 不过好像把目录重新建立好就好了
回复 支持 反对

使用道具 举报

发表于 2006-3-22 22:21:35 | 显示全部楼层
Post by carlos
1.
apt-get install debian-archive-keyring 或 下载 http://ftp.debian.org/debian/poo ... _2006.01.18_all.deb
dpkg -i 安装之

2. server 还没有同步,请等待。


这么快
我刚找到答案

W: GPG error: ftp://debian.ustc.edu.cn unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F

这个跟删除/var/cache/apt/archives好象没关系
在安装debian-archive-keyring之前我也有这个问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-24 19:17:16 | 显示全部楼层
谢谢 carlos
回复 支持 反对

使用道具 举报

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

本版积分规则

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