Noob question about updates

  • Hello guys,


    I have a couple of questions regarding the updates (wether it is from the OMV WebUI or apt update from cli). I am running OMV 5.6.2-1 on a RPi4.


    First, for few days now, I have package "cmake-data" showing as being updatable in the OMV WebUI but it is still here after I update it. If I run "apt update", the output is "All packages are up to date". And if I run "apt upgrade" it shows:

    Code
    The following packages will be DOWNGRADED:
      cmake-data

    If I type in "Y" to go ahead with the upgrade I can see the package "cmake-data 3.16.3-3~bpo10+1" being downgraded to package "cmake-data 3.16.3-3~bpo10+1" (yes, the exact same package). And once done the package is still listed as being available for update in the OMV WebUI and "apt upgrade" still shows:

    Code
    The following packages will be DOWNGRADED:
      cmake-data

    Why is that?



    Second question, after running "apt update" yesterday, one of the package being available for update is:

    Code
    rpi-eeprom/testing 11.11-1 armhf [upgradable from: 11.10-1]

    Why the "testing" after the package name? Does that mean it is beta? If yes, how can I make sure only "stable" packages are proposed for update?


    Thanks in advance for your help.

  • First, for few days now, I have package "cmake-data" showing as being updatable in the OMV WebUI but it is still here after I update it. If I run "apt update", the output is "All packages are up to date". And if I run "apt upgrade" it shows:

    Code
    The following packages will be DOWNGRADED:
      cmake-data

    If I type in "Y" to go ahead with the upgrade I can see the package "cmake-data 3.16.3-3~bpo10+1" being downgraded to package "cmake-data 3.16.3-3~bpo10+1" (yes, the exact same package). And once done the package is still listed as being available for update in the OMV WebUI and "apt upgrade" still shows:

    Code
    The following packages will be DOWNGRADED:
      cmake-data

    Why is that?

    That usually happens when there are two repositories with the same package in the same version but with different hashsums. And that usually happens when one mixes repositories for different operating systems. In your case I assume that you are mixing Raspbian with Debian.


    apt-cache policy cmake-data

  • Thanks for your answer.


    I guess you are right. The output of apt-cache policy cmake-data is:

    Is it an issue? And if yes, how do I fix it?


    Regarding my second question (why is apt update showing me "testing" packages available for update?), there are now even more packages and all but one are marked as "testing". I have checked the sources (/etc/apt/sources.list.d) but there is nothing about "testing" repositories in there. So why are they showing up? Are they safe to install? Here is the list of packages:



    Thanks again for your help.

  • Regarding my second question (why is apt update showing me "testing" packages available for update?), there are now even more packages and all but one are marked as "testing". I have checked the sources (/etc/apt/sources.list.d) but there is nothing about "testing" repositories in there. So why are they showing up? Are they safe to install? Here is the list of packages:


    You probably have a testing repository enabled: apt-cache policy


    And if there is no pinning done, all repositories have the same pin priority (500) and are equal. Just remove the repository for testing. If you haven't enabled it, you should find out who or which software has.

  • I guess you are right. The output of apt-cache policy cmake-data is:

    Is it an issue? And if yes, how do I fix it?

    Well, it results in this symptom. Raspbian is not supposed to use Debian repositories. That's why they rebuild Debian packages without changing the version. And this results in exactly this issue.


    It has come up before, but I cannot find the thread. It is basically caused by enabling backports for Raspbian systems via OMV extras, if I'm not mistaken. Therefor CCing ryecoaaron. You'll have to reinstall the package by using the -t switch of APT and then you might be able to workaround it. But it can happen again and again. Raspbian != Debian.

    • Official Post

    It has come up before, but I cannot find the thread. It is basically caused by enabling backports for Raspbian systems via OMV extras, if I'm not mistaken. Therefor CCing ryecoaaron. You'll have to reinstall the package by using the -t switch of APT and then you might be able to workaround it. But it can happen again and again. Raspbian != Debian.

    And once again, omv-extras does not enable backports. backports is enabled by default. omv-extras gives users access to toggle the switch that OMV uses to enable the backports repo. And when backports are enabled, only a few packages are pinned. The kernel is pinned by omv omv-extras pins this short list (mostly zfs and qemu). And this only affects raspbian32. Raspbian64 is real debian.


    I have never had a problem leaving backports enabled in the way omv enables it on raspbian32.

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    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!

  • And once again, omv-extras does not enable backports. backports is enabled by default.

    Cut me some slack, yes? This:

    It has come up before, but I cannot find the thread. [..] if I'm not mistaken.

    ... clearly indicates that I'm not trying to blame you despite better knowledge. I tried to find the thread. Thanks.


    The problem still is that Debian and Raspbian are not the same operating system and that Raspbian pulls in Debian packages and rebuilds them.

    • Official Post

    Cut me some slack, yes?

    Between your comments "this has come up before" and "it can happen again and again" and 'Raspbian != Debian', I thought it ok to say "once again" since you seemed to be talking down to me. I wasn't insulting your knowledge or search skills.

    The problem still is that Debian and Raspbian are not the same operating system and that Raspbian pulls in Debian packages and rebuilds them.

    I am well aware of that. And Raspbian32 is rebuilt packages. Raspbian64 is not rebuilt. It is pure Debian.


    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    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!

  • backports is enabled by default. omv-extras gives users access to toggle the switch that OMV uses to enable the backports repo. And when backports are enabled, only a few packages are pinned. The kernel is pinned by omv omv-extras pins this short list (mostly zfs and qemu). And this only affects raspbian32.

    This conversation triggered my interest because it could help to identify a repeating root cause for errors.

    To improve usability we should always try to eliminate identified root causes as this will have several benefits in the long run.


    Can we define the uses case(s) when the current OMV setup causes errors?

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

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


    omv 5.6.21-1 (usul) 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

    Edited once, last by mi-hol ().

  • Hello, fine humans! I come bearing no ill will. Now, as mi-hol said, this is an ongoing issue and is frankly a PITA, in terms of user experience. What exactly does one need to enable, disable, add, remove, delete, insert, make a rain dance, so that the end user (me) doesn't have to worry about it popping up again and again? Once again, this post isn't meant to denigrate, belittle or insult anyone at all. Simply want peace of mind and total zen :)

  • compulen, this is an old & lang resolved thread.

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

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


    omv 5.6.21-1 (usul) 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

  • the top 4 pinned posts in forum section for updates Updates/Upgrades

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

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


    omv 5.6.21-1 (usul) 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

Participate now!

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