Posts by cwalsh

    I attempted to upgrade my omv6 installation using "sudo omv-release-upgrade". At the end of the output the following error was reported:

    "Errors were encountered while processing: grub-pc

    E: Sub-process /usr/bin/dpkg returned an error code (1)"

    setup@openmediavault:/home$ sudo apt-get install linux-image-amd64

    [sudo] password for setup:

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    linux-image-amd64 is already the newest version (5.10.106-1).

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Yes, here is the output:

    setup@openmediavault:/etc/openmediavault$ sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    1 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Setting up grub-pc (2.04-20) ...

    Installing for i386-pc platform.

    Installation finished. No error reported.

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done

    setup@openmediavault:/etc/openmediavault$ sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    1 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Setting up grub-pc (2.04-20) ...

    Installing for i386-pc platform.

    Installation finished. No error reported.

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done


    Is there a log generated by omv-release-upgrade?


    Thank you!!

    setup@openmediavault:/var/log$ sudo update-grub

    [sudo] password for setup:

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done

    setup@openmediavault:/var/log$ dpkg -l | grep grub

    ii grub-common 2.04-20 amd64 GRand Unified Bootloader (common files)

    iF grub-pc 2.04-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)

    ii grub-pc-bin 2.04-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)

    ii grub2-common 2.04-20 amd64 GRand Unified Bootloader (common files for version 2)

    At the end of output from omv-release-upgrade:

    Errors were encountered while processing:

    grub-pc

    W: --force-yes is deprecated, use one of the options starting with --allow instead.

    E: Sub-process /usr/bin/dpkg returned an error code(1)

    Before running omv-release-upgrade, verified usrmerge is installed, then ran omv-upgrade, then rebooted.

    The only error I saw is the grub-pc error.

    I opened the web interface, OMV 6.0.30-1 is running.

    Applied the changes.

    Kernel is 5.10.0-0-bpo.12-amd64 (running on Xeon).

    Shares are accessible.

    What is recommended?