Can't update OMV

  • First off, I am running OMV 0.4.36. I know it's an old version, but it has been doing what I need it to do, so I have not bothered upgrading it until today.


    I went into that update manager, to check for any minor updates, and received the following message:


    "Failed to execute command 'export LANG=C; sudo apt-get --show-upgraded --simulate dist-upgrade 2>&1': Reading package lists... E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/packages.omv-plugins.org_dists_fedaykin_main_binary-amd64_Packages E: The package lists or status file could not be parsed or opened."


    I then SSH'd into the box, and did the following:


    rm -vf /var/lib/apt/lists/*
    apt-get clean
    apt-get update


    It was successful until I got to the following section:


    Get:17 http://packages.omv-plugins.org squeeze-backports/main amd64 Packages [51 B]
    Fetched 30.3 kB in 8s (3,715 B/s)
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/packages.omv-plugins.org_dists_fedaykin_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.


    My Sources.list is as follows:


    #


    # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/IN$


    #deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INS$


    deb http://debian.mirrors.tds.net/debian/ squeeze main
    deb-src http://debian.mirrors.tds.net/debian/ squeeze main


    deb http://security.debian.org/ squeeze/updates main non-free
    deb-src http://security.debian.org/ squeeze/updates main non-free


    # squeeze-updates, previously known as 'volatile'
    deb http://debian.mirrors.tds.net/debian/ squeeze-updates main non-free
    deb-src http://debian.mirrors.tds.net/debian/ squeeze-updates main non-free


    Does anyone know how to fix this? ?(

  • Does /var/lib/apt/lists/ still contains any files?

    Hardware configurations
    CPU: Intel Pentium T4400 @2.20 GHz
    RAM: 3GB
    HDD:350GB HGST Travelstar


    Pretty much just an old laptop :D

  • Try removing /var/lib/apt/lists/packages.omv-plugins.org_dists_fedaykin_main_binary-amd64_Packages
    BACKUP the file and do

    Code
    rm /var/lib/apt/lists/packages.omv-plugins.org_dists_fedaykin_main_binary-amd64_Packages


    then do apt-get update again

    Hardware configurations
    CPU: Intel Pentium T4400 @2.20 GHz
    RAM: 3GB
    HDD:350GB HGST Travelstar


    Pretty much just an old laptop :D

    • Offizieller Beitrag

    The fedaykin third party omv-plugins.org repo is no longer functional. Remove it from your sources.list or the file from sources.list.d.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • onionjohn, I removed the package as you mentioned, and performed the update again, but the same error comes up. Also, the packages.omv-plugins.org_dists_fedaykin_main_binary-amd64_Packages file is back again after the update.


    ryecoaaron, I checked the openmediavault.list file, under sources.list.d, but only have the main. everything else including the third party stuff is commented out.

    • Offizieller Beitrag

    Something isn't commented out if you are getting the list file recreated. What is the output of: grep -r omv /etc/apt/

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Here is the output.


    /etc/apt/sources.list.d/omv-plugins-org-squeeze-backports.list:deb http://packages.omv-plugins.org squeeze-backports main
    /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list:deb http://packages.omv-plugins.org fedaykin main
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=ix, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=donald, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=glass, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=omnius, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=fedaykin, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=fedaykin-armhf, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=testing, origin packages.omv-plugins.org
    /etc/apt/preferences.d/99omv-plugins-org:Pin: release n=squeeze-backports, origin packages.omv-plugins.org
    Binary file /etc/apt/trusted.gpg matches

    • Offizieller Beitrag

    rm -f /etc/apt/sources.list.d/omv-plugins-org-squeeze-backports.list
    rm -f /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list
    rm -f /etc/apt/preferences.d/99omv-plugins*
    apt-get update

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    Yep. You have the third party omv-plugins plugins installed and the repo no longer exists. Once you upgrade to 0.5/1.0, you will need to use omv-extras. Then you won't have this problem.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Weird, I don't remember installing any third party plugins. I now however with your help upgraded all the way to the latest version 1.17.


    If you don't mind, I have one more question, since it seems that you are taking care of the third party plugins. I followed the instructions for Kralizec from the "Install OMV-extras plugin" , but no new plugin showed up. I then did the command line installation, and received the following after performing the dpkg command:


    dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
    openmediavault-omvextrasorg depends on apt-transport-https; however:
    Package apt-transport-https is not installed.


    dpkg: error processing openmediavault-omvextrasorg (--install):
    dependency problems - leaving unconfigured
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-omvextrasorg


    What am I missing to complete the install? There are no updates listed in the Update Manager to install.

  • Code
    apt-get install apt-transport-https


    Dependency issue, probably going to be messy.

    Hardware configurations
    CPU: Intel Pentium T4400 @2.20 GHz
    RAM: 3GB
    HDD:350GB HGST Travelstar


    Pretty much just an old laptop :D

    • Offizieller Beitrag

    dpkg doesn't install dependencies. So, apt-get -f install after the dpkg command will install them.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • For anyone on .4.x this can be resolved by doing this too. You guys shoudl upgrade though.


    In:


    /system/OMV-Plugins.org


    take all check marks off on the right and then click on OK. That will disable any of the old repos causing the error.

Jetzt mitmachen!

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