Kernel update schlägt fehl

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
iconberg
Beiträge: 16
Registriert: 19.10.2015 09:07:00

Kernel update schlägt fehl

Beitrag von iconberg » 16.12.2021 10:32:16

Hallo,

ich habe einen linux debian (openvz bei ionos) von 7 über 8, 9 auf 10 geupgraded. Klappte alles problemlos bis auf den phpmyadmin, den muss ich wohl neu installieren.
War nötig weil piwigo in der neuen Version PHP7 braucht.

Ich bin nun auf folgendem Stand:

Code: Alles auswählen

root@sxxxxxxxxxx:~# hostnamectl
   Static hostname: sxxxxxxxxxx.onlinehome-server.info
         Icon name: computer-container
           Chassis: container
        Machine ID: xxxxxxxxxxxxxxxx
           Boot ID: xxxxxxxxxxxxxxxxxxxx
    Virtualization: openvz
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 2.6.32-042stab127.2
      Architecture: x86-64
Ein upgrade-Versuch schlägt hiermit fehl:

Code: Alles auswählen

~# apt-get dist-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 libnih1 : Hängt ab von: libc6 (> 2.28) aber 2.24-11+deb9u4 ist installiert
 locales : Hängt ab von: libc-bin (> 2.28)
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
Der Versuch von apt --fix-broken install bring dann:

Code: Alles auswählen

~# apt --fix-broken install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  gnupg-l10n heirloom-mailx imagemagick-common libalgorithm-c3-perl libarchive-extract-perl
  libb-hooks-endofscope-perl libboost-iostreams1.55.0 libclass-c3-perl libclass-c3-xs-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libcpan-changes-perl libcroco3 libdata-optlist-perl
  libdata-perl-perl libdata-section-perl libdevel-caller-perl libdevel-globaldestruction-perl
  libdevel-lexalias-perl libdns-export100 libexiv2-12 libexiv2-13 libexporter-tiny-perl libfile-slurp-perl
  libgd2-xpm libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgetopt-long-descriptive-perl libgnutls-deb0-28
  libhogweed2 libice6 libicu52 libilmbase6 libimport-into-perl libio-stringy-perl libirs-export91 libisc-export95
  libisccfg-export90 libjasper1 libjpeg8 liblcms1 liblensfun-data liblensfun0 liblist-moreutils-perl
  liblog-message-perl liblog-message-simple-perl liblognorm1 liblua5.1-0 libmagickcore5 libmagickcore5-extra
  libmagickwand5 libmodule-build-perl libmodule-implementation-perl libmodule-load-conditional-perl
  libmodule-pluggable-perl libmodule-runtime-perl libmodule-signature-perl libmoo-perl libmoox-handlesvia-perl
  libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libnettle4 libopenexr6
  libpackage-constants-perl libpackage-stash-perl libpackage-stash-xs-perl libpadwalker-perl libpango1.0-0
  libparams-classify-perl libparams-util-perl libparams-validate-perl libpath-tiny-perl libperl4-corelibs-perl
  libpod-latex-perl libpod-markdown-perl libpod-readme-perl libprocps3 libpsl0 libregexp-common-perl
  librole-tiny-perl librsvg2-2 librsvg2-common libsm6 libsoftware-license-perl libstrictures-perl
  libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl
  libterm-ui-perl libtext-soundex-perl libtext-template-perl libtiff4 libtry-tiny-perl libtype-tiny-perl
  libtype-tiny-xs-perl libunicode-utf8-perl libvariable-magic-perl libxt6 libxtables10 ttf-dejavu-core x11-common
Verwenden Sie »apt autoremove«, um sie zu entfernen.
The following additional packages will be installed:
  libc-bin libc6
Vorgeschlagene Pakete:
  glibc-doc
Empfohlene Pakete:
  libidn2-0
Die folgenden Pakete werden aktualisiert (Upgrade):
  libc-bin libc6
2 aktualisiert, 0 neu installiert, 0 zu entfernen und 172 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 3.656 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.821 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 26408 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libc6_2.28-10_amd64.deb ...

Code: Alles auswählen

Configuring libc6
   x Kernel must be upgraded                                                                                   x
   x                                                                                                           x
   x This version of the GNU libc requires kernel version 3.2 or later.  Please upgrade your kernel before     x
   x installing glibc.

Code: Alles auswählen

dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libc6_2.28-10_amd64.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/libc6_2.28-10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ich würde jetzt versuchen den Kernel manuell zu installieren aber weiß jetzt nicht welches und möchte die machine nicht abschiessen:

Code: Alles auswählen

~# apt-cache search linux-image
linux-image-686-pae - Linux für moderne PCs (Metapaket)
linux-image-rt-686-pae - Linux für moderne PCs (Metapaket), PREEMPT_RT
linux-headers-4.19.0-17-686 - Header files for Linux 4.19.0-17-686
linux-headers-4.19.0-17-686-pae - Header files for Linux 4.19.0-17-686-pae
linux-headers-4.19.0-17-amd64 - Header files for Linux 4.19.0-17-amd64
linux-headers-4.19.0-17-cloud-amd64 - Header files for Linux 4.19.0-17-cloud-amd64
linux-headers-4.19.0-17-rt-686-pae - Header files for Linux 4.19.0-17-rt-686-pae
linux-headers-4.19.0-17-rt-amd64 - Header files for Linux 4.19.0-17-rt-amd64
linux-headers-4.19.0-18-686 - Header files for Linux 4.19.0-18-686
linux-headers-4.19.0-18-686-pae - Header files for Linux 4.19.0-18-686-pae
linux-headers-4.19.0-18-amd64 - Header files for Linux 4.19.0-18-amd64
linux-headers-4.19.0-18-cloud-amd64 - Header files for Linux 4.19.0-18-cloud-amd64
linux-headers-4.19.0-18-rt-686-pae - Header files for Linux 4.19.0-18-rt-686-pae
linux-headers-4.19.0-18-rt-amd64 - Header files for Linux 4.19.0-18-rt-amd64
linux-image-4.19.0-17-686-dbg - Debug symbols for linux-image-4.19.0-17-686
linux-image-4.19.0-17-686-pae-dbg - Debug symbols for linux-image-4.19.0-17-686-pae
linux-image-4.19.0-17-686-pae-unsigned - Linux 4.19 for modern PCs
linux-image-4.19.0-17-686-unsigned - Linux 4.19 for older PCs
linux-image-4.19.0-17-amd64-dbg - Debug symbols for linux-image-4.19.0-17-amd64
linux-image-4.19.0-17-amd64-unsigned - Linux 4.19 for 64-bit PCs
linux-image-4.19.0-17-cloud-amd64-dbg - Debug symbols for linux-image-4.19.0-17-cloud-amd64
linux-image-4.19.0-17-cloud-amd64-unsigned - Linux 4.19 for x86-64 cloud
linux-image-4.19.0-17-rt-686-pae-dbg - Debug symbols for linux-image-4.19.0-17-rt-686-pae
linux-image-4.19.0-17-rt-686-pae-unsigned - Linux 4.19 for modern PCs, PREEMPT_RT
linux-image-4.19.0-17-rt-amd64-dbg - Debug symbols for linux-image-4.19.0-17-rt-amd64
linux-image-4.19.0-17-rt-amd64-unsigned - Linux 4.19 for 64-bit PCs, PREEMPT_RT
linux-image-4.19.0-18-686-dbg - Debug symbols for linux-image-4.19.0-18-686
linux-image-4.19.0-18-686-pae-dbg - Debug symbols for linux-image-4.19.0-18-686-pae
linux-image-4.19.0-18-686-pae-unsigned - Linux 4.19 for modern PCs
linux-image-4.19.0-18-686-unsigned - Linux 4.19 for older PCs
linux-image-4.19.0-18-amd64-dbg - Debug symbols for linux-image-4.19.0-18-amd64
linux-image-4.19.0-18-amd64-unsigned - Linux 4.19 for 64-bit PCs
linux-image-4.19.0-18-cloud-amd64-dbg - Debug symbols for linux-image-4.19.0-18-cloud-amd64
linux-image-4.19.0-18-cloud-amd64-unsigned - Linux 4.19 for x86-64 cloud
linux-image-4.19.0-18-rt-686-pae-dbg - Debug symbols for linux-image-4.19.0-18-rt-686-pae
linux-image-4.19.0-18-rt-686-pae-unsigned - Linux 4.19 for modern PCs, PREEMPT_RT
linux-image-4.19.0-18-rt-amd64-dbg - Debug symbols for linux-image-4.19.0-18-rt-amd64
linux-image-4.19.0-18-rt-amd64-unsigned - Linux 4.19 for 64-bit PCs, PREEMPT_RT
linux-image-amd64-signed-template - Template for signed linux-image packages for amd64
linux-image-i386-signed-template - Template for signed linux-image packages for i386
linux-image-686 - Linux for older PCs (meta-package)
linux-image-686-dbg - Debugging symbols for Linux 686 configuration (meta-package)
linux-image-686-pae-dbg - Debugging symbols for Linux 686-pae configuration (meta-package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-rt-686-pae-dbg - Debugging symbols for Linux rt-686-pae configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.19.0-17-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-17-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-17-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-18-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-18-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-18-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-17-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-17-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-17-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-image-4.19.0-18-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-18-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-18-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-headers-4.19.0-14-686 - Header files for Linux 4.19.0-14-686
linux-headers-4.19.0-14-686-pae - Header files for Linux 4.19.0-14-686-pae
linux-headers-4.19.0-14-amd64 - Header files for Linux 4.19.0-14-amd64
linux-headers-4.19.0-14-cloud-amd64 - Header files for Linux 4.19.0-14-cloud-amd64
linux-headers-4.19.0-14-rt-686-pae - Header files for Linux 4.19.0-14-rt-686-pae
linux-headers-4.19.0-14-rt-amd64 - Header files for Linux 4.19.0-14-rt-amd64
linux-image-4.19.0-14-686-dbg - Debug symbols for linux-image-4.19.0-14-686
linux-image-4.19.0-14-686-pae-dbg - Debug symbols for linux-image-4.19.0-14-686-pae
linux-image-4.19.0-14-686-pae-unsigned - Linux 4.19 for modern PCs
linux-image-4.19.0-14-686-unsigned - Linux 4.19 for older PCs
linux-image-4.19.0-14-amd64-dbg - Debug symbols for linux-image-4.19.0-14-amd64
linux-image-4.19.0-14-amd64-unsigned - Linux 4.19 for 64-bit PCs
linux-image-4.19.0-14-cloud-amd64-dbg - Debug symbols for linux-image-4.19.0-14-cloud-amd64
linux-image-4.19.0-14-cloud-amd64-unsigned - Linux 4.19 for x86-64 cloud
linux-image-4.19.0-14-rt-686-pae-dbg - Debug symbols for linux-image-4.19.0-14-rt-686-pae
linux-image-4.19.0-14-rt-686-pae-unsigned - Linux 4.19 for modern PCs, PREEMPT_RT
linux-image-4.19.0-14-rt-amd64-dbg - Debug symbols for linux-image-4.19.0-14-rt-amd64
linux-image-4.19.0-14-rt-amd64-unsigned - Linux 4.19 for 64-bit PCs, PREEMPT_RT
linux-image-4.19.0-12-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-12-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-12-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-14-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-14-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-14-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-6-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-6-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-6-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-8-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-8-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-8-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-9-amd64 - Linux 4.19 for 64-bit PCs (signed)
linux-image-4.19.0-9-cloud-amd64 - Linux 4.19 for x86-64 cloud (signed)
linux-image-4.19.0-9-rt-amd64 - Linux 4.19 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-4.19.0-12-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-12-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-12-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-image-4.19.0-14-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-14-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-14-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-image-4.19.0-6-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-6-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-6-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-image-4.19.0-8-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-8-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-8-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
linux-image-4.19.0-9-686 - Linux 4.19 for older PCs (signed)
linux-image-4.19.0-9-686-pae - Linux 4.19 for modern PCs (signed)
linux-image-4.19.0-9-rt-686-pae - Linux 4.19 for modern PCs, PREEMPT_RT (signed)
Hier noch die sources.list:

Code: Alles auswählen

~# cat /etc/apt/sources.list
#deb http://mirror-eu.oneandone.net/linux/distributions/debian/debian wheezy main contrib non-free
#deb http://mirror-eu.oneandone.net/linux/distributions/debian/debian-security wheezy/updates main contrib non-free

deb http://ftp.de.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.de.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
apt-mark showhold ist leer.

Kann da jemand helfen?

Benutzeravatar
towo
Beiträge: 4405
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Kernel update schlägt fehl

Beitrag von towo » 16.12.2021 10:38:45

In so einem Müll OpenVZ Container kannst Du keinen Kernel updaten/installieren/whatever, da schlichtweg kein separater Kernel läuft, sondern der Host-Kernel alles managed.
Und genau aus diesem Grund ist OpenVZ Schrott.

Benutzeravatar
hikaru
Moderator
Beiträge: 13585
Registriert: 09.04.2008 12:48:59

Re: Kernel update schlägt fehl

Beitrag von hikaru » 16.12.2021 12:56:31

iconberg hat geschrieben: ↑ zum Beitrag ↑
16.12.2021 10:32:16
Kernel: Linux 2.6.32-042stab127.2
Das ist ein RHEL6-Kernel (entspricht Debian Squeeze). Darauf läuft keine Bullseye-glibc. Theoretisch hättest du die Möglichkeit, darauf bis 2024 Buster weiterlaufen zulassen. Dann fallen sowohl RHEL6 aus dem ELS- als auch Buster aus dem LTS-Fenster.

Gravierender ist aber, dass diese Kernel-Version seit zwei Jahren veraltet ist. [1] Ionos hat offenbar mitten in der P3-Phase von RHEL6 aufgehört, sich um deinen Host zu kümmern. Wer auch immer die Maschine betreut, ist entweder nicht in der Lage seinen Job zu machen oder schlicht zu faul dazu.
Such dir einen anderen Anbieter!


[1] https://wiki.openvz.org/Download/kernel ... 2stab127.2

iconberg
Beiträge: 16
Registriert: 19.10.2015 09:07:00

Re: Kernel update schlägt fehl

Beitrag von iconberg » 16.12.2021 15:33:06

Danke für die Infos.

Ich war mir nicht sicher ob ein Kernel-Update möglich ist und hatte bei ionos extra noch nachgefragt, laut support wäre ein kernel-update kein Problem, sollte nur vorher ans Backup denken.
Der Witz ist die Backupsoftware (die ich vorher zugebucht hatte und die den Stein ins Rollen brachte) lies sich nicht installieren
und der support meinte da nur man müsse auf ein aktuelles debian updaten, das 7er wäre ja nicht mehr supported.
Gut, das hätte ich sowieso gemacht weil für das Piwigo-Update benötigt.

Und die Backupsoftware haben die auch noch in der Centerkonsole für den Server angepriesen, sonst hätte ich die gar nicht dazugebucht.

Also Support eigentlich = 0.

Nachdem ich den Support angeschrieben hatte das doch ein Kernel-Update bei openvz nicht möglich sei und die das machen müssten bekam ich eine Mail vom Vertrieb,
ich müsste den Vertrag auf ein aktuelles VPS oder Cloud-Server upgraden.

Hab darauf mit einem freundlichem Mail mit verstecktem "Wollt ihr mich .......!" geantwortet, mal sehen was als Antwort kommt.

Benutzeravatar
hikaru
Moderator
Beiträge: 13585
Registriert: 09.04.2008 12:48:59

Re: Kernel update schlägt fehl

Beitrag von hikaru » 16.12.2021 16:55:13

iconberg hat geschrieben: ↑ zum Beitrag ↑
16.12.2021 15:33:06
und der support meinte da nur man müsse auf ein aktuelles debian updaten, das 7er wäre ja nicht mehr supported.
Auch Wheezy kriegt seit über drei Jahren keine Sicherheitsupdates mehr. D.h., du hast so lange einen öffentlich zugänglichen, unsicheren Server betrieben und keiner hat's gemerkt.
Wenn es dabei nur um dich ginge, würde ich sagen, es ist mir egal. Aber dein Server war in den vergangenen drei Jahren eine Gefahr für die Allgemeinheit. Stell diesen Zustand bitte ab!
Damit meine ich nicht nur, ihn auf einen aktuellen Stand zu heben. Das machst du ja nun wegen "cooler neuer Features" sowieso. Ich meine damit, ihn in Zukunft konsequent zu aktualisieren.

Antworten