apt updates packages but then they show as new updates again

  • Hi all,


    I have a rpi3 with omv 5. Clean/new install a few months ago on a almost new SD card. Everything working fine.


    A few weeks ago, I installed all packages that needed updating through the GUI. Next day they were all back and listed as updates. I updated again and noticed the installed versions and update versions were the same versions - so just updating over the current packages.


    Rebooted and did the update from the cli and rebooted after but the issue persists.


    Thought it might be a bad SD card but it is a good quality card and I am not seeing any error/issues with the unit.


    Any thoughts on how to resolve this or should I just take the hit and try a new SD card?

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

    • Offizieller Beitrag

    Are you sure it's actually updating, or is it showing you updates that have been held back? Read the message carefully

  • Thanks. Yes I am sure they are updating and the GUI list is cleared. Next morning they are all back.


    During the actual update process, i can see packages being installed over existing packages with the same version number.

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

  • was caused by a defect introduced with OMV version 5.6.3 and should be fixed with 5.6.7

    omv 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

    Einmal editiert, zuletzt von mi-hol ()

  • thanks. Have done the latest updates yesterday and this morning I have the same issue so I guess I will try a new SD card to see if this fixes the issue.

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

  • This morning all the updates are no longer showing... Not sure what has happened but this issue seems to have resolved itself...


    Very strange.

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

  • I have the same Problem since a few weeks. I'm on 5.6.6-1 OMV.


    How can I fix this problem?


    When I install die following Updates OMV doesn't find Updates through manuell Update-Search. After 24 h the Updates are visible again.


  • There are several methods documented on "how to fix apt issues" on https://linuxhint.com/apt_get_fix_missing_broken_packages/

    omv 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Pivo0815 - so it looks like i'm not the only one with this issue. Unfortunately, I do not have a solution (yet) as this issue has happened again for me.


    I took the option to buy a new SD card and have created a new/clean install of OMV using latest Raspbian lite image. Just finished the install and configuration so will monitor over the next few days and let you know if this works. If it doesn't nothing will :)


    mi-hol - Thanks. I have already tried all of the suggestions on your link and not have solved the issue. Hopefully the nuclear reset/install will fix it.

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

    • Offizieller Beitrag

    This might be related to the apt cache, two things I do, all updates are installed from OMV's update management, an email notification is sent through informing me what is available to update. Once the updates are deployed I then go to OMV-Extras and from the Updates dropdown I run apt clean, this in essence clears the apt cache.


    Is this necessary, probably not, but it's a habit I have gotten into and to date it has not failed me yet, and no this is not on a Pi but the principle is the same.

  • geaves - thanks for the input. I have never had this issue before and I have multiple rpis and other SBC running OMV for the last 4+ years. So it was a very strange issue that I was spending too much time trying to resolve.


    So I bought a new SD card (<$10) and setup as a new clean install. Took about 2hrs in total. Now working perfectly and issue resolved.

    OMV 7 (latest) on N100 Minipc (16GB) and RPI5 (8GB). OS on SD card. System ext4 on SSD. Data BTRFS on HDDs

  • OMV changelog mentions the fix

    openmediavault (5.6.7-1) stable; urgency=low

    * Set correct dependency order of the sub-modules apt and cronapt.
    Because of that bug it might happen that security packages are
    not auto-installed via cronapt on some systems.

    omv 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • I updated to OMV version 5.6.8-1 (Usul). But the problem remains: After some hours the system wants me to upgrade again.

  • is openmediavault-omvextrasorg (5.6.1) installed?

    what is the content of /etc/apt/sources.list ?

    omv 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

    • Offizieller Beitrag

    I updated to OMV version 5.6.8-1 (Usul). But the problem remains: After some hours the system wants me to upgrade again.

    Is this an RPi? What is the output of:


    sudo omv-aptclean

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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

    is openmediavault-omvextrasorg (5.6.1) installed?

    This issue has nothing to do with omv-extras.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!

  • openmediavault-omvextrasorg 5.6.1, OMV-Extras.org Package Repositories for OpenMediaVault is installed.


    The content of /etc/apt/sources.list is:


    nano /etc/apt/sources.list

    GNU nano 3.2 /etc/apt/sources.list


    deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

    # Uncomment line below then 'apt-get update' to enable 'apt-get source'

    # deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi


    Yes, it's a Raspberry Pi 4


    The output of sudo omv-aptclean is:


    • Offizieller Beitrag

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    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!