系统升级过程老是提示有一个软件未能完全安装,并且弹出以下提示
Setting up rsyslog (7.4.4-1ubuntu2.1) ...
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
E: Sub-process /usr/bin/dpkg returned an error code (1)
搜了一下好像说是系统的bug,谁能帮忙解决一下。谢谢。
求助:rsyslog 错误
-
- 帖子: 67
- 注册时间: 2010-11-25 12:03
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
-
- 帖子: 67
- 注册时间: 2010-11-25 12:03
Re: 求助:rsyslog 错误
我看了一下,和我这个问题好像还不是完全一样,我这个是在运行upgrade的时候发出的提示。请问你遇见过这种问题吗?
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 求助:rsyslog 错误
1. http://packages.ubuntu.com/search?suite ... chon=namesviewtopic.php?p=3104879#p3104879
rsyslog (7.4.4-1ubuntu2.1)
trusty (14.04LTS) (admin): reliable system and kernel logging daemon
7.4.4-1ubuntu2: amd64 i386
trusty-updates (admin): reliable system and kernel logging daemon
7.4.4-1ubuntu2.1: amd64 i386
2. 建議先退回 7.4.4-1ubuntu2
2-1. http://manpages.ubuntu.com/manpages/tru ... get.8.html
sudo apt-get install rsyslog=7.4.4-1ubuntu2
sudo dpkg -l | grep rsyslog
ii rsyslog 7.4.4-1ubuntu2 amd64 reliable system and kernel logging daemon
2-2. http://askubuntu.com/questions/18654/ho ... ic-package
sudo apt-mark hold rsyslog
2-3. sudo apt-get upgrade
4. 再過一段時間 再
http://askubuntu.com/questions/18654/ho ... ic-package
sudo apt-mark unhold rsyslog
4-1. 再進行更新
sudo apt-get update
sudo apt-get upgrade
看看
-
- 帖子: 67
- 注册时间: 2010-11-25 12:03
Re: 求助:rsyslog 错误
1. http://packages.ubuntu.com/search?suite ... chon=namespoloshiao 写了:viewtopic.php?p=3104879#p3104879
rsyslog (7.4.4-1ubuntu2.1)
trusty (14.04LTS) (admin): reliable system and kernel logging daemon
7.4.4-1ubuntu2: amd64 i386
trusty-updates (admin): reliable system and kernel logging daemon
7.4.4-1ubuntu2.1: amd64 i386
2. 建議先退回 7.4.4-1ubuntu2
2-1. http://manpages.ubuntu.com/manpages/tru ... get.8.html
sudo apt-get install rsyslog=7.4.4-1ubuntu2
sudo dpkg -l | grep rsyslog
ii rsyslog 7.4.4-1ubuntu2 amd64 reliable system and kernel logging daemon
2-2. http://askubuntu.com/questions/18654/ho ... ic-package
sudo apt-mark hold rsyslog
2-3. sudo apt-get upgrade
卡在第一步了,sudo apt-get install rsyslog=7.4.4-1ubuntu2蛋疼,
如下提示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
rsyslog is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rsyslog (7.4.4-1ubuntu2) ...
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)
实在是没有办法了,只能求教您了。
谢谢
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 求助:rsyslog 错误
參閱subprocess installed post-installation script returned error exit status 10
1. http://askubuntu.com/a/489212/198920
把這個文件檔案內容清空
/var/lib/dpkg/status
看看是不是這個文件崩潰了
如果沒有幫助 試試這個暫時解決方案
2. http://ubuntuforums.org/showthread.php? ... st12575211
there is a simple workaround.