Nach Upgrade kein Booten mehr möglich

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
maboose
Beiträge: 4
Registriert: 24.09.2017 02:14:11

Nach Upgrade kein Booten mehr möglich

Beitrag von maboose » 06.10.2017 10:34:58

Hallo zusammen,
nach dem letzten Upgrade auf Debian 9 bootet mein Server nicht mehr.

udev[45]: IMPORT{builtin}: 'blkid' unknown /lib/udev/rules.d/63-md-raid-arrays.rules:29

Bild

und ich lande in der initramfs shell.

Bild

Meine Raid Arrays sind nicht vorhanden.

Bild

Bild

Sorry für die Bilder, aber ich habe nur eine Not-KVM ohne Copypaste.

Danke für Hilfe im Voraus
Markus

mludwig
Beiträge: 807
Registriert: 30.01.2005 19:35:04

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von mludwig » 06.10.2017 11:08:40

Debian 9 mit Kernel 3.2.0 ? Vielleicht der falsche Kernel im grub gestartet? Kernel 3.2.0 ist der Kernel von Debian 7.

maboose
Beiträge: 4
Registriert: 24.09.2017 02:14:11

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von maboose » 06.10.2017 12:04:01

Servus,
ja, wie es scheint hat das Upgrade nicht den Kernel installiert. Jetzt bemerke ich aber eine ordentliche Abhängigkeitsproblematik:

Code: Alles auswählen

rescue:/etc# aptitude install linux-image-4.9.0-3-amd64
The following NEW packages will be installed:
  dmeventd{a} initramfs-tools-core{a} irqbalance{a} liblvm2app2.2{a} liblvm2cmd2.02{a} libnuma1{a} linux-image-4.9.0-3-amd64
The following packages will be upgraded:
  dmsetup initramfs-tools libdevmapper-event1.02.1 libdevmapper1.02.1 lvm2
The following partially installed packages will be configured:
  amavisd-new libfont-freetype-perl lmodern roundcube roundcube-core spamassassin texlive-fonts-extra-doc{b} texlive-generic-recommended{b} texlive-latex-base{b} texlive-latex-extra{b}
  texlive-latex-extra-doc{b} texlive-latex-recommended{b} texlive-pictures{b} texlive-pstricks{b} texlive-pstricks-doc{b}
5 packages upgraded, 7 newly installed, 0 to remove and 185 not upgraded.
Need to get 0 B/50.4 MB of archives. After unpacking 195 MB will be used.
The following packages have unmet dependencies:
 razor : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 tex-common : Breaks: texlive-base (< 2015) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-latex-base : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                      Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 feynmf : Depends: texlive-font-utils but it is not going to be installed
          Depends: texlive-extra-utils but it is not going to be installed
 texlive-base : Depends: texlive-common (>= 2012.20120516) which is a virtual package and is not provided by any available package

                Depends: luatex (>= 0.70.1) but it is not installable
 libptexenc1 : Breaks: texlive-base (< 2014) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libuuid-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 liblocale-gettext-perl : PreDepends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 texlive-generic-recommended : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                               Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-latex-extra-doc : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-pictures : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                    Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libterm-readkey-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 texlive-xetex : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                 Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-latex-extra : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                       Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-fonts-extra-doc : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libnet-dbus-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 texlive-pstricks-doc : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 texlive-pstricks : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                    Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libtext-soundex-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 libauthen-pam-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 libio-pty-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 texpower : Depends: texlive-fonts-extra (>= 2011) but it is not going to be installed
 texlive-binaries : Breaks: texlive-base (< 2016) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libxml-parser-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 libtext-iconv-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 texlive-doc-base : Depends: texlive-common (>= 2012.20120516) which is a virtual package and is not provided by any available package

 texlive-latex-recommended : Depends: texlive-base (>= 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
                             Breaks: texlive-base (< 2016.20170123-2) but 2012.20120611-5+deb7u1 is installed and it is kept back
 libalgorithm-diff-xs-perl : Depends: perlapi-5.20.0 which is a virtual package and is not provided by any available package

 libkpathsea6 : Breaks: texlive-base (< 2014) but 2012.20120611-5+deb7u1 is installed and it is kept back
The following actions will resolve these dependencies:

      Remove the following packages:
1)      texlive-doc-base [2012.20120611-1 (now)]
2)      texpower [2014.20141024-1 (now)]

      Install the following packages:
3)      libapparmor1 [2.11.0-3 (stable)]
4)      libfile-homedir-perl [1.00-1 (stable)]
5)      texlive-extra-utils [2016.20170123-5 (stable)]
6)      texlive-font-utils [2016.20170123-5 (stable)]

      Upgrade the following packages:
7)      dbus [1.6.8-1+deb7u6 (now) -> 1.10.18-1 (stable)]
8)      libalgorithm-diff-xs-perl [0.04-3+b1 (now) -> 0.04-4+b2 (stable)]
9)      libauthen-pam-perl [0.16-3+b1 (now) -> 0.16-3+b3 (stable)]
10)     libdbus-1-3 [1.8.22-0+deb8u1 (now) -> 1.10.18-1 (stable)]
11)     libio-pty-perl [1:1.08-1+b4 (now) -> 1:1.08-1.1+b2 (stable)]
12)     liblocale-gettext-perl [1.05-8+b1 (now) -> 1.07-3+b1 (stable)]
13)     libnet-dbus-perl [1.0.0-2+b2 (now) -> 1.1.0-4+b1 (stable)]
14)     libterm-readkey-perl [2.32-1+b1 (now) -> 2.37-1 (stable)]
15)     libtext-iconv-perl [1.7-5+b2 (now) -> 1.7-5+b4 (stable)]
16)     libtext-soundex-perl [3.4-1+b2 (now) -> 3.4-1+b4 (stable)]
17)     libuuid-perl [0.05-1+b1 (now) -> 0.27-1 (stable)]
18)     libxml-parser-perl [2.41-3 (now) -> 2.44-2+b1 (stable)]
19)     razor [1:2.85-4.1+b1 (now) -> 1:2.85-4.2+b2 (stable)]
20)     texlive-base [2012.20120611-5+deb7u1 (now) -> 2016.20170123-5 (stable)]

      Leave the following dependencies unresolved:
21)     texpower-manual recommends texpower



Accept this solution? [Y/n/q/?]
The following NEW packages will be installed:
  dmeventd{a} initramfs-tools-core{a} irqbalance{a} libapparmor1{a} libfile-homedir-perl{a} liblvm2app2.2{a} liblvm2cmd2.02{a} libnuma1{a} linux-image-4.9.0-3-amd64 texlive-extra-utils{a}
  texlive-font-utils{a}
The following packages will be REMOVED:
  texlive-doc-base{a} texpower{a}
The following packages will be upgraded:
  dbus dmsetup initramfs-tools libalgorithm-diff-xs-perl libauthen-pam-perl libdbus-1-3 libdevmapper-event1.02.1 libdevmapper1.02.1 libio-pty-perl liblocale-gettext-perl libnet-dbus-perl
  libterm-readkey-perl libtext-iconv-perl libtext-soundex-perl libuuid-perl libxml-parser-perl lvm2 razor texlive-base
The following partially installed packages will be configured:
  amavisd-new libfont-freetype-perl lmodern roundcube roundcube-core spamassassin texlive-fonts-extra-doc texlive-generic-recommended texlive-latex-base texlive-latex-extra
  texlive-latex-extra-doc texlive-latex-recommended texlive-pictures texlive-pstricks texlive-pstricks-doc
19 packages upgraded, 11 newly installed, 2 to remove and 171 not upgraded.
Need to get 0 B/88.9 MB of archives. After unpacking 229 MB will be used.
Do you want to continue? [Y/n/?]
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
(Reading database ... 99265 files and directories currently installed.)
Preparing to unpack .../texlive-base_2016.20170123-5_all.deb ...
Unpacking texlive-base (2016.20170123-5) over (2012.20120611-5+deb7u1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-base_2016.20170123-5_all.deb (--unpack):
 trying to overwrite '/usr/share/doc/texlive-doc/texlive/texlive-en/Makefile', which is also in package texlive-doc-base 2012.20120611-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Reinstalling /etc/texmf/fmt.d/10texlive-base.cnf that was moved away
Reinstalling /etc/texmf/xdvi/xdvi.cfg that was moved away
Reinstalling /etc/texmf/dvipdfm/config/config that was moved away
Errors were encountered while processing:
 /var/cache/apt/archives/texlive-base_2016.20170123-5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: dependency problems prevent configuration of texlive-fonts-extra-doc:
 texlive-fonts-extra-doc depends on texlive-base (>= 2016.20170123-2); however:
  Version of texlive-base on system is 2012.20120611-5+deb7u1.

dpkg: error processing package texlive-fonts-extra-doc (--configure):
 dependency problems - leaving unconfigured
Setting up roundcube-core (1.2.3+dfsg.1-4) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
dbconfig-common: flushing administrative password
dpkg: error processing package roundcube-core (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of texlive-latex-extra:
 texlive-latex-extra depends on texlive-base (>= 2016.20170123-2); however:
  Version of texlive-base on system is 2012.20120611-5+deb7u1.
 texlive-latex-extra depends on texlive-latex-recommended (>= 2016.20170123-2); however:
  Package texlive-latex-recommended is not configured yet.
 texlive-latex-extra depends on texlive-pictures (>= 2016.20170123-2); however:
  Package texlive-pictures is not configured yet.

dpkg: error processing package texlive-latex-extra (--configure):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.60) ...
Setting up amavisd-new (1:2.10.1-4) ...
Creating/updating amavis user account...
Can't exec "systemctl": No such file or directory at /usr/sbin/update-rc.d line 101.
/usr/sbin/invoke-rc.d: 547: /usr/sbin/invoke-rc.d: systemctl: not found
/usr/sbin/invoke-rc.d: 556: /usr/sbin/invoke-rc.d: systemctl: not found
/usr/sbin/invoke-rc.d: 562: /usr/sbin/invoke-rc.d: systemctl: not found
invoke-rc.d: initscript amavis, action "start" failed.
/usr/sbin/invoke-rc.d: 607: /usr/sbin/invoke-rc.d: systemctl: not found
dpkg: error processing package amavisd-new (--configure):
 subprocess installed post-installation script returned error exit status 127
Setting up spamassassin (3.4.1-6) ...
Can't exec "systemctl": No such file or directory at /usr/sbin/update-rc.d line 101.
/usr/sbin/invoke-rc.d: 547: /usr/sbin/invoke-rc.d: systemctl: not found
/usr/sbin/invoke-rc.d: 556: /usr/sbin/invoke-rc.d: systemctl: not found
/usr/sbin/invoke-rc.d: 562: /usr/sbin/invoke-rc.d: systemctl: not found
invoke-rc.d: initscript spamassassin, action "start" failed.
/usr/sbin/invoke-rc.d: 607: /usr/sbin/invoke-rc.d: systemctl: not found
dpkg: error processing package spamassassin (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of texlive-latex-extra-doc:
 texlive-latex-extra-doc depends on texlive-base (>= 2016.20170123-2); however:
  Version of texlive-base on system is 2012.20120611-5+deb7u1.

dpkg: error processing package texlive-latex-extra-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of roundcube:
 roundcube depends on roundcube-core (= 1.2.3+dfsg.1-4); however:
  Package roundcube-core is not configured yet.

dpkg: error processing package roundcube (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-base:
 texlive-base depends on texlive-common (>= 2012.20120516); however:
  Package texlive-common is not installed.
 texlive-base depends on luatex (>= 0.70.1); however:
  Package luatex is not installed.
  Version of luatex on system, provided by texlive-binaries:amd64, is <none>.
 texlive-latex-base (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-xetex (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is broken due to failed removal or installation.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-generic-recommended (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-binaries (2016.20160513.41080.dfsg-2) breaks texlive-base (<< 2016) and is installed.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-pictures (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-latex-extra (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 tex-common (6.06) breaks texlive-base (<< 2015) and is installed.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 libptexenc1:amd64 (2016.20160513.41080.dfsg-2) breaks texlive-base (<< 2014) and is installed.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-latex-recommended (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 texlive-pstricks (2016.20170123-5) breaks texlive-base (<< 2016.20170123-2) and is unpacked but not configured.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.
 libkpathsea6:amd64 (2016.20160513.41080.dfsg-2) breaks texlive-base (<< 2014) and is installed.
  Version of texlive-base to be configured is 2012.20120611-5+deb7u1.

dpkg: error processing package texlive-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-generic-recommended:
 texlive-generic-recommended depends on texlive-base (>= 2016.20170123-2); however:
  Version of texlive-base on system is 2012.20120611-5+deb7u1.

dpkg: error processing package texlive-generic-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
 texlive-latex-base depends on texlive-base (>= 2016.20170123-2); however:
  Version of texlive-base on system is 2012.20120611-5+deb7u1.

dpkg: error processing package texlive-latex-base (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 texlive-fonts-extra-doc
 roundcube-core
 texlive-latex-extra
 amavisd-new
 spamassassin
 texlive-latex-extra-doc
 roundcube
 texlive-base
 texlive-generic-recommended
 texlive-latex-base
Mist. Was kann ich tun?

Danke,
Markus

2undvierzig
Beiträge: 128
Registriert: 05.09.2016 12:04:56
Lizenz eigener Beiträge: MIT Lizenz

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von 2undvierzig » 06.10.2017 12:35:27

sources.list korrigieren/zeigen.
Der Fremde ist nur in der Fremde ein Fremder (Karl Valentin).

maboose
Beiträge: 4
Registriert: 24.09.2017 02:14:11

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von maboose » 06.10.2017 12:40:47

Code: Alles auswählen

deb  http://deb.debian.org/debian stretch main
deb-src  http://deb.debian.org/debian stretch main

deb  http://deb.debian.org/debian stretch-updates main
deb-src  http://deb.debian.org/debian stretch-updates main

deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main

#deb  http://deb.debian.org/debian stretch main contrib non-free
#deb-src  http://deb.debian.org/debian stretch main contrib non-free

#deb  http://deb.debian.org/debian stretch-updates main contrib non-free
#deb-src  http://deb.debian.org/debian stretch-updates main contrib non-free

#deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free

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

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von towo » 06.10.2017 12:58:37

Naja, von Debian 7 auf Debian 9 ........ das kann auch nicht funktionieren.

maboose
Beiträge: 4
Registriert: 24.09.2017 02:14:11

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von maboose » 06.10.2017 13:02:00

Das heißt? Wie kann ich hier weitermachen? Erst nochmal die Sourcen auf Debian 8 ändern, dist-upgrade? Danach dann auf 9?

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

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von towo » 06.10.2017 13:06:11

Dein System ist in einem Zustand, wo auch das nicht mehr funktionieren dürfte.
Beste Lösung, Backup zurückspielen und es dann richtig machen, nämlich:

1. Sicher stellen, dass keinerlei 3rd Party Pakete installiert sind
2. das System auf den aktuellesten Wheezy Stand updaten
3. auf Jessie upgraden
4. auf Stretch upgraden

mludwig
Beiträge: 807
Registriert: 30.01.2005 19:35:04

Re: Nach Upgrade kein Booten mehr möglich

Beitrag von mludwig » 06.10.2017 14:01:02

Alternativ kann man auch erstmal die "Selbstheilungskräfte" von debian bemühen:

apt-get install -f

und falls hier nichts lebensnotwendiges deinstalliert werden soll, würde ich ihn zur not auch einiges deinstallieren lassen. Also zum Beispiel die beanstandeten Pakete wie roundcube* und texlive erstmal runterschmeißen und dann neu die aktuelle Version installieren.

Der Upgradepfad von Debian 7 nach 9 ist eher nicht unterstützt, von daher sind solche Fehler während des Upgrades dann auch nicht verwunderlich.

Um die Funktionalität sicher zu stellen, muss am Ende unbedingt der aktuelle Kernel (linux-image-4.9-xxx) korrekt installiert sein, inkl. Abhängigkeiten.

Antworten