Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Asentaminen ja käyttöönotto => Aiheen aloitti: Riina - 05.09.18 - klo:21.11
-
Asennus muuten ok, mutta tuota systemd-shim pakettia sanoo vanhentuneeksi ja voisi poistaa. Ei poistu mitenkään vaan sanoo että liian monta virhettä
Poistetaan systemd-shim (9-1bzr4ubuntu1)...
Poistetaan 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
dpkg-divert: virhe: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
dpkg: error processing package systemd-shim (--remove):
installed systemd-shim package post-removal script subprocess returned error exit status 2
Käsittelyssä tapahtui liian monta virhettä:
systemd-shim
E: Sub-process /usr/bin/dpkg returned an error code (1)
Vai mitä sille pitää tehdä?
-
Kyseessä on päivitysbugi, joka korjaantunee näillä toimenpiteillä:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak
sudo apt-get install -f
sudo apt dist-upgrade
sudo apt autoremove
Lähde: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1773859
-
Kiitos. Päivitykset meni nyt läpi.