Packages kept back: openmediavault

  • Hi all,


    Trying to run omv-upgrade on my box, it shows me the following:


    Code
    The following packages have been kept back:
      openmediavault openmediavault-omvextrasorg


    Doing some digging, found out this is the reason:


    Running

    apt list openmediavault -a


    Code
    Listing... Done
    openmediavault/shaitan,shaitan 6.4.0-3 all [upgradable from: 6.3.12-1]
    openmediavault/now 6.3.12-1 all [installed,upgradable to: 6.4.0-3]

    apt-get install openmediavault openmediavault-omvextrasorg



    Sooo it seems my systemd is newer than allowed??

    Is there any way to fix this?

    • Offizieller Beitrag

    Quite possibly related to this.

  • I came to write, basicly the same thing. So What do we do now ?


    My Screen exports are as below;

    Code
    omv-upgrade
    ......
    ....
    ....
    ....
    The following packages have been kept back:
    openmediavault openmediavault-borgbackup openmediavault-diskstats openmediavault-filebrowser openmediavault-omvextrasorg
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


    Code
    root@tas:~# apt list openmediavault -a
    Listing... Done
    openmediavault/shaitan,shaitan 6.4.1-2 all [upgradable from: 6.0.42-2]
    openmediavault/now 6.0.42-2 all [installed,upgradable to: 6.4.1-2]
  • is it safe and possible to downgrade


    libnss-systemd and libnss-resolve to "247.3-7+deb11u2" from "252.5-2~bpo11+1"


    I just notice somehow I have both versions of both systemd-* .

  • and I also noticed that when I listed components start with libnss- I just see the versions wich we needed.



    • Offizieller Beitrag

    I just notice somehow I have both versions of both systemd-* .

    Installed: (none)

    You don't actually have either one installed. apt-cache policy shows you information about the packages that would be candidates for installation with apt install and also tells you that it is NOT installed.

    If you read the thread I linked you can see the reason for this.

    In my case I solved it (I think) by activating backports. The OMV core project cannot recommend this, although when you install omv-extras it is common for backports to be enabled in many cases.

    So what I would do is enable backports and hit apt clean in the GUI. Then update and check again if that package has been installed.

  • You don't actually have either one installed. apt-cache policy shows you information about the packages that would be candidates for installation with apt install and also tells you that it is NOT installed.

    If you read the thread I linked you can see the reason for this.

    In my case I solved it (I think) by activating backports. The OMV core project cannot recommend this, although when you install omv-extras it is common for backports to be enabled in many cases.

    So what I would do is enable backports and hit apt clean in the GUI. Then update and check again if that package has been installed.

    Using the debian backports repos I get the same problem as that package appears as not existing:

    deb http://deb.debian.org/debian bullseye-backports main contrib non-free

    deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free


    Error:


    root@openmediavault:~# apt-get -f install

    Leyendo lista de paquetes... Hecho

    Creando árbol de dependencias... Hecho

    Leyendo la información de estado... Hecho

    Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.

    libmemcachedutil2 proftpd-basic proftpd-core proftpd-mod-crypto proftpd-mod-vroot proftpd-mod-wrap

    Utilice «apt autoremove» para eliminarlos.

    0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 2 no actualizados.

    2 no instalados del todo o eliminados.

    Se utilizarán 0 B de espacio de disco adicional después de esta operación.

    Configurando libnss-resolve:amd64 (247.3-7+deb11u2) ...

    First installation detected...

    Checking NSS setup...

    Failed to enable unit: Unit file /etc/systemd/system/systemd-resolved.service is masked.

    dpkg: error al procesar el paquete libnss-resolve:amd64 (--configure):

    el subproceso instalado paquete libnss-resolve:amd64 script post-installation devolvió el código de salida de error 1

    dpkg: problemas de dependencias impiden la configuración de openmediavault:

    openmediavault depende de libnss-resolve; sin embargo:

    El paquete `libnss-resolve:amd64' no está configurado todavía.


    dpkg: error al procesar el paquete openmediavault (--configure):

    problemas de dependencias - se deja sin configurar

    Procesando disparadores para libc-bin (2.31-13+deb11u6) ...

    Se encontraron errores al procesar:

    libnss-resolve:amd64

    openmediavault

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



    sorry but my system is in Spanish.

  • Do you use Pihole or installed anything outside the OMV control?

    Failed to enable unit: Unit file /etc/systemd/system/systemd-resolved.service is masked.

    Use it at your own risk:


    sudo systemctl unmask systemd-resolved

    sudo systemctl enable systemd-resolved

    sudo systemctl start systemd-resolved

    • Offizieller Beitrag

    Using the debian backports repos I get the same problem

    See if this helps you.

  • See if this helps you.

    Thank you my friend. Another thing I don't understand from the help is, once the process is executed, which is the repository that I must deactivate?

    • Offizieller Beitrag

    Thank you my friend

    Did it work for you?

    which is the repository that I must deactivate?

    In the GUI in omv-extras disable backports.

  • Did it work for you?

    In the GUI in omv-extras disable backports.

    I fixed it by using the guide somewhat different.

    See in my case, systemd is already newer than what the libnss-resolve and libnss-systemd require (247 vs 252).


    So I enabled backports, went into CLI and did an apt-update (which is probably not necessary but ok).

    After that, I took a leap of faith and ran the following:

    apt install -t bullseye-backports libnss-resolve libnss-systemd



    After this, ran omv-upgrade and now it's working!


    Now let's hope my DNS stuff also still works :D

    • Offizieller Beitrag

    I fixed

    I celebrate it.

    apt install -t bullseye-backports libnss-resolve libnss-systemd

    Yes sir, a leap of faith :)

    Now let's hope my DNS stuff also still works

    Regarding that, the next post in that thread mentions this, take a look. https://www.openmediavault.org/?p=3492

  • Fietspomp

    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!