getting "E: Sub-process /usr/bin/dpkg returned an error code (1)"
I am trying to install java in my debian server but when I am running any of these command getting an error massage every time that is - Code:
update-rc.d: error: insserv rejected the script header dpkg: error processing avahi-daemon (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libnss-mdns: libnss-mdns depends on avahi-daemon (>= 0.6.16-1); however: Package avahi-daemon is not configured yet. dpkg: error processing libnss-mdns (--configure): dependency problems - leaving unconfigured configured to not write apport reports configured to not write apport reports Errors were encountered while processing: exim4-base exim4-daemon-light exim4 avahi-daemon libnss-mdns E: Sub-process /usr/bin/dpkg returned an error code (1) I am using these command- Code:
apt-get upgrade --show-upgraded apt-get install openjdk-6-jdk apt-get install sun-java6-jdk Is any one know how can I solve this problem? Thx |
No comments:
Post a Comment