E: Sub-process /usr/bin/dpkg returned an error code (1)
I struggle for a few days. Unfortunately i couldn't google out any reasonable explanation why is this happening.
First i had some problems with syslog and i decided to remove syslogd which was previously installed (AFAIR) and to install rsyslog.
Than i faces error which doesn't say much. I tried numerous tips and tricks that people suggested on other forums but nothing helped.
"subprocess installed post-installation script returned error exit status 1" is error code that is related to MANY MANY MANY different issues but i couldn't find any good explanation.
Even removing rsyslog after this install also produced same error.
This everything is happening on Debian squeeze.
My guess is you have installed some non-debian software with incompatible init scripts, so it is now broken.
Only rsyslog, sysklogd and similar software report that error.
What could that be :/
How to fix that ??
I tried to uninstall ossec but ether uninstall script didn't work or it's not up to ossec.
I think that anything you install that needs to interact with the broken init system will have the issue.
A simple package install without any daemon processes should still work fine.
How to fix it?
Learn about how it is supposed to work (the debian documentation is pretty extensive) find out how whatever you have installed doesn't comply with the scheme, and manually undo the damage.
FWIW this is all properly taken care of for you if you use packages from the debian maintainers.
|All times are GMT -5. The time now is 05:28 PM.|