OMV update error for 1.1x to 2

  • I tried to update but it got stuck and after restart i have no gui with 403 error


    after apt get update and apt get install -f i get


    (Reading database ... 57152 files and directories currently installed.)
    Removing openmediavault-deluge (1.5) ...
    /var/lib/dpkg/info/openmediavault-deluge.postrm: 6: .: Can't open /usr/share/openmediavault/scripts/helper-functions
    dpkg: error processing package openmediavault-deluge (--remove):
    subprocess installed post-removal script returned error exit status 2
    Errors were encountered while processing:
    openmediavault-deluge
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Also tried with -f
    And i checked debian version is 7.8


  • And what if you try:

    Code
    apt-get install -f openmediavault openmediavault libhtml-parser-perl intltool perl-modules update-inetd


    And what what is the current output of ?

    Code
    find /etc/apt/ -type f -iname '*.list' -printf "\n --- %p\n" -exec cat {} \;
  • apt-get install -f openmediavault openmediavault libhtml-parser-perl intltool perl-modules update-inetd


    Code
    root@NAS:~# apt-get install -f openmediavault openmediavault libhtml-parser-perl intltool perl-modules .update-inetd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package .update-inetd
    E: Couldn't find any package by regex '.update-inetd'
    root@NAS:~#


    find /etc/apt/ -type f -iname '*.list' -printf "\n --- %p\n" -exec cat {} \;


    Code
    root@NAS:~# find /etc/apt/ -type f -iname '*.list' -printf "\n --- %p\n" -exec cat {} \;.
    find: missing argument to `-exec'

  • About find i didnt get what you mean? I have to delede \; ?

  • dpkg -l | grep openmediavault


    I think you need to purge deluge and then try the: apt-get -f install


    Give me the dpkg list though.


  • I dont need deluge i have just installed it to see it but how to remove it?


    I try --purge remove but i get this


  • No i didnt mess with this untill the problem occured..Just changed them after before posting my last questions to see if this is the problem but nothing changed..I was at stable wheezy.
    What could i do for this issue?

  • Hi
    When I run "apt-get -f install"
    I get:
    The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources


    Also when I try to update individual updates in updatemanager, it dosen't work !!
    Running ver. 1.15
    Is it possible to update to openmediavault 2.0.10 ???
    BR
    OFH

    • Offizieller Beitrag


    Read then you can update to OMV 2.x with omv-release-upgrade

    omv 7.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi
    When I run "omv-release-upgrade" in the end I get following:


    Traceback (most recent call last):
    File "/usr/sbin/omv-mkaptidx", line 55, in <module>
    cache = apt.cache.Cache()
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
    SystemError: E:The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
    Reading package lists... Done
    Reading package lists... Done
    E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources


    And still on 1.15 :)
    Sorry, haven't seen the "Read" link :-|


    Found the solution in
    OMV 1.18 CRON-APT Error: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
    Thanks for helping

    • Offizieller Beitrag

    You linked to the same thread I did :) I assume it fixed the problem?

    omv 7.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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