Guten Abend,
meine Frau kam gestern Abend auf die Idee, über den graphischen Wege von Oneiric auf Precise upzugraden. Da wir mehrere DEs (Unity, KDE, LXDE) installiert haben, fiel mir die Beschreibung schwer. Ich hab das momentan aktuelle (LXDE) gewählt.
Nach einer Weile (in der Installationsphase) fror der Rechner ein. Insbesondere war das Bild im Bildschirmschoner fest und die Tastatur nicht ansprechbar. Es handelt sich um ein Notebook.
Ich habe dann nach einigem Warten den Laptop hart ausgeschalten.
Nach einem Neuboot erschien die Fehlermeldung
Die Design-Datei /usr/share/kde4/apps/kdm/themes/horos kann nicht geöffnet werden.
Nach einem Wegklicken geschah nichts.
Selbiges aus dem Wiederherstellungsmodus, nur dass er hiernach im Textmodus weiterlief bis zu der Stelle, an der er den Batteriemodus überprüft. Das Gerät befand sich die ganze Zeit am Stromnetz.
Ich habe daraufhin den Laptop heruntergefahren, um eine Live-Sitzung mit Lubuntu 12.04 zu starten.
Von dort aus habe ich alles nach Anleitung für eine chroot-Umgebung vorbereitet. Ich bin dann dem Forensticky gefolgt und habe
sudo apt-get update
ausgeführt. Das anschließende
sudo dpkg --configure -a
warf dann auch ein Fehler, der die nachfolgenden Befehle blockierte. Einen Teil davon findet sich noch im Paste weiter unten. Mehr lässt sich nicht rekonstruieren. Er dauerte nur ziemlich lange und warf wenig Warnings ...
Nachfolgend einige Terminal-Ausgaben, die mir relevant erscheinen: (Sofern noch einsehbar auch im Paste)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | Schreiben des Protokolls nicht möglich, openpty() fehlgeschlagen (/dev/pts nicht eingebunden?) resolvconf (1.63ubuntu14) wird eingerichtet ... ln: Entfernen von »/etc/resolv.conf“ nicht möglich: Das Gerät oder die Ressource ist belegt dpkg: Fehler beim Bearbeiten von resolvconf (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück dpkg: Abhängigkeitsprobleme verhindern Konfiguration von ubuntu-minimal: ubuntu-minimal hängt ab von resolvconf; aber: Paket resolvconf ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten von ubuntu-minimal (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert blueman (1.23-0ubuntu2) wird eingerichtet ... runlevel:/var/run/utmp: Datei oder Verzeichnis nicht gefunden reload: Unknown instance: invoke-rc.d: initscript dbus, action "reload" failed. dpkg: Fehler beim Bearbeiten von blueman (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück /bin/df: »/cdrom“: Datei oder Verzeichnis nicht gefunden /bin/df: »/rofs“: Datei oder Verzeichnis nicht gefunden /bin/df: »/cow“: Datei oder Verzeichnis nicht gefunden /bin/df: »/run/lock“: Datei oder Verzeichnis nicht gefunden /bin/df: »/run/shm“: Datei oder Verzeichnis nicht gefunden /bin/df: »/home/lubuntu/.gvfs“: Datei oder Verzeichnis nicht gefunden /bin/df: »/media/5aa3576d-9ac2-460a-87bb-5f781bbdb55a“: Datei oder Verzeichnis nicht gefunden /bin/df: »/media/Data“: Datei oder Verzeichnis nicht gefunden /bin/df: »/mnt/dev“: Datei oder Verzeichnis nicht gefunden /bin/df: »/mnt/sys“: Datei oder Verzeichnis nicht gefunden Es wurde kein Apport-Bericht verfasst, da die Fehlermeldung darauf hindeutet, dass dies lediglich ein Folgefehler eines vorherigen Problems ist. /bin/df: »/cdrom“: Datei oder Verzeichnis nicht gefunden /bin/df: »/rofs“: Datei oder Verzeichnis nicht gefunden /bin/df: »/cow“: Datei oder Verzeichnis nicht gefunden /bin/df: »/run/lock“: Datei oder Verzeichnis nicht gefunden /bin/df: »/run/shm“: Datei oder Verzeichnis nicht gefunden /bin/df: »/home/lubuntu/.gvfs“: Datei oder Verzeichnis nicht gefunden /bin/df: »/media/5aa3576d-9ac2-460a-87bb-5f781bbdb55a“: Datei oder Verzeichnis nicht gefunden /bin/df: »/media/Data“: Datei oder Verzeichnis nicht gefunden /bin/df: »/mnt/dev“: Datei oder Verzeichnis nicht gefunden /bin/df: »/mnt/sys“: Datei oder Verzeichnis nicht gefunden Fehler traten auf beim Bearbeiten von: resolvconf ubuntu-minimal blueman E: Sub-process /usr/bin/dpkg returned an error code (1) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | root@lubuntu:/# cat /etc/apt/sources.list # # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427)]/ natty main restricted # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427)]/ natty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://de.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://de.archive.ubuntu.com/ubuntu/ precise main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://de.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://de.archive.ubuntu.com/ubuntu/ precise universe deb-src http://de.archive.ubuntu.com/ubuntu/ precise universe deb http://de.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://de.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ precise multiverse deb http://de.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://de.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse # deb-src http://de.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu natty partner deb-src http://archive.canonical.com/ubuntu natty partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main |
Die Natty-Quelle wurde bereits auskommentiert - keine Änderung:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | root@lubuntu:/# sudo apt-get -f install sudo: unable to resolve host lubuntu Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Statusinformationen werden eingelesen... Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: libkworkspace4 lib32bz2-1.0 libreoffice-l10n-common ia32-libs-multiarch:i386 libaccess-bridge-java libaiksaurus-1.2-data libqt4-qt3support:i386 libcupsimage2:i386 libidn11:i386 libnss3:i386 lib32ncurses5 libx264-116 libmagickcore3 lib32tinfo5 ia32-libs wine1.3 libqt4-test:i386 libqt4-designer:i386 libmarblewidget12 libmagickwand3 libwoodstox-java libcvaux2.1 libgps19 libnux-1.0-common libmagick++3 libiso9660-7 libboost-date-time1.46.1 libindicator3-6 libokularcore1 libxfcegui4-4 libkwineffects1abi2 libqt4-opengl:i386 lib32ffi6 libindicator6 lib32asound2 lib32nss-mdns libaccess-bridge-java-jni libgdbm3:i386 libcurl3:i386 libhighgui2.1 libwv-1.2-3 libgtkglext1 libvpx0 libmatroska4 libaiksaurusgtk-1.2-0c2a libminiupnpc5 libqt4-svg:i386 libcv2.1 libnspr4:i386 libzip1 libxss1:i386 unity-2d-places libjpeg62:i386 lib32ncursesw5 libnl3 libgtkspell3-0 gir1.2-dee-0.5 libkvkontakte-data lib32z1 libmusicbrainz4c2a libmagickcore3-extra libaiksaurus-1.2-0c2a kdebase-runtime lib32stdc++6 libmcs1 libabiword-2.8 libqt4-scripttools:i386 librtmp0:i386 libnux-1.0-0 libnatpmp1 unity-2d-launcher icc-profiles-free libllvm2.9 libllvm2.9:i386 libjs-mootools libaudiofile0 Verwenden Sie »apt-get autoremove«, um sie zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. 3 nicht vollständig installiert oder entfernt. Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt. Schreiben des Protokolls nicht möglich, openpty() fehlgeschlagen (/dev/pts nicht eingebunden?) resolvconf (1.63ubuntu14) wird eingerichtet ... ln: Entfernen von »/etc/resolv.conf“ nicht möglich: Das Gerät oder die Ressource ist belegt dpkg: Fehler beim Bearbeiten von resolvconf (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht istdpkg: Abhängigkeitsprobleme verhindern Konfiguration von ubuntu-minimal: ubuntu-minimal hängt ab von resolvconf; aber: Paket resolvconf ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten von ubuntu-minimal (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert blueman (1.23-0ubuntu2) wird eingerichtet ... Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist runlevel:/var/run/utmp: Datei oder Verzeichnis nicht gefunden reload: Unknown instance: invoke-rc.d: initscript dbus, action "reload" failed. dpkg: Fehler beim Bearbeiten von blueman (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist Fehler traten auf beim Bearbeiten von: resolvconf ubuntu-minimal blueman E: Sub-process /usr/bin/dpkg returned an error code (1) |
Allerdings laufe ich schon mit Precise:
1 2 3 4 5 6 | root@lubuntu:/# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise |
Mir fiel dann hier ein, dass ich eine verschlüsselte Partition vorliegen habe. Diese wurde auch entdeckt und gemountet:
1 2 3 4 5 6 7 8 9 10 11 | oot@lubuntu:/# sudo ecryptfs-recover-private sudo: unable to resolve host lubuntu INFO: Searching for encrypted private directories (this might take a while)... INFO: Found [/home/.ecryptfs/eliam/.Private]. Try to recover this directory? [Y/n]: y INFO: Found your wrapped-passphrase Do you know your LOGIN passphrase? [Y/n] y INFO: Enter your LOGIN passphrase... Passphrase: Inserted auth tok with sig [f6dab9c6d53d8f35] into the user session keyring INFO: Success! Private data mounted read-only at [/tmp/ecryptfs.ls9X5OVK]. |
1 2 | root@lubuntu:/# ls /tmp ecryptfs.ls9X5OVK hsperfdata_root |
Nur kann ich meine externe Festplatte (Datensicherung!) von der Konsole aus nicht sehen:
1 2 3 | root@lubuntu:/# ls /media cdrom root@lubuntu:/# ls /mnt |
Mit dem graphischen Filemanager PcManFM geht's aber - nur sehe ich damit nicht die Outputs aus der Konsole.
Abschließend noch einige Abfragen aus dem Themensticky:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | root@lubuntu:/# apt-cache policy Paketdateien: 100 /var/lib/dpkg/status release a=now 500 http://extras.ubuntu.com/ubuntu/ precise/main i386 Packages release v=12.04,o=LP-PPA-app-review-board,a=precise,n=precise,l=Application Review Board PPA,c=main origin extras.ubuntu.com 500 http://extras.ubuntu.com/ubuntu/ precise/main amd64 Packages release v=12.04,o=LP-PPA-app-review-board,a=precise,n=precise,l=Application Review Board PPA,c=main origin extras.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en 500 http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=multiverse origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=universe origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted i386 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=restricted origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse amd64 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=multiverse origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=universe origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted amd64 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=restricted origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main origin security.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/multiverse i386 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=multiverse origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/universe i386 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=universe origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=restricted origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=main origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/multiverse amd64 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=multiverse origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=universe origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=restricted origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=main origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe Translation-de 500 http://de.archive.ubuntu.com/ubuntu/ precise/restricted Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise/restricted Translation-de 500 http://de.archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise/multiverse Translation-de 500 http://de.archive.ubuntu.com/ubuntu/ precise/main Translation-en 500 http://de.archive.ubuntu.com/ubuntu/ precise/main Translation-de 500 http://de.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=multiverse origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=universe origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=restricted origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/main i386 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=main origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=multiverse origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=universe origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/restricted amd64 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=restricted origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=main origin de.archive.ubuntu.com Mit Pinning verwaltete Pakete: |
1 2 3 4 | root@lubuntu:/# cat /etc/apt/apt.conf cat: /etc/apt/apt.conf: Datei oder Verzeichnis nicht gefunden root@lubuntu:/# cat /etc/apt/preferences cat: /etc/apt/preferences: Datei oder Verzeichnis nicht gefunden |
Hilfe wäre toll ☺ Falls eine Neuinstallation erforderlich wäre, könnten wir die auch "sauber" gestalten. Anfangssystem war übrigens Natty Unity.
Ryu