找回密码
 注册
查看: 626|回复: 2

debian woody升级到unstable 出错,郁闷!

[复制链接]
发表于 2003-8-9 01:36:27 | 显示全部楼层 |阅读模式
用apt-get 升级过程中,我同时在另一个终端做别的事儿,一不小心系统崩溃了,重新启
动后继续升级,软件包下载后安装时出错了。运行 apt-get dist-upgrade后,出错信息如
下:
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error processing /var/cache/apt/archives/powermgmt-base_1.14_i386.deb (-
-unpack):
subprocess new post-removal script returned error exit status 1
Error: the current /etc/modules.conf is not automatically generated.
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Preparing to replace ppp 2.4.1.uus-4 (using .../ppp_2.4.1.uus-5_i386.deb) ...

Unpacking replacement ppp ...
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
dpkg: error processing /var/cache/apt/archives/ppp_2.4.1.uus-5_i386.deb (--unp
ack):
subprocess new post-removal script returned error exit status 1
Error: the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/powermgmt-base_1.14_i386.deb
/var/cache/apt/archives/ppp_2.4.1.uus-5_i386.deb
似乎问题总是和powermgmt-base,ppp这两个软件包有关。
现在无论是安装或卸载任何软件,都会提示要安装这两个软件包,而安装时又总是提示,

the current /etc/modules.conf is not automatically generated.
Use "update-modules force" to force (re)generation.
但update-modules force 根本不起作用。要完全卸载这两个软件包的话,又提示软件包未
正确安装,需重新安装后再卸,我FT。
另外,这两个软件包似乎还有依赖性问题,安装其中一个总要提示先装另一个,卸载时也
一样。试图用dselect,它的软件包列表中显示有Brokenly installed packages,并在执
行install时提示我有问题,需先fix,但却没有告诉我如何去FIX。
sigh,现在什么软件都用不了了,各位帮帮忙,如何能够修正这种错误?
谢谢
发表于 2003-8-10 10:05:17 | 显示全部楼层
不知道你的问题解决了没有.
这个问题的起因就是modules.conf吧. 你把modules相关的包找出来,你先安装这个包试module-init-tools. 然后再update-modules force
回复

使用道具 举报

发表于 2003-8-17 10:25:09 | 显示全部楼层
对了,你是否有先执行了apt-get update先啊!

我也是一个初学者,英语很烂。先试试吧!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-11 19:27 , Processed in 0.041483 second(s), 16 queries .

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

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