rpi - Failing to upgrade from 6.0.46-1 (Shaitan) to 6.1.*

  • I have tried many different apt commands, but still failing to get to the latest omv version....

    sudo apt upgrade (which got me thus far to 6.0.46), keeps giving me the following output:


    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    Calculating upgrade... Done

    The following packages have been kept back:

    openmediavault

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


    Any assistance would be greatly appreciated!

  • I have tried many different apt commands,

    Why use apt commands?

    Use sudo omv-upgrade and post the output of it inside a codebox (</> symbol)

    The following packages have been kept back:

    openmediavault

    If openmediavault is held back, maybe you have some Yellowbanner to accept changes on the GUI?


    I've never seen omv being held back, only kernel-headers and other awkward stuff.

  • Thanks Soma.

    Code
    Reading package lists... Done                                                 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      openmediavault
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


    Zitat

    If openmediavault is held back, maybe you have some Yellowbanner to accept changes on the GUI?

    I checked the GUI - nothing there.


    If it's helping, when I type:

    apt-cache policy openmediavault


    I do get:

    Code
    openmediavault:
      Installed: 6.0.46-1
      Candidate: 6.1.0-1
      Version table:
         6.1.0-1 500
            500 http://packages.openmediavault.org/public shaitan/main armhf Packages
            500 https://openmediavault.github.io/packages shaitan/main armhf Packages
     *** 6.0.46-1 100
            100 /var/lib/dpkg/status
  • Could it have something to do with a plugin I recently installed (I think the last successful upgrade was before installing the plugin - rsnapshot)?

    Shouldn't do any interference but not sure.


    Update:

    I ran sudo omv-upgrade this morning and a bunch of packages got updated just fine. Only the omv package is being held back at the moment

    Leave it for now. The system will still work normally.
    Better to wait for a better experienced person answer.


    I haven't tried to update my Pis yet but will see what happens when I do.

  • Just updated one of the Pis, and there were no errors whatsoever.

    Prior to run omv-upgrade, the apt cache policy openmediavault shown the same has you have above.


    Another command you can use is:

    sudo apt list --upgradable -a


    What you can try is run omv-aptclean and then, try again.

  • The output of sudo apt list --upgradable -a:


    Code
    Listing... Done
    openmediavault/shaitan,shaitan 6.1.0-1 all [upgradable from: 6.0.46-1]
    openmediavault/now 6.0.46-1 all [installed,upgradable to: 6.1.0-1]

    I ran omv-aptclean and then omv-upgrade again.

    It did update a few packages, but not the one I'm interested in... :)


    Code
    The following packages have been kept back:
      openmediavault
    The following packages will be upgraded:
      libcamera-apps libcamera-tools libcamera0 rpi-eeprom
    4 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 3027 kB of archives.
  • It did update a few packages, but not the one I'm interested in...

    Maybe there's a "Reboot Required" pending...

    If you have the Dashboard Widget "System Information", does it show anything?


    Usually a marking unde the system time IIRC.

  • This is how my System Information widget looks like:



    However, I think votdev is onto something.


    Can you fix it by running apt-get install openmediavault or apt-get --with-new-pkgs upgrade?

    When I ran apt-get install openmediavault I got:

    Does that mean anything to anyone here? :)

  • Does that mean anything to anyone here?

    And the other command?
    sudo apt-get --with-new-pkgs upgrade

  • libnss-systemd : Depends: systemd (= 247.3-7+rpi1+deb11u1) but 251.3-1~bpo11+1 is to be installed

    Ok, it's trying to update that package with a backports version of it.

    You can try to disable backports on omv-extras settings for now and run only sudo apt update to see what it says.

  • You can try to disable backports on omv-extras settings for now and run only sudo apt update to see what it says.

    After disabling it, the output of sudo apt update is:

    Should I go ahead with sudo apt upgrade? sudo omv-upgrade?

  • apt list --upgradable

    sudo apt list --upgradable -a


    sudo omv-upgrade

  • sudo apt list --upgradable -a

    Code
    Listing... Done
    openmediavault/shaitan,shaitan 6.1.0-1 all [upgradable from: 6.0.46-1]
    openmediavault/now 6.0.46-1 all [installed,upgradable to: 6.1.0-1]


    sudo omv-upgrade



    sudo apt-get install openmediavault

  • votdev

    Way to fix it was found. Maybe it helps you sort out what was wrong.


    TamirW

    Edit the initial post and set it to "Resolved"

  • TamirW

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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