+ -
当前位置:首页 → 问答吧 → debian woody升级到unstable 出错,郁闷!

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

时间:2003-08-09

来源:互联网

用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,现在什么软件都用不了了,各位帮帮忙,如何能够修正这种错误?

作者: goldolphin   发布时间: 2003-08-09

按照它的提示用一下update-modules force,看/etc/modules.conf是不是出来了

然后试试apt-get -f install 先,然后再apt-get update && apt-get -u dist-upgrade

不知行不行,试试啦

作者: FKtPp   发布时间: 2003-08-09

备份一下现在的/etc/modules.conf
再删掉它
再用update-modules重新生成

作者: carlos   发布时间: 2003-08-09

搞定了

作者: goldolphin   发布时间: 2003-08-09

热门下载

更多