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.

  • 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 5.5.17-3 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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.
  • 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.
  • 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 5.5.17-3 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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.
  • 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 5.5.17-3 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Moreno

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!