Latest OMV 4.x update failed on raspberry pi 3b+

    • OMV 4.x
    • Resolved
    • Update

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

    • Latest OMV 4.x update failed on raspberry pi 3b+

      Hi,

      I tried updating the latest updates through "Update Management" and got an error same as below except it did not say some of the packages are already the newest version. Then upgraded via command line. Did not have any issues here, until I refreshed 'Update Management'. All the updates were still listed, the ones installed via command line showed as 0 bytes. Then I tried upgrading again and go the below error. Then I tried upgrading the ones the error message says that needs to be installed and that removed OMV :( . Luckily had a backup. So no issues there :) .

      My question is, did I do the updates wrong? can't I simply upgrade via "Update Management" or via the command line using sudo apt-get update and then apt-get upgrade?




      Source Code

      1. Building dependency tree...
      2. Reading state information...
      3. avahi-daemon is already the newest version (0.6.32-2).
      4. avahi-daemon set to manually installed.
      5. libnss-mdns is already the newest version (0.10-8).
      6. libnss-mdns set to manually installed.
      7. omvextras-common is already the newest version (4.0.1).
      8. omvextras-common set to manually installed.
      9. openmediavault-flashmemory is already the newest version (4.1).
      10. openmediavault-omvextrasorg is already the newest version (4.1.10).
      11. openmediavault-docker-gui is already the newest version (4.0.1).
      12. libdns1100 is already the newest version (1:9.11.3+dfsg-2~bpo9+1).
      13. openmediavault is already the newest version (4.1.9).
      14. openmediavault-netatalk is already the newest version (4.0.7-1).
      15. Some packages could not be installed. This may mean that you have
      16. requested an impossible situation or if you are using the unstable
      17. distribution that some required packages have not yet been created
      18. or been moved out of Incoming.
      19. The following information may help to resolve the situation:
      20. The following packages have unmet dependencies:
      21. bind9-host : Depends: libidn2-0 (>= 2.0.0) but 0.16-1+deb9u1 is to be installed
      22. dnsutils : Depends: libidn2-0 (>= 2.0.0) but 0.16-1+deb9u1 is to be installed
      23. libdns1100 : Depends: libisc169 (= 1:9.11.3+dfsg-2~bpo9+1) but 1:9.11.4+dfsg-4~bpo9+1 is to be installed
      24. E
      25. :
      26. Unable to correct problems, you have held broken packages.
      27. <<< *************************************
      28. >>> *************** Error ***************
      29. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" install avahi-daemon bind9-host dnsutils libbind9-160 libdns1100 libdns1102 libfstrm0 libirs160 libisc169 libisccc160 libisccfg160 liblwres160 libnss-mdns libprotobuf-c1 omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg 2>&1' with exit code '100': Reading package lists...
      Display All
    • dhanushkak wrote:

      Kind Reminder to anyone out there. I am still unable to update anything at all thats on Update Management. Please advise.

      apt-get autoclean
      apt-get autoremove
      apt-get -f install
      apt-get update
      apt-get upgrade
      dpkg --configure -a
      apt-get install -f
      apt-get -u dist-upgrade




      omv-firstaid (8,9,10)
      I'm not an expert. I'm just a tourist here.

      - ODROID-HC1 (Samsung Exynos5422, 2GB LPDDR3 RAM, Gigabit Ethernet)
      - Sandisk Ultra 16GB A1 "SDSQUAR-016G-GN6" (btrfs)
      - Samsung SpinPoint M8 1TB (ext4)
      - OMV 4.1.11 / ARMBIAN 5.60 + Kernel 4.14.69
    • Shell-Script

      1. root@ibiplex:~# apt-get -u dist-upgrade
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Calculating upgrade... Done
      6. The following packages were automatically installed and are no longer required:
      7. acl acpid beep collectd collectd-core cron-apt dmeventd docker-ce folder2ram fontconfig fontconfig-config fonts-dejavu-core gdisk imagemagick-6-common jfsutils jq libaio1 libatalk17 libavahi-client3 libavahi-common-data
      8. libavahi-common3 libavahi-core7 libcairo2 libcrack2 libcups2 libdatrie1 libdbi1 libdevmapper-event1.02.1 libfftw3-double3 libfile-copy-recursive-perl libfile-slurp-perl libfontconfig1 libfreetype6 libgd3 libgraphite2-3 libharfbuzz0b
      9. libjavascript-minifier-xs-perl libjbig0 libjpeg62-turbo libjq1 libjs-extjs6 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl liblcms2-2 libldb1 liblocale-po-perl liblqr-1-0 libltdl7 liblvm2app2.2 liblvm2cmd2.02 libmagic-mgc
      10. libmagic1 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmemcached11 libmemcachedutil2 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter
      11. libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libonig4 libopenjp2-7 libossp-uuid16 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0
      12. libpython2.7 libreadline5 librrd8 libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libtiff5 libwbclient0 libwebp6 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxpm4 libxrender1 libxslt1.1
      13. lvm2 mdadm monit netatalk nfs-kernel-server nginx nginx-common nginx-full php-bcmath php-cgi php-common php-curl php-fpm php-imagick php-mbstring php-pam php-symfony-class-loader php-symfony-polyfill-apcu php-xml php7.0-bcmath
      14. php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-json php7.0-mbstring php7.0-opcache php7.0-readline php7.0-xml pm-utils proftpd-basic proftpd-mod-vroot python-crypto python-dnspython python-ldb python-samba
      15. python-talloc python-tdb python3-dialog python3-lxml python3-natsort python3-netifaces python3-pyudev python3-six quota quotatool rrdcached rrdtool samba samba-common samba-common-bin samba-libs samba-vfs-modules sdparm smartmontools
      16. socat tdb-tools update-inetd uuid xfsprogs xmlstarlet
      17. Use 'apt autoremove' to remove them.
      18. The following packages will be REMOVED:
      19. avahi-daemon bind9-host dnsutils libdns1100 libnss-mdns omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg
      20. The following NEW packages will be installed:
      21. libdns1102 libfstrm0 libprotobuf-c1
      22. The following packages will be upgraded:
      23. libbind9-160 libirs160 libisc169 libisccc160 libisccfg160 liblwres160
      24. 6 upgraded, 3 newly installed, 11 to remove and 0 not upgraded.
      25. Need to get 1,505 kB of archives.
      26. After this operation, 12.9 MB disk space will be freed.
      27. Do you want to continue? [Y/n] n
      28. Abort.
      Display All
      Hey Mr.Grape

      Thank you for the response.

      That's what I got for the last step. The line im concerned about is

      The following packages will be REMOVED: avahi-daemon bind9-host dnsutils libdns1100 libnss-mdns omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg

      Is it safe to proceed? Im worried it will remove OMV
    • dhanushkak wrote:

      Shell-Script

      1. root@ibiplex:~# apt-get -u dist-upgrade
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Calculating upgrade... Done
      6. The following packages were automatically installed and are no longer required:
      7. acl acpid beep collectd collectd-core cron-apt dmeventd docker-ce folder2ram fontconfig fontconfig-config fonts-dejavu-core gdisk imagemagick-6-common jfsutils jq libaio1 libatalk17 libavahi-client3 libavahi-common-data
      8. libavahi-common3 libavahi-core7 libcairo2 libcrack2 libcups2 libdatrie1 libdbi1 libdevmapper-event1.02.1 libfftw3-double3 libfile-copy-recursive-perl libfile-slurp-perl libfontconfig1 libfreetype6 libgd3 libgraphite2-3 libharfbuzz0b
      9. libjavascript-minifier-xs-perl libjbig0 libjpeg62-turbo libjq1 libjs-extjs6 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl liblcms2-2 libldb1 liblocale-po-perl liblqr-1-0 libltdl7 liblvm2app2.2 liblvm2cmd2.02 libmagic-mgc
      10. libmagic1 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmemcached11 libmemcachedutil2 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter
      11. libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libonig4 libopenjp2-7 libossp-uuid16 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0
      12. libpython2.7 libreadline5 librrd8 libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libtiff5 libwbclient0 libwebp6 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxpm4 libxrender1 libxslt1.1
      13. lvm2 mdadm monit netatalk nfs-kernel-server nginx nginx-common nginx-full php-bcmath php-cgi php-common php-curl php-fpm php-imagick php-mbstring php-pam php-symfony-class-loader php-symfony-polyfill-apcu php-xml php7.0-bcmath
      14. php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-json php7.0-mbstring php7.0-opcache php7.0-readline php7.0-xml pm-utils proftpd-basic proftpd-mod-vroot python-crypto python-dnspython python-ldb python-samba
      15. python-talloc python-tdb python3-dialog python3-lxml python3-natsort python3-netifaces python3-pyudev python3-six quota quotatool rrdcached rrdtool samba samba-common samba-common-bin samba-libs samba-vfs-modules sdparm smartmontools
      16. socat tdb-tools update-inetd uuid xfsprogs xmlstarlet
      17. Use 'apt autoremove' to remove them.
      18. The following packages will be REMOVED:
      19. avahi-daemon bind9-host dnsutils libdns1100 libnss-mdns omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg
      20. The following NEW packages will be installed:
      21. libdns1102 libfstrm0 libprotobuf-c1
      22. The following packages will be upgraded:
      23. libbind9-160 libirs160 libisc169 libisccc160 libisccfg160 liblwres160
      24. 6 upgraded, 3 newly installed, 11 to remove and 0 not upgraded.
      25. Need to get 1,505 kB of archives.
      26. After this operation, 12.9 MB disk space will be freed.
      27. Do you want to continue? [Y/n] n
      28. Abort.
      Display All
      Hey Mr.Grape

      Thank you for the response.

      That's what I got for the last step. The line im concerned about is

      The following packages will be REMOVED:

      avahi-daemon bind9-host dnsutils libdns1100 libnss-mdns omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg


      Is it safe to proceed? Im worried it will remove OMV

      What a horror. I will say No!
      The question is, do you still have a problem what you had?
      I'm not an expert. I'm just a tourist here.

      - ODROID-HC1 (Samsung Exynos5422, 2GB LPDDR3 RAM, Gigabit Ethernet)
      - Sandisk Ultra 16GB A1 "SDSQUAR-016G-GN6" (btrfs)
      - Samsung SpinPoint M8 1TB (ext4)
      - OMV 4.1.11 / ARMBIAN 5.60 + Kernel 4.14.69
    • dhanushkak wrote:

      Is it safe to proceed? Im worried it will remove OMV
      NO. It says it is going to remove OMV.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • First off, just in case clear your browser cache, I've had enough of my own issues only to realise it's the browser cache!!

      login via ssh and type apt list --upgradable (you don't need to use sudo as you login as root, and apt no longer requires -get)

      login into omv gui, under update management that list should match the one you typed in the cli
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      apt no longer requires -get
      apt and apt-get are not the same thing.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • geaves wrote:

      now I'm confused because I stopped using apt-get some time ago after reading this perhaps I should have worded it better
      You can continue to use either. I was just pointing out that they aren't the same thing. I don't like apt. It reminds me of yum and is slow. I don't need fancy progress bars and such. OMV's code always uses apt-get.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Thanks for the responses all.

      This is what I see in the list.

      Source Code

      1. root@ibiplex:~# apt list --upgradable
      2. Listing... Done
      3. bind9-host/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9. 11.3+dfsg-2~bpo9+1]
      4. dnsutils/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.11 .3+dfsg-2~bpo9+1]
      5. hostapd/stretch 2:2.6-4~armbian5.38+1 armhf [upgradable from: 2:2.6-4~armbian5.3 8+1]
      6. libbind9-160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1: 9.11.3+dfsg-2~bpo9+1]
      7. libirs160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.1 1.3+dfsg-2~bpo9+1]
      8. libisc169/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.1 1.3+dfsg-2~bpo9+1]
      9. libisccc160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9 .11.3+dfsg-2~bpo9+1]
      10. libisccfg160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1: 9.11.3+dfsg-2~bpo9+1]
      11. liblwres160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9 .11.3+dfsg-2~bpo9+1]
      Display All


      However on Update Management I see these plus a whole lot of other packages also I still do have the original issue as well, which is not being able to upgrade via Update Management
    • geaves wrote:

      why does apt list --upgradable return a list but apt-get list --upgradable returns an error, because I really don't know....is this different behaviour between apt and apt-get commands?
      apt-get list --upgradable isn't something that exists as far as I know. I would use apt-get -s upgrade
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • dhanushkak wrote:

      Thanks for the responses all.

      This is what I see in the list.

      Source Code

      1. root@ibiplex:~# apt list --upgradable
      2. Listing... Done
      3. bind9-host/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9. 11.3+dfsg-2~bpo9+1]
      4. dnsutils/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.11 .3+dfsg-2~bpo9+1]
      5. hostapd/stretch 2:2.6-4~armbian5.38+1 armhf [upgradable from: 2:2.6-4~armbian5.3 8+1]
      6. libbind9-160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1: 9.11.3+dfsg-2~bpo9+1]
      7. libirs160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.1 1.3+dfsg-2~bpo9+1]
      8. libisc169/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9.1 1.3+dfsg-2~bpo9+1]
      9. libisccc160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9 .11.3+dfsg-2~bpo9+1]
      10. libisccfg160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1: 9.11.3+dfsg-2~bpo9+1]
      11. liblwres160/stretch-backports 1:9.11.4+dfsg-4~bpo9+1 armhf [upgradable from: 1:9 .11.3+dfsg-2~bpo9+1]
      Display All

      However on Update Management I see these plus a whole lot of other packages also I still do have the original issue as well, which is not being able to upgrade via Update Management
      Did you clear your browser cache before logging into the GUI?

      You could also try omv-firstaid from the cli...I've not used this :) but I would try option 9 first, if that doesn't change anything then try 10.

      The apt list --upgradable should be identical to the Update Manager....if none of the above works, I would think something is corrupted, and you may have to reinstall.

      BTW have you checked the SD Card by running H2testw
      Raid is not a backup! Would you go skydiving without a parachute?
    • New

      Hi All,

      I had to re-install everything as the updates I got after this kept appearing as well while some of them actually never get upgraded. Then one day the rpi just stopped booting.

      I downloaded the latest OMV image and used it to set it all up again. Now everything seems fine :)

      Thank yo all.