找回密码
 注册
查看: 1697|回复: 1

救急,debian apt-get 出现问题

[复制链接]
发表于 2006-9-13 08:26:00 | 显示全部楼层 |阅读模式
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  flex
The following packages will be upgraded:
  flex
1 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.
5 not fully installed or removed.
Need to get 0B/306kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 63209 files and directories currently installed.)
Preparing to replace flex 2.5.33-4 (using .../flex_2.5.33-5_i386.deb) ...
install-info: No dir file specified; try --help for more information.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing /var/cache/apt/archives/flex_2.5.33-5_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
install-info: unrecognised option `--description=A fast scanner generator'
        Try `install-info --help' for a complete list of options.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/flex_2.5.33-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 楼主| 发表于 2006-9-13 09:08:25 | 显示全部楼层
这是remove的出错信息
apt-get --purge remove flex

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  flex*
0 upgraded, 0 newly installed, 1 to remove and 268 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1364kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing flex (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
flex
E: Sub-process /usr/bin/dpkg returned an error code (1)
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-5-14 07:34 , Processed in 0.020458 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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