I have problem doing upgrade. I am stuck on sudo apt-get dist-upgrade / sudo apt-get -f install / sudo dpkg --configure -a
All commands give the same error:
Code
michal@OMV /e/init.d> sudo dpkg --configure -a
Setting up nginx-light (1.10.3-1+deb9u1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-04-08 11:54:43 CEST; 294ms ago
Docs: man:nginx(8)
Process: 14868 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 14862 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Apr 08 11:54:41 OMV nginx[14868]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Apr 08 11:54:41 OMV nginx[14868]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Apr 08 11:54:42 OMV nginx[14868]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Apr 08 11:54:42 OMV nginx[14868]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Apr 08 11:54:43 OMV nginx[14868]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Apr 08 11:54:43 OMV nginx[14868]: nginx: [emerg] still could not bind()
Apr 08 11:54:43 OMV systemd[1]: nginx.service: Control process exited, code=exited status=1
Apr 08 11:54:43 OMV systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Apr 08 11:54:43 OMV systemd[1]: nginx.service: Unit entered failed state.
Apr 08 11:54:43 OMV systemd[1]: nginx.service: Failed with result 'exit-code'.
dpkg: error processing package nginx-light (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.10.3-1+deb9u1.1~) | nginx-light (<< 1.10.3-1+deb9u1.1~) | nginx-extras (<< 1.10.3-1+deb9u1.1~); however:
Package nginx-full is not installed.
Package nginx-light is not configured yet.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.10.3-1+deb9u1) | nginx-light (>= 1.10.3-1+deb9u1) | nginx-extras (>= 1.10.3-1+deb9u1); however:
Package nginx-full is not installed.
Package nginx-light is not configured yet.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
Setting up avahi-daemon (0.6.32-2) ...
Job for avahi-daemon.service failed because the control process exited with error code.
See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript avahi-daemon, action "restart" failed.
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-04-08 11:54:51 CEST; 255ms ago
Process: 14953 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255)
Main PID: 14953 (code=exited, status=255)
Apr 08 11:54:49 OMV systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Apr 08 11:54:50 OMV avahi-daemon[14953]: Daemon already running on PID 11838
Apr 08 11:54:51 OMV systemd[1]: avahi-daemon.service: Main process exited, code=exited, status=255/n/a
Apr 08 11:54:51 OMV systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
Apr 08 11:54:51 OMV systemd[1]: avahi-daemon.service: Unit entered failed state.
Apr 08 11:54:51 OMV systemd[1]: avahi-daemon.service: Failed with result 'exit-code'.
dpkg: error processing package avahi-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up openssh-server (1:7.4p1-10+deb9u3) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Job for ssh.service failed because the control process exited with error code.
See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ssh, action "restart" failed.
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-04-08 11:54:57 CEST; 123ms ago
Process: 15111 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 15106 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 15111 (code=exited, status=255)
Apr 08 11:54:56 OMV sshd[15106]: /etc/ssh/sshd_config line 11: Deprecated option RSAAuthentication
Apr 08 11:54:56 OMV sshd[15106]: /etc/ssh/sshd_config line 14: Deprecated option RhostsRSAAuthentication
Apr 08 11:54:57 OMV sshd[15111]: /etc/ssh/sshd_config line 5: Deprecated option KeyRegenerationInterval
Apr 08 11:54:57 OMV sshd[15111]: /etc/ssh/sshd_config line 6: Deprecated option ServerKeyBits
Apr 08 11:54:57 OMV sshd[15111]: /etc/ssh/sshd_config line 11: Deprecated option RSAAuthentication
Apr 08 11:54:57 OMV sshd[15111]: /etc/ssh/sshd_config line 14: Deprecated option RhostsRSAAuthentication
Apr 08 11:54:57 OMV systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
Apr 08 11:54:57 OMV systemd[1]: Failed to start OpenBSD Secure Shell server.
Apr 08 11:54:57 OMV systemd[1]: ssh.service: Unit entered failed state.
Apr 08 11:54:57 OMV systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on openssh-server; however:
Package openssh-server is not configured yet.
openmediavault depends on avahi-daemon; however:
Package avahi-daemon is not configured yet.
openmediavault depends on nginx; however:
Package nginx is not configured yet.
Package nginx-light which provides nginx is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Setting up rsyslog (8.24.0-1) ...
Job for rsyslog.service failed because the control process exited with error code.
See "systemctl status rsyslog.service" and "journalctl -xe" for details.
invoke-rc.d: initscript rsyslog, action "restart" failed.
● rsyslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2018-04-08 11:55:02 CEST; 6ms ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Main PID: 15170 ((rsyslogd))
CGroup: /system.slice/rsyslog.service
└─15170 (rsyslogd)
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libnss-mdns:amd64:
libnss-mdns:amd64 depends on avahi-daemon (>= 0.6.16-1); however:
Package avahi-daemon is not configured yet.
dpkg: error processing package libnss-mdns:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nginx-light
nginx
avahi-daemon
openssh-server
openmediavault
rsyslog
libnss-mdns:amd64
michal@OMV /e/init.d> sudo apt-get -f install
Alles anzeigen