求助:rsyslog 错误

上网、浏览、聊天、下载等
回复
biokook
帖子: 67
注册时间: 2010-11-25 12:03

求助:rsyslog 错误

#1

帖子 biokook » 2014-09-14 9:17

系统升级过程老是提示有一个软件未能完全安装,并且弹出以下提示
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,谁能帮忙解决一下。谢谢。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助:rsyslog 错误

#2

帖子 poloshiao » 2014-09-14 10:02

參閱
https://bugs.launchpad.net/ubuntu/+sour ... ug/1366829
應該已經解決
持續更新
biokook
帖子: 67
注册时间: 2010-11-25 12:03

Re: 求助:rsyslog 错误

#3

帖子 biokook » 2014-09-15 20:56

poloshiao 写了:參閱
https://bugs.launchpad.net/ubuntu/+sour ... ug/1366829
應該已經解決
持續更新
我看了一下,和我这个问题好像还不是完全一样,我这个是在运行upgrade的时候发出的提示。请问你遇见过这种问题吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助:rsyslog 错误

#4

帖子 poloshiao » 2014-09-15 23:38

viewtopic.php?p=3104879#p3104879
rsyslog (7.4.4-1ubuntu2.1)
1. http://packages.ubuntu.com/search?suite ... chon=names
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
看看
biokook
帖子: 67
注册时间: 2010-11-25 12:03

Re: 求助:rsyslog 错误

#5

帖子 biokook » 2014-09-17 9:27

poloshiao 写了:
viewtopic.php?p=3104879#p3104879
rsyslog (7.4.4-1ubuntu2.1)
1. http://packages.ubuntu.com/search?suite ... chon=names
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)


实在是没有办法了,只能求教您了。

谢谢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助:rsyslog 错误

#6

帖子 poloshiao » 2014-09-17 10:39

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.
回复