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