Apt-get problem

  • Hi,


    Since the upgrad to OMV4 --> OMV5 i have a problem with the updates.


    When i want to search and install new update i have this problem :



    i have failed something during the update of OMV 4 to OMV5?


    Thanks for your help

    Regards.

    • Offizieller Beitrag

    What is the output of: cat /etc/apt/sources.list.d/armbian.list

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    The following should fix it:


    echo "deb http://apt.armbian.com buster main buster-utils" | sudo tee /etc/apt/sources.list.d/armbian.list

    apt-get update

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • this solution bring this problem


    Code
    E: Failed to fetch file:/var/cache/openmediavault/archives/Packages.gz  Method gave a blank filename
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-all.gz  File not found - /var/cache/openmediavault/archives/Contents-all.gz (2: No such file or directory)
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-armhf.gz  File not found - /var/cache/openmediavault/archives/Contents-armhf.gz (2: No such file or directory)
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    • Offizieller Beitrag

    try: omv-aptclean

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • same problem


    Code
    E: Failed to fetch file:/var/cache/openmediavault/archives/Packages.gz  Method gave a blank filename
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-all.gz  File not found - /var/cache/openmediavault/archives/Contents-all.gz (2: No such file or directory)
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-armhf.gz  File not found - /var/cache/openmediavault/archives/Contents-armhf.gz (2: No such file or directory)
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    • Offizieller Beitrag

    What is the output of:


    cat /etc/apt/sources.list.d/openmediavault-local.list


    rm /var/cache/openmediavault/archives/Packages.gz

    apt-get update

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • first command :

    Code
    cat /etc/apt/sources.list.d/openmediavault-local.list
    deb [trusted=yes] file:/var/cache/openmediavault/archives /

    Second command :


    Code
    rm /var/cache/openmediavault/archives/Packages.gz
    rm: cannot remove '/var/cache/openmediavault/archives/Packages.gz': No such file or directory


    third command :

    Code
    E: Failed to fetch file:/var/cache/openmediavault/archives/Packages.gz  Method gave a blank filename
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-all.gz  File not found - /var/cache/openmediavault/archives/Contents-all.gz (2: No such file or directory)
    E: Failed to fetch file:/var/cache/openmediavault/archives/Contents-armhf.gz  File not found - /var/cache/openmediavault/archives/Contents-armhf.gz (2: No such file or directory)
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    • Offizieller Beitrag

    What about: ls -al /var/cache/openmediavault/archives/

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • this command return this

    Code
    ls -al /var/cache/openmediavault/archives/
    total 8
    drwxr-xr-x 2 root root                  4096 Apr 21 15:13 .
    drwxrwxr-x 3 root openmediavault-webgui 4096 Apr 21 15:13 ..
    -rw-r--r-- 1 root root                     0 Apr 21 15:13 Packages
    • Offizieller Beitrag

    rm /var/cache/openmediavault/archives/Packages

    apt-get update



    If that doesn't work,


    rm /etc/apt/sources.list.d/openmediavault-local.list

    apt-get update

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • So, GOOD NEWS , this commande have solved the problem

    Code
    rm /var/cache/openmediavault/archives/Packages
    
    apt-get update

    Apt-get update && apt-get upgrade : Works again now.


    Thanks for your help.

    Have a nice day.

  • Moreno

    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!