omv 1.9 broken after attempted upgrade from webgui

  • Now I can't get into the webgui any more.
    I do have ssh access though.
    Tried the usual apt commands but just can't make any progress.
    when I do

    Code
    apt-get install openmediavault


    I get


    Is this fixable or do I just reinstall from cd?
    Thanks for any help

  • Code
    root@openmediavault:~# cat /etc/debian_version
    8.1


    Also tried with aptitude.
    This is what I get


  • Ok, thanks for trying.
    But I've managed to fix it by following this page
    http://ispire.me/downgrade-fro…le-from-jessie-to-wheezy/
    In particular, things started happening after I did what was suggested in post by Todd, purging Python and reinstalling it.
    After that I had to run several rounds of apt-get upgrade and reboots.
    Then finally

    Code
    apt-get install openmediavault

    worked
    I now have omv-2.1.11 installed and working.
    My configuration was not lost and my raid volume is there.
    So I'm happy for now.


    However, the Update Manager in the webgui is showing similar packages like before the breakage.
    It's showing for example both gcc-4.7 and gcc-4.9 and libsystemd-daemon0 which leads me to suspect I'd end up with the same mess as before (Jessie stable) if I allowed it to upgrade.
    So is there a fix for this?

  • I've copied the sources.list from a clean, fresh install of omv-2.1.11
    that I did on another system just a few days ago.
    But I suspect it has to do with the sources config somewhere.
    This is what I have in my sources.list


  • Replace the value stable for wheezy in /etc/apt/sources.list


    then run apt-get update


    Ok, I can add to my previous reply that I've made one more change afterwards that resolved the Update Manager
    I had in my /etc/apt one more file I've added during the repair process.
    It's "preference" and it contains

    Code
    Package: *
    Pin: release n=wheezy
    Pin-Priority: 1001


    I've renamed it to preference.old (to keep it for reference in case it's needed again)
    and all is good now.
    Update manager showed only 3 updates
    omv-2.1.12
    vsftp updat
    and timezone updates (forgot the exact names)


    But all is good now.

Jetzt mitmachen!

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