omv-firstaid: command not found

    • OMV 3.x
    • Upgrade 2.x -> 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • omv-firstaid: command not found

      Hi, after update from 2.2.14 to 3.0.89 I have problems with webgui.
      I tried some solutions but still webgui don't work.

      I tried: omv-firstaid , I've got information:

      -bash: omv-firstaid: command not found

      I tried also: apt-get install --reinstall openmediavault , I've got information:

      Display Spoiler

      root@MyCloud:~# apt-get install --reinstall openmediavault
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      consolekit : Breaks: udev (< 204-1) but 175-7.2 is to be installed
      openmediavault : Depends: systemd-sysv but it is not going to be installed
      Depends: samba-vfs-modules but it is not going to be installed
      Depends: pciutils but it is not going to be installed
      Depends: python3-pyudev but it is not going to be installed
      Depends: python3-natsort but it is not going to be installed
      Depends: jq but it is not going to be installed
      Depends: python3-netifaces but it is not going to be installed
      Depends: apt-transport-https but it is not going to be installed
      Depends: python3-lxml but it is not going to be installed
      Depends: btrfs-tools but it is not going to be installed or
      btrfs-progs but it is not installable
      systemd : Depends: udev (>= 208-8) but 175-7.2 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      when I use: apt-get -f install , I've got

      Display Spoiler

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages were automatically installed and are no longer required:
      acl acpi-support-base acpid augeas-lenses avahi-daemon beep bind9-host collectd collectd-core colord
      consolekit cpufrequtils cron-apt dconf-gsettings-backend dconf-service dmeventd ethtool gconf-service
      gconf2 gconf2-common gdisk geoip-database hdparm hicolor-icon-theme ifenslave-2.6 iso-codes jfsutils
      libasn1-8-heimdal libasound2 libatk1.0-0 libatk1.0-data libaugeas0 libavahi-client3 libavahi-common-data
      libavahi-common3 libavahi-core7 libbind9-80 libcairo-gobject2 libcanberra-gtk3-0 libcanberra-gtk3-module
      libcanberra0 libcap2-bin libck-connector0 libclass-isa-perl libcolord1 libcommon-sense-perl libcpufreq0
      libcryptsetup4 libcups2 libcurl3-gnutls libdaemon0 libdbi1 libdconf0 libdevmapper-event1.02.1 libdns88
      libesmtp6 libexif12 libffi5 libfile-copy-recursive-perl libgconf-2-4 libgd2-xpm libgdk-pixbuf2.0-0
      libgdk-pixbuf2.0-common libgeoip1 libgnutls-deb0-28 libgphoto2-2 libgphoto2-l10n libgphoto2-port0
      libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2 libhal1 libhcrypto4-heimdal
      libhdb9-heimdal libheimbase1-heimdal libhogweed2 libhx509-5-heimdal libicu48 libieee1284-3 libisc84
      libisccc80 libisccfg82 libjasper1 libjavascript-minifier-xs-perl libjpeg8 libjs-extjs5 libjson-perl
      libjson-xs-perl libkrb5-26-heimdal liblcms2-2 libldb1 liblocale-po-perl libltdl7 liblua5.1-0
      liblvm2cmd2.02 liblwres80 liblzo2-2 libmemcached10 libmodbus5 libmysqlclient18 libnetcf1 libnettle4
      libnl-3-200 libnl-genl-3-200 libnl1 libnotify4 libnss-mdns libntdb1 libogg0 libonig2 libopenipmi0
      liboping0 libossp-uuid16 libpam-ck-connector libpango1.0-0 libpcap0.8 libpkcs11-helper1
      libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpq5 libprotobuf-c0 libpython2.7
      libqdbm14 librabbitmq0 libreadline5 libroken18-heimdal librrd4 librtmp0 libsane libsane-common
      libsane-extras libsane-extras-common libssh2-1 libswitch-perl libsystemd-login0 libtalloc2 libtasn1-6
      libtdb1 libtevent0 libtiff4 libtokyocabinet9 libtokyotyrant3 libupsclient1 libusb-1.0-0 libv4l-0
      libv4lconvert0 libvarnishapi1 libvirt0 libvorbis0a libvorbisfile3 libwbclient0 libwind0-heimdal
      libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxrandr2 libxslt1.1 libyajl2
      lsb-release lvm2 monit mysql-common nfs-kernel-server nginx nginx-common nginx-full notification-daemon
      openvpn php-json-schema php-pear php5-cgi php5-cli php5-fpm php5-pam pm-utils policykit-1 proftpd-basic
      proftpd-mod-vroot python-apt-common python-crypto python-dnspython python-ldb python-ntdb python-samba
      python-talloc python-tdb python3-apt python3.2 python3.2-minimal quota quotatool rrdcached rrdtool rsync
      samba samba-common samba-common-bin samba-dsdb-modules samba-libs sane-utils sdparm smartmontools snmpd
      socat sudo systemd tdb-tools tftpd-hpa ttf-dejavu ttf-dejavu-core ttf-dejavu-extra update-inetd uuid
      wpasupplicant xfsprogs xmlstarlet
      Use 'apt-get autoremove' to remove them.
      The following extra packages will be installed:
      udev
      The following packages will be upgraded:
      udev
      1 upgraded, 0 newly installed, 0 to remove and 242 not upgraded.
      2 not fully installed or removed.
      Need to get 0 B/853 kB of archives.
      After this operation, 4,981 kB of additional disk space will be used.
      Do you want to continue [Y/n]? Y
      Preconfiguring packages ...
      (Reading database ... 47876 files and directories currently installed.)
      Preparing to unpack .../udev_215-17+deb8u7_armhf.deb ...
      Since release 198, udev requires support for the following features in
      the running kernel:

      - inotify(2) (CONFIG_INOTIFY_USER)
      - signalfd(2) (CONFIG_SIGNALFD)
      - accept4(2)
      - open_by_handle_at(2) (CONFIG_FHANDLE)
      - timerfd_create(2) (CONFIG_TIMERFD)
      - epoll_create(2) (CONFIG_EPOLL)

      Please upgrade your kernel before or while upgrading udev.

      AT YOUR OWN RISK, you can force the installation of this version of udev
      WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
      AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
      There is always a safer way to upgrade, do not try this unless you
      understand what you are doing!


      dpkg: error processing archive /var/cache/apt/archives/udev_215-17+deb8u7_armhf.deb (--unpack):
      subprocess new pre-installation script returned error exit status 1
      update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
      update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
      Errors were encountered while processing:
      /var/cache/apt/archives/udev_215-17+deb8u7_armhf.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)



      dpkg -l | grep openmediavault give :

      rc openmediavault 3.0.89 all Open network attached storage solution
      rc openmediavault-omvextrasorg 2.13.9 all OMV-Extras.org Package Repositories for OpenMediaVault


      Thanks for help.

      The post was edited 1 time, last by kajzii ().

    • Hi
      your kernel and omvextrasorg will not fit
      for first

      Source Code

      1. apt-get remove openmediavault-omvextrasorg
      2. wget http://omv-extras.org/openmediavault-omvextrasorg_latest_all3.deb
      3. dpkg -i openmediavault-omvextrasorg_latest_all3.deb
      4. apt-get update
      forum-bpi.de Visit on and help us, The Germany Forum :thumbsup:
      github.com/Wolf2000Pi
      Banana Pi /Armbian 3.4.109 / Openmediavault 2.x
      Banana Pi /Armbian 4.11.5-sunxi / Openmediavault 3.0.xx (Test)
      Dell Inspiron One 2205 | Openmediavault 3.0.xx / Kernel 4.7 (Test)
    • I did, what You wrote, pls. see results:
      1. apt-get remove openmediavault-omvextrasorg
      Display Spoiler

      root@MyCloud:~# apt-get remove openmediavault-omvextrasorg
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      consolekit : Breaks: udev (< 204-1) but 175-7.2 is to be installed
      systemd : Depends: udev (>= 208-8) but 175-7.2 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).




      2. wget omv-extras.org/openmediavault-omvextrasorg_latest_all3.deb
      3. dpkg -i openmediavault-omvextrasorg_latest_all3.deb

      Display Spoiler

      root@MyCloud:~# dpkg -i openmediavault-omvextrasorg_latest_all3.deb
      (Reading database ... 47980 files and directories currently installed.)
      Preparing to unpack openmediavault-omvextrasorg_latest_all3.deb ...
      Unpacking openmediavault-omvextrasorg (3.4.29) over (3.4.29) ...
      /var/lib/dpkg/info/openmediavault-omvextrasorg.postrm: 23: .: Can't open /usr/share/openmediavault/scripts/helper-functions
      dpkg: warning: subprocess old post-removal script returned error exit status 2
      dpkg: trying script from the new package instead ...
      /var/lib/dpkg/tmp.ci/postrm: 23: .: Can't open /usr/share/openmediavault/scripts/helper-functions
      dpkg: error processing archive openmediavault-omvextrasorg_latest_all3.deb (--install):
      subprocess new post-removal script returned error exit status 2
      /var/lib/dpkg/tmp.ci/postrm: 23: .: Can't open /usr/share/openmediavault/scripts/helper-functions
      dpkg: error while cleaning up:
      subprocess new post-removal script returned error exit status 2
      Errors were encountered while processing:
      openmediavault-omvextrasorg_latest_all3.deb



      4. apt-get update

      Display Spoiler

      root@MyCloud:~# apt-get update
      Ign file: InRelease
      Ign file: Release.gpg
      Ign file: Release
      Ign file: Translation-en_US
      Ign file: Translation-en
      Hit packages.openmediavault.org erasmus InRelease
      Hit security.debian.org jessie/updates InRelease
      Ign ftp.ru.debian.org jessie InRelease
      Hit ftp.ru.debian.org jessie Release.gpg
      Hit ftp.ru.debian.org jessie Release
      Hit packages.openmediavault.org erasmus/main armhf Packages
      Ign packages.openmediavault.org erasmus/main Translation-en_US
      Hit security.debian.org jessie/updates/main Sources
      Ign packages.openmediavault.org erasmus/main Translation-en
      Hit security.debian.org jessie/updates/main armhf Packages
      Hit security.debian.org jessie/updates/main Translation-en
      Hit ftp.ru.debian.org jessie/main Sources
      Hit ftp.ru.debian.org jessie/main armhf Packages
      Hit ftp.ru.debian.org jessie/main Translation-en
      Reading package lists... Done


      after that reboot

      dpkg -l | grep openmediavault give :

      root@MyCloud:~# dpkg -l | grep openmediavault
      rc openmediavault 3.0.89 all Open network attached storage solution
      iHR openmediavault-omvextrasorg 3.4.29 all OMV-Extras.org Package Repositories for OpenMediaVault

      Thanks, what next.
    • I have:

      root@MyCloud:~# dpkg --configure -a
      Setting up libperl4-corelibs-perl (0.003-1) ...
      dpkg: dependency problems prevent configuration of systemd:
      systemd depends on udev (>= 208-8); however:
      Version of udev on system is 175-7.2.

      dpkg: error processing package systemd (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing: