Setup of OMV6 on Odroid HC2 - systemctl preset failed on systemd-networkd.service

  • Hi all, I managed to fix the following problem with apt install -f but thought I'd report here...


    I installed Armbian on my Odroid HC2, did apt update and updgrade, then started the OMV6 install using wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash


    All went OK until the end, when there was an error (systemctl preset failed on systemd-networkd.service) which prevented setup of the openmediavault (6.0.46-1) package (no errors before this):

    I ran apt install -f and it seems to have resolved it, system works fine as far as I can tell.

    OMV 6 on Raspberry Pi 3/4/5, Odroid C2/HC2 and three cobbled together x64 boxes running Snapraid.

  • Hi Everyone,


    I'm going to intall OMV 6 on my old faithfull BananaPI M1. I followed the instructions of the Armbian Bullseye (Bananapi_bullseye_5.15.48)

    I have got the same error like NothingNowhere's got. I tried to run the apt install -f commend wihtout success


    Sometimes I got this error too

    Code
    Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-down.service is masked.
    /usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-down.service: No such file or directory

    I am not familiar in Linux so I would appreciate a solution for dummies. :)

  • Did you abort a previous installation or reboot the system during that phase? I'm really wondering how your problem can happen. I'm now working with Ubuntu/Debian since 18 years and never faced such problems. I really want to understand how you and other users make that happen.

    Hi I followed the steps of https://wiki.omv-extras.org/do…seye_install#introduction.


    I don't know what I do wrong. So I attach (Fresh_install_trace.txt) the SSH commands of a fresh new image install.

    You may see something critical about the process what I don't.


    Thank you for advance.

  • Could you please run ls -alh /lib/systemd/system/*networkd* and ls -alh /etc/systemd/system/ and post the output. Maybe there is a problem with this unit file on Armbian equal to https://priit.joeruut.com/arch…unmask-command-fails.html.

    Please also run systemctl status systemd-networkd.service and post the output.

    Here are the outputs of the commands above.

  • Can you install if you run systemctl unmask systemd-networkd.service before? If unmasking fails, simply run rm -f /etc/systemd/system/systemd-networkd.service.

    The systemctl unmask systemd-networkd.service command solved the problem. I have a running OMV :)

    I have tried to unmask the service before but I may used different linux's syntax :|

    Thank you.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!