Upgrade package stuck at "Reading package lists..."

  • I have a single update pending for libcurl3-gnutls-7.26.0-1. When I try to install from GUI, I get the info dialog open, but stuck at the first line: "Reading package lists...". No progress from there.
    Tried to kick it a few times, or reboot. No joy.


    When I do "apt-get update" from CLI, it ends with the following. Not sure it's related.


    Code
    Ign http://packages.omv-extras.org kralizec-vb/main Translation-en
    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
    • Offizieller Beitrag

    rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf
    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!

  • rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf
    apt-get update


    Ouch. I did see that other post, but since I saw I don't have that 99openmediavault-release file, I presumed it's not applicable to me. How wrong I was.


    This worked like a charm. It's all good now. Thank you and sorry for the dup.

    • Offizieller Beitrag

    Some people have the release file and others have the apt.conf file. The command deletes both :) Glad it is working.

    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!

Jetzt mitmachen!

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