Hallo zusammen
Ich habe zum TV schauen einen alten Dell Optiplex755 mit Ubuntu aufgerüstet und bin seit Ubuntu 10.04 LTS dabei und habe jede erhöhung bis hin nun zum Ubuntu 18.04 Bionic Beaver durchgemacht und wurde hier wenns ein Problem gab in der Regel fündig. Der Rechner hat das bis jetzt Problemlos gemacht und ich bin zufrieden. Doch nun ergeben sich störungen und bekomme keine Updates . In diesem Fred bin ich fündig geworden https://forum.ubuntuusers.de/topic/mit-apt-aktualisieren/ und habe folgende nun die Befehle von User Erdling ausgeführt die Ausgabe von
sudo apt update && sudo apt full-upgrade
ergibt
christian@christian-OptiPlex-755:~$ sudo apt update && sudo apt full-upgrade [sudo] Passwort für christian: OK:1 http://ch.archive.ubuntu.com/ubuntu bionic InRelease Holen:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Holen:3 http://ch.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] OK:4 http://archive.canonical.com/ubuntu bionic InRelease Holen:5 http://ch.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Holen:6 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main Sources [195 kB] Holen:7 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [399 kB] Holen:8 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [360 kB] Holen:9 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [173 kB] Holen:10 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [40.8 kB] Holen:11 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [81.8 kB] Holen:12 http://ch.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [559 kB] Holen:13 http://ch.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [554 kB] Holen:14 http://ch.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [183 kB] Holen:15 http://ch.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [175 kB] Holen:16 http://ch.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [293 kB] Holen:17 http://ch.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2'464 B] Holen:18 http://ch.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5'100 B] Es wurden 3'268 kB in 5 s geholt (635 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 242 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete werden ENTFERNT: systemd-shim Die folgenden NEUEN Pakete werden installiert: libbrotli1 libwoff1 linux-headers-4.15.0-36 linux-headers-4.15.0-36-generic linux-image-4.15.0-36-generic linux-modules-4.15.0-36-generic linux-modules-extra-4.15.0-36-generic Die folgenden Pakete werden aktualisiert (Upgrade): apache2-bin apparmor apport apport-gtk appstream apt-config-icons apturl apturl-common avahi-autoipd avahi-daemon avahi-utils base-files bind9-host binutils binutils-common binutils-x86-64-linux-gnu bolt brltty chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra console-setup console-setup-linux cpp cpp-7 cryptsetup cryptsetup-bin dnsutils evolution-data-server evolution-data-server-common firefox firefox-locale-de firefox-locale-en flashplugin-installer fonts-liberation fonts-liberation2 fonts-opensymbol g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base gcc-8-base:i386 gdm3 ghostscript ghostscript-x gir1.2-gdm-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-packagekitglib-1.0 gir1.2-udisks-2.0 gir1.2-webkit2-4.0 gnome-initial-setup gnome-software gnome-software-common gnome-software-plugin-snap grub-common grub-pc grub-pc-bin grub2-common gstreamer1.0-packagekit imagemagick imagemagick-6-common imagemagick-6.q16 initramfs-tools initramfs-tools-bin initramfs-tools-core keyboard-configuration libapparmor1 libappstream4 libasan4 libatomic1 libavahi-client3 libavahi-client3:i386 libavahi-common-data libavahi-common-data:i386 libavahi-common3 libavahi-common3:i386 libavahi-core7 libavahi-glib1 libavahi-gobject0 libavahi-ui-gtk3-0 libbind9-160 libbinutils libbrlapi0.6 libcamel-1.2-61 libcc1-0 libcilkrts5 libcryptsetup12 libcurl3-gnutls libdns-export1100 libdns1100 libebackend-1.2-10 libebook-1.2-19 libebook-contacts-1.2-2 libecal-1.2-19 libedata-book-1.2-25 libedata-cal-1.2-28 libedataserver-1.2-23 libedataserverui-1.2-2 libegl1 libgcc-7-dev libgcc1 libgcc1:i386 libgdm1 libgl1 libgl1:i386 libgles2 libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libglvnd0 libglvnd0:i386 libglx0 libglx0:i386 libgomp1 libgpgme11 libgpgmepp6 libgs9 libgs9-common libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libitm1 libjavascriptcoregtk-4.0-18 liblcms2-2 liblcms2-2:i386 liblcms2-utils liblouis-data liblouis14 liblsan0 liblwres160 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmetacity1 libmpx2 libnautilus-extension1a libpackagekit-glib2-18 libplymouth4 libpoppler-glib8 libpoppler73 libpython3.6 libpython3.6-minimal libpython3.6-stdlib libqt5qml5 libqt5quick5 libqt5quicktest5 libquadmath0 libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk libreoffice-gtk2 libreoffice-gtk3 libreoffice-help-de libreoffice-help-en-gb libreoffice-help-en-us libreoffice-impress libreoffice-l10n-de libreoffice-l10n-en-gb libreoffice-l10n-en-za libreoffice-math libreoffice-ogltrans libreoffice-pdfimport libreoffice-style-breeze libreoffice-style-galaxy libreoffice-style-human libreoffice-style-tango libreoffice-writer libstdc++-7-dev libstdc++6 libstdc++6:i386 libsysmetrics1 libtsan0 libubsan0 libudisks2-0 libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37-gtk2 libx11-6 libx11-6:i386 libx11-data libx11-xcb1 libx11-xcb1:i386 linux-generic linux-headers-generic linux-image-generic linux-libc-dev metacity metacity-common nautilus nautilus-data nvidia-common packagekit packagekit-tools plymouth plymouth-label plymouth-theme-ubuntu-logo plymouth-theme-ubuntu-text poppler-utils python-apport python-brlapi python-louis python-problem-report python3-apport python3-brlapi python3-distupgrade python3-louis python3-problem-report python3-software-properties python3-uno python3-update-manager python3.6 python3.6-minimal qml-module-qtquick2 qml-module-qttest qmlscene qtdeclarative5-dev-tools qtdeclarative5-test-plugin software-properties-common software-properties-gtk tzdata ubuntu-drivers-common ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk ubuntu-report ubuntu-settings ubuntu-software ubuntu-web-launchers udisks2 uno-libs3 update-manager update-manager-core ure xbrlapi 242 aktualisiert, 7 neu installiert, 1 zu entfernen und 0 nicht aktualisiert. 1 nicht vollständig installiert oder entfernt. Es müssen noch 0 B von 377 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 358 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Extrahiere Vorlagen aus Paketen: 100% Vorkonfiguration der Pakete ... (Lese Datenbank ... 543164 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von systemd-shim (9-1bzr4ubuntu1) ... »Umleitung von /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service zu /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd durch systemd-shim« wird entfernt dpkg-divert: Fehler: Umbenennen beinhaltet Überschreiben von »/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service« mit anderer Datei »/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd«, nicht erlaubt dpkg: Fehler beim Bearbeiten des Paketes systemd-shim (--remove): Unterprozess installed systemd-shim package post-removal script gab den Fehler-Ausgangsstatus 2 zurück Fehler traten auf beim Bearbeiten von: systemd-shim E: Sub-process /usr/bin/dpkg returned an error code (1) christian@christian-OptiPlex-755:~$
Warum habe ich da plötzlich diesen Fehler? Nach eingabe von
sudo apt autoremove --purge
ergibt dann folgendes
christian@christian-OptiPlex-755:~$ sudo apt autoremove --purge Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden ENTFERNT: systemd-shim 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 242 nicht aktualisiert. 1 nicht vollständig installiert oder entfernt. Nach dieser Operation werden 71.7 kB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] J (Lese Datenbank ... 543164 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von systemd-shim (9-1bzr4ubuntu1) ... »Umleitung von /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service zu /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd durch systemd-shim« wird entfernt dpkg-divert: Fehler: Umbenennen beinhaltet Überschreiben von »/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service« mit anderer Datei »/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd«, nicht erlaubt dpkg: Fehler beim Bearbeiten des Paketes systemd-shim (--remove): Unterprozess installed systemd-shim package post-removal script gab den Fehler-Ausgangsstatus 2 zurück Fehler traten auf beim Bearbeiten von: systemd-shim E: Sub-process /usr/bin/dpkg returned an error code (1)
Jetzt bin grad etwas ratlos Fakt ist der PC kann nicht aktualisieren weil überschreiben fehler vorliegt
Wie soll man da weiterfahren die Befehle und anweisungen in diesem Fred hier https://forum.ubuntuusers.de/topic/aktualisierungsvorgang-bricht-immer-ab/ ergeben dasselbe
Danke für die Hilfe
CZ