Kirjoittaja Aihe: Ubuntu 18.04 LTS ja paketti systemd-shim  (Luettu 2554 kertaa)

Riina

  • Käyttäjä
  • Viestejä: 62
    • Profiili
Ubuntu 18.04 LTS ja paketti systemd-shim
« : 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ä?

nm

  • Käyttäjä
  • Viestejä: 16242
    • Profiili
Vs: Ubuntu 18.04 LTS ja paketti systemd-shim
« Vastaus #1 : 05.09.18 - klo:21.16 »
Kyseessä on päivitysbugi, joka korjaantunee näillä toimenpiteillä:

Koodia: [Valitse]
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

Riina

  • Käyttäjä
  • Viestejä: 62
    • Profiili
Vs: Ubuntu 18.04 LTS ja paketti systemd-shim
« Vastaus #2 : 05.09.18 - klo:21.25 »
Kiitos. Päivitykset meni nyt läpi.