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,现在什么软件都用不了了,各位帮帮忙,如何能够修正这种错误?
动后继续升级,软件包下载后安装时出错了。运行 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
不知行不行,试试啦
然后试试apt-get -f install 先,然后再apt-get update && apt-get -u dist-upgrade
不知行不行,试试啦
作者: FKtPp 发布时间: 2003-08-09
备份一下现在的/etc/modules.conf
再删掉它
再用update-modules重新生成
再删掉它
再用update-modules重新生成
作者: carlos 发布时间: 2003-08-09
搞定了
作者: goldolphin 发布时间: 2003-08-09
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28