Upgrade Fehler/Restart von Diensten nicht möglich

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
TheTree
Beiträge: 2
Registriert: 17.03.2016 13:07:13

Upgrade Fehler/Restart von Diensten nicht möglich

Beitrag von TheTree » 17.03.2016 13:11:03

Code: Alles auswählen

root@:~# aptitude upgrade
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-doc apache2-mpm-prefork apache2-utils apt apt-utils bind9 bind9-host bind9utils ca-certificates cpio cron dselect file isc-dhcp-client isc-dhcp-common ldap-utils libapt-inst1.5
  libapt-pkg4.12 libbind9-90 libdbus-1-3 libdns-export100 libdns100 libfreetype6 libgcrypt20 libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2 libicu52 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90
  libisccfg90 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libldb1 liblwres90 libmagic1 libpcre3 libperl5.20 libpng12-0 libsasl2-2 libsasl2-modules-db libssl1.0.0 libsystemd0 libudev1 libwbclient0 libxml2 locales login lynx
  lynx-cur multiarch-support openssh-client openssh-server openssh-sftp-server openssl passwd perl perl-base perl-modules python-ldb python-samba rpcbind rsyslog samba samba-common samba-common-bin samba-dsdb-modules samba-libs
  sasl2-bin screen sudo syslinux systemd systemd-sysv tcpdump tzdata udev unzip
The following partially installed packages will be configured:
  libss2
The following packages are RECOMMENDED but will NOT be installed:
  attr attr:i386 dbus dbus:i386 krb5-locales libarchive-extract-perl libcgi-pm-perl libmodule-build-perl libmodule-pluggable-perl libpackage-constants-perl libpam-systemd libpod-latex-perl libsasl2-modules libterm-ui-perl
  libtext-soundex-perl rename samba-vfs-modules syslinux-common xauth xml-core
86 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/53.7 MB of archives. After unpacking 749 kB will be freed.
Do you want to continue? [Y/n/?]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 26658 files and directories currently installed.)
Preparing to unpack .../rpcbind_0.2.1-6+deb8u1_amd64.deb ...
Failed to execute operation: Connection timed out
Failed to stop rpcbind.service: Connection timed out
Failed to get load state of rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to execute operation: Connection timed out
Failed to stop rpcbind.service: Connection timed out
Failed to get load state of rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/rpcbind_0.2.1-6+deb8u1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
insserv: warning: current start runlevel(s) (empty) of script `rpcbind' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 1 6 S) of script `rpcbind' overrides LSB defaults (0 1 6).
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to start rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../login_1%3a4.2-3+deb8u1_amd64.deb ...
Unpacking login (1:4.2-3+deb8u1) over (1:4.2-3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/rpcbind_0.2.1-6+deb8u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up libss2:amd64 (1.42.12-1.1) ...
Setting up login (1:4.2-3+deb8u1) ...
dpkg: error processing package rpcbind (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Processing triggers for libc-bin (2.19-18+deb8u3) ...
Errors were encountered while processing:
 rpcbind

Current status: 85 updates [-1].
root@:~#
Ich weiß nicht was da Falsch läuft. Kann mir einer helfen?

EDIT:

Code: Alles auswählen

root@:~# /etc/init.d/ssh reload
[....] Reloading ssh configuration (via systemctl): ssh.serviceFailed to reload ssh.service: Connection timed out
 failed!
root@:~#
Das funktioniert auch nicht

Sv3n
Beiträge: 264
Registriert: 22.07.2013 06:37:52
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: ZH

Re: Upgrade Fehler/Restart von Diensten nicht möglich

Beitrag von Sv3n » 17.03.2016 20:54:10

wobei ich ja mal darauf tippen wurde das Du die Verbindung verloren hast.
Connection timed out
teste doch mal

Code: Alles auswählen

apt-get upgrade
&

Code: Alles auswählen

apt-get install -f
dann reboot.

TheTree
Beiträge: 2
Registriert: 17.03.2016 13:07:13

Re: Upgrade Fehler/Restart von Diensten nicht möglich

Beitrag von TheTree » 17.03.2016 21:24:34

Naja bin ja per SSH auf den gemieteten VServer(Debian 8).

Code: Alles auswählen

root@:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-doc apache2-mpm-prefork apache2-utils apt-utils bind9 bind9-host bind9utils ca-certificates cpio cron dselect file isc-dhcp-client isc-dhcp-common ldap-utils libapt-inst1.5 libbind9-90
  libdbus-1-3 libdns-export100 libdns100 libfreetype6 libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2 libicu52 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 libk5crypto3 libkrb5-3
  libkrb5support0 libldap-2.4-2 libldb1 liblwres90 libmagic1 libpng12-0 libsasl2-2 libsasl2-modules-db libssl1.0.0 libsystemd0 libudev1 libwbclient0 libxml2 locales lynx lynx-cur multiarch-support openssh-client openssh-server
  openssh-sftp-server openssl passwd python-ldb python-samba rpcbind rsyslog samba samba-common samba-common-bin samba-dsdb-modules samba-libs sasl2-bin screen sudo syslinux systemd systemd-sysv tcpdump tzdata udev unzip
77 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/44.0 MB of archives.
After this operation, 1227 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 26658 files and directories currently installed.)
Preparing to unpack .../rpcbind_0.2.1-6+deb8u1_amd64.deb ...
Failed to execute operation: Connection timed out
Failed to stop rpcbind.service: Connection timed out
Failed to get load state of rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to execute operation: Connection timed out
Failed to stop rpcbind.service: Connection timed out
Failed to get load state of rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/rpcbind_0.2.1-6+deb8u1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
insserv: warning: current start runlevel(s) (empty) of script `rpcbind' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 1 6 S) of script `rpcbind' overrides LSB defaults (0 1 6).
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to start rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../udev_215-17+deb8u3_amd64.deb ...
Failed to execute operation: Connection timed out
Unpacking udev (215-17+deb8u3) over (215-17+deb8u1) ...
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Preparing to unpack .../libudev1_215-17+deb8u3_amd64.deb ...
Unpacking libudev1:amd64 (215-17+deb8u3) over (215-17+deb8u1) ...
Preparing to unpack .../systemd-sysv_215-17+deb8u3_amd64.deb ...
Unpacking systemd-sysv (215-17+deb8u3) over (215-17+deb8u1) ...
Preparing to unpack .../systemd_215-17+deb8u3_amd64.deb ...
Unpacking systemd (215-17+deb8u3) over (215-17+deb8u1) ...
Preparing to unpack .../libsystemd0_215-17+deb8u3_amd64.deb ...
Unpacking libsystemd0:amd64 (215-17+deb8u3) over (215-17+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/rpcbind_0.2.1-6+deb8u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Alles auswählen

root@:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  rpcbind
The following packages will be upgraded:
  rpcbind
1 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
6 not fully installed or removed.
Need to get 0 B/41.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up libsystemd0:amd64 (215-17+deb8u3) ...
Setting up libudev1:amd64 (215-17+deb8u3) ...
Setting up udev (215-17+deb8u3) ...
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to restart udev.service: Connection timed out
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of systemd:
 systemd depends on udev (>= 208-8); however:
  Package udev is not configured yet.

dpkg: error processing package systemd (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u3) ...
Errors were encountered while processing:
 udev
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Alles auswählen

root@:~# reboot
Failed to start reboot.target: Connection timed out

Broadcast message from root@ on pts/0 (Thu 2016-03-17 16:23:26 EDT):

The system is going down for reboot NOW!


Hm. Irgentwie will das nicht.

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Upgrade Fehler/Restart von Diensten nicht möglich

Beitrag von mistersixt » 20.03.2016 09:50:29

Sieht ein wenig so aus als wenn das systemd nicht mehr richtig reagiert. Was passiert nach einem Reboot, weiterhin die gleichen Probleme?
--
System: Debian Bookworm, 6.11.x.-x-amd64, ext4, AMD Ryzen 7 3700X, 8 x 3.8 Ghz., Radeon RX 5700 XT, 32 GB Ram, XFCE

Antworten