Discussion:
update auf systemd - error: installation aborted!
(zu alt für eine Antwort)
Stefan Puschek
2023-03-05 14:14:21 UTC
Permalink
Hallo Holger,

vorab: das ist mein Rettungssystem auf USB-Stick und ein Image VOR der
Installation von systemd habe ich auch; also keine Panik - kein Notfall :)

Last login: from 192.168.6.3 on pts/0
Last login: Sun Mar 5 15:03:12 2023 from 192.168.6.3

Welcome to eisfair!
eisfair-base: 3.2.7
eiskernel : 5.15.91-eisfair-1-PAE

nursegollum # eisman update
(Re)building package database ...
[100%] completed!
(Re)building outdated database ...
[100%] completed!
Cleaning up info cache ...
[100%] completed!
nursegollum # eisman upgrade

The following packages will be installed:

version status name source
---------------------------------------------------------------------
3.2.0 stable system-group-kvm https://www.pack-eis.de
3.2.0 stable system-group-hardware https://www.pack-eis.de
3.2.3 stable systemd-default-settings https://www.pack-eis.de
3.2.0 stable liblz4-1 https://www.pack-eis.de
3.2.0 stable libgpg-error0 https://www.pack-eis.de
3.2.1 stable libgcrypt20 https://www.pack-eis.de
3.2.3 stable libsystemd0 https://www.pack-eis.de
3.2.4 stable dbus-1-common https://www.pack-eis.de
3.2.4 stable libdbus-1-3 https://www.pack-eis.de
3.2.4 stable dbus-1-daemon https://www.pack-eis.de
3.2.4 stable dbus-1-tools https://www.pack-eis.de
3.2.6 stable dbus-1 https://www.pack-eis.de
3.2.0 stable libseccomp2 https://www.pack-eis.de
3.2.0 stable libp11-kit0 https://www.pack-eis.de
3.2.0 stable libnss_usrfiles2 https://www.pack-eis.de
3.2.0 stable libip4tc2 https://www.pack-eis.de
3.2.8 stable eisfair-base https://www.pack-eis.de
3.2.3 stable systemd https://www.pack-eis.de
3.2.3 stable systemd-sysvcompat https://www.pack-eis.de
3.2.0 stable libjson-c5 https://www.pack-eis.de
3.2.0 stable libargon2-1 https://www.pack-eis.de
3.2.0 stable libcryptsetup12 https://www.pack-eis.de
3.2.3 stable udev https://www.pack-eis.de
3.2.0 stable eisfair-service https://www.pack-eis.de
3.2.0 stable environment https://www.pack-eis.de
3.2.0 stable locales https://www.pack-eis.de
3.2.3 stable sysvinit-tools https://www.pack-eis.de

27 package(s) using approx. 29 MB of disk space.

Continue (y/n) [yes]?
Downloading required packages ...
=> [####################] system-group-kvm (3.2.0)...
[ OK ] =>
[####################] system-group-hardware (3.2.0)...
[ OK ] => [####################]
systemd-default-settings (3.2.3)...
[ OK ] => [####################] liblz4-1 (3.2.0)...
[ OK ]
=> [####################] libgpg-error0 (3.2.0)...
[ OK ] =>
[####################] libgcrypt20 (3.2.1)...
[ OK ] => [####################]
libsystemd0 (3.2.3)...
[ OK ] => [####################] dbus-1-common
(3.2.4)...
[ OK ] => [####################] libdbus-1-3 (3.2.4)...
[ OK ] =>
[####################] dbus-1-daemon (3.2.4)...
[ OK ] => [####################]
dbus-1-tools (3.2.4)...
[ OK ] => [####################] dbus-1 (3.2.6)...
[ OK ]
=> [####################] libseccomp2 (3.2.0)...
[ OK ] =>
[####################] libp11-kit0 (3.2.0)...
[ OK ] => [####################]
libnss_usrfiles2 (3.2.0)...
[ OK ] => [####################] libip4tc2 (3.2.0)...
[ OK ]
=> [####################] eisfair-base (3.2.8)...
[ OK ] =>
[####################] systemd (3.2.3)...
[ OK ] => [####################]
systemd-sysvcompat (3.2.3)...
[ OK ] => [####################] libjson-c5 (3.2.0)...
[ OK ]
=> [####################] libargon2-1 (3.2.0)...
[ OK ] =>
[####################] libcryptsetup12 (3.2.0)...
[ OK ] => [####################]
udev (3.2.3)...
[ OK ] => [####################] eisfair-service
(3.2.0)... [
OK ] => [####################] environment (3.2.0)...
[ OK ] =>
[####################] locales (3.2.0)...
[ OK ] => [####################]
sysvinit-tools (3.2.3)...
[ OK ] Done! Installation of: system-group-kvm (3.2.0)
... Successfully installed: system-group-kvm (3.2.0)! Installation of:
system-group-hardware (3.2.0) ... Successfully installed:
system-group-hardware (3.2.0)! Installation of:
systemd-default-settings (3.2.3) ... Successfully installed:
systemd-default-settings (3.2.3)! Installation of: liblz4-1 (3.2.0) ...
Successfully installed: liblz4-1 (3.2.0)! Installation of:
libgpg-error0 (3.2.0) ... Successfully installed: libgpg-error0
(3.2.0)! Installation of: libgcrypt20 (3.2.1) ... Successfully
installed: libgcrypt20 (3.2.1)! Installation of: libsystemd0 (3.2.3)
... Successfully installed: libsystemd0 (3.2.3)! Installation of:
dbus-1-common (3.2.4) ... Successfully installed: dbus-1-common
(3.2.4)! Installation of: libdbus-1-3 (3.2.4) ... Successfully
installed: libdbus-1-3 (3.2.4)! Installation of: dbus-1-daemon (3.2.4)
... Successfully installed: dbus-1-daemon (3.2.4)! Installation of:
dbus-1-tools (3.2.4) ... Successfully installed: dbus-1-tools (3.2.4)!
Installation of: dbus-1 (3.2.6) ...
* Starting the D-Bus Messagebus Daemon...
[ OK ] Successfully installed:
dbus-1 (3.2.6)! Installation of: libseccomp2 (3.2.0) ...
Successfully installed: libseccomp2 (3.2.0)!
Installation of: libp11-kit0 (3.2.0) ...
Successfully installed: libp11-kit0 (3.2.0)!
Installation of: libnss_usrfiles2 (3.2.0) ...
Successfully installed: libnss_usrfiles2 (3.2.0)!
Installation of: libip4tc2 (3.2.0) ...
Successfully installed: libip4tc2 (3.2.0)!
Installation of: eisfair-base (3.2.8) ...
* Setting up resolv.conf ...
[ OK ] Successfully installed:
eisfair-base (3.2.8)! Installation of: systemd (3.2.3) ...
Creating group 'systemd-journal' with GID 490.
Creating group 'systemd-timesync' with GID 489.
Creating user 'systemd-timesync' (systemd Time Synchronization) with
UID 489 and GID 489. Initializing machine ID from D-Bus machine ID.
Created symlink /etc/systemd/system/default.target →
/usr/lib/systemd/system/multi-user.target. Created symlink
/etc/systemd/system/tmp.mount → /dev/null. Created symlink
/etc/systemd/system/getty.target.wants/***@tty1.service →
/usr/lib/systemd/system/***@.service. Created symlink
/etc/systemd/system/dbus-org.freedesktop.timesync1.service →
/usr/lib/systemd/system/systemd-timesyncd.service. Created symlink
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service →
/usr/lib/systemd/system/systemd-timesyncd.service. Successfully
installed: systemd (3.2.3)! Installation of: systemd-sysvcompat (3.2.3)
... Successfully installed: systemd-sysvcompat (3.2.3)! Installation
of: libjson-c5 (3.2.0) ... Successfully installed: libjson-c5 (3.2.0)!
Installation of: libargon2-1 (3.2.0) ... Successfully installed:
libargon2-1 (3.2.0)! Installation of: libcryptsetup12 (3.2.0) ...
Successfully installed: libcryptsetup12 (3.2.0)! Installation of: udev
(3.2.3) ...


Info:
Core libraries or services have been updated.
Reboot is required to ensure that your system benefits from these
updates.


Successfully installed: udev (3.2.3)!
Installation of: eisfair-service (3.2.0) ...


Info:
This package requires a running systemd process.
Please reboot the system and restart the installation.


error: installation of "eisfair-service" aborted by /tmp/preinstall.sh!
Failed to install: eisfair-service (3.2.0)!
error: installation aborted!
nursegollum #


muss das so?

nach einem reboot:
Last login: from 192.168.6.3 on pts/0
Last login: Sun Mar 5 15:11:05 2023 from 192.168.6.3

Welcome to eisfair!
eisfair-base: 3.2.8
eiskernel : 5.15.91-eisfair-1-PAE

nursegollum # eisman upgrade

The following packages will be installed:

version status name source
---------------------------------------------------------------------
3.2.3 stable sysvinit-tools https://www.pack-eis.de
3.2.0 stable eisfair-service https://www.pack-eis.de
3.2.0 stable environment https://www.pack-eis.de
3.2.0 stable locales https://www.pack-eis.de

4 package(s) using approx. 4 MB of disk space.

Continue (y/n) [yes]?
Downloading required packages ...
Done!
Installation of: sysvinit-tools (3.2.3) ...
Successfully installed: sysvinit-tools (3.2.3)!
Installation of: eisfair-service (3.2.0) ...
Successfully installed: eisfair-service (3.2.0)!
Installation of: environment (3.2.0) ...
Successfully installed: environment (3.2.0)!
Installation of: locales (3.2.0) ...
* Restarting (try) Network Time Synchronization ...
[ OK ] Successfully installed:
locales (3.2.0)! nursegollum # eisman upgrade
-------------------------------------
Your system is up to date!
-------------------------------------
nursegollum #

ist systemd jetzt drauf - oder nicht?

Groetjes
Stefan
Marcus Röckrath
2023-03-05 14:34:55 UTC
Permalink
Hallo Stefan,
Post by Stefan Puschek
Installation of: eisfair-service (3.2.0) ...
This package requires a running systemd process.
Please reboot the system and restart the installation.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Post by Stefan Puschek
error: installation of "eisfair-service" aborted by /tmp/preinstall.sh!
Failed to install: eisfair-service (3.2.0)!
error: installation aborted!
nursegollum #
muss das so?
Ja, an der Stelle ist der Reboot zwingend und in der Ankündigung hat Holger
genau darauf auch hingewiesen.
Post by Stefan Puschek
ist systemd jetzt drauf - oder nicht?
Ja.
--
Gruß Marcus
[eisfair-Team]
Stefan Puschek
2023-03-05 14:44:47 UTC
Permalink
Hallo Marcus,
Post by Marcus Röckrath
Post by Stefan Puschek
Installation of: eisfair-service (3.2.0) ...
This package requires a running systemd process.
Please reboot the system and restart the installation.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Post by Stefan Puschek
error: installation of "eisfair-service" aborted by
/tmp/preinstall.sh! Failed to install: eisfair-service (3.2.0)!
error: installation aborted!
nursegollum #
muss das so?
Ja, an der Stelle ist der Reboot zwingend und in der Ankündigung hat
Holger genau darauf auch hingewiesen.
deswegen habe ich den reboot auch gemacht.

Aber auf error und Installation aborted hat er nicht hingewiesen, daher
die Frage...
Post by Marcus Röckrath
Post by Stefan Puschek
ist systemd jetzt drauf - oder nicht?
Ja.
Prima!

Vielen Dank für Eure Arbeit - Vielleicht schafft Ihr es ja auch, dass
ich mich in Zukunft mal mit systemd anfreunden kann.

Groetjes und schönes Rest-WE
Stefan
Marcus Röckrath
2023-03-05 16:22:15 UTC
Permalink
Hallo Stefan,
Post by Stefan Puschek
Post by Marcus Röckrath
Post by Stefan Puschek
Installation of: eisfair-service (3.2.0) ...
1. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Post by Stefan Puschek
Post by Marcus Röckrath
Post by Stefan Puschek
This package requires a running systemd process.
Please reboot the system and restart the installation.
2. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Post by Stefan Puschek
Post by Marcus Röckrath
Post by Stefan Puschek
error: installation of "eisfair-service" aborted by
/tmp/preinstall.sh! Failed to install: eisfair-service (3.2.0)!
error: installation aborted!
3. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Post by Stefan Puschek
Post by Marcus Röckrath
Post by Stefan Puschek
muss das so?
Ja, an der Stelle ist der Reboot zwingend und in der Ankündigung hat
Holger genau darauf auch hingewiesen.
deswegen habe ich den reboot auch gemacht.
Aber auf error und Installation aborted hat er nicht hingewiesen, daher
die Frage...
1. zeigt , welches Paket aus der Installationskette gerade installiert wird.

2. zeigt, dass für dieses noch nicht alle Vorbedingungen erfüllt ains, was
eisman nicht ahnen kann. Es weist durch eine "Info" - also keine Warnung
oder Error darauf hin, was nun zu tun ist. Gleichzeitig beendet sich diese
Installation mit einem errovlevel <> 0, damit

3. eisman mitbekommt, dass jetzt hier erstmal Schluss ist, denn endet eine
Installation nicht mit errorlevel 0, macht eisman nicht mehr weiter, denn
das kann natürlich unabsehbare Folgen haben. eisman weist dementsprechend
einen error bzgl. dieses Paketes raus, denn es wurde nicht installiert. Für
eisman ist das also ein error, denn Erfolg meint: Paket installiert.
Gleichzeitig sagt er, dass der Abbruch in preinstall.sh passiert ist.

So wie es oben ablief, war es immer schon. In der preinstall.sh hat der
Paketmaintainer insbesondere die Möglichkeit, Prüfungen zu machen und
notwendige Aktionen auszuführen.
--
Gruß Marcus
[eisfair-Team]
Lesen Sie weiter auf narkive:
Loading...