LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]debian中aptitude出错

[复制链接]
发表于 2007-5-29 20:57:25 | 显示全部楼层 |阅读模式
我的debian正常工作了有一年多,前不久aptitude dist-upgrade出错,

出错信息如下:

Writing extended state information... Error!
E: I wasn't able to locate file for the lftp package. This might mean you need to manually fix this package.
E: Couldn't lock list directory..are you root?

我确定是root用户.无法定位lftp包,需要手动定位,我用locate lftp来定位,但下来怎么做?

lftp软件包出错,导致其他软件包不能正常安装,更新.

用dpkg求救无果

重装lftp出错:
dpkg -i lftp_3.5.10-1_i386.deb

(Reading database ... 79039 files and directories currently installed.)
Preparing to replace lftp 3.5.4-1 (using lftp_3.5.10-1_i386.deb) ...
Unpacking replacement lftp ...
No alternatives for ftp.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
No alternatives for ftp.
dpkg: error processing lftp_3.5.10-1_i386.deb (--install):
subprocess new post-removal script returned error exit status 1
No alternatives for ftp.
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
lftp_3.5.10-1_i386.deb

存在二义性?

Help me, please!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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