Bug 1683670

Summary: Ubuntu repository package header are missing
Product: [Community] Spacewalk Reporter: thomas.fischbach
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.9   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-schema-2.10.8-1 spacewalk-java-2.10.13-1 spacewalk-backend-2.10.17-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-19 12:16:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1802137    

Description thomas.fischbach 2019-02-27 13:54:34 UTC
Description of problem:

Steps to Reproduce:
1. Setup Ubuntu repository
2. Setup Ubuntu client
3. Register Ubuntu client in spacewalk
4. Run apt update on the client

Actual results:
Over 1200 packages are listed for upgrade. Even they are up to date.
Just for fun I upgraded all.
After running apt update again they were again listed to upgrade

Expected results:
Only packages with a higher version should be upgraded.


Additional info:
Topic 2:
https://www.redhat.com/archives/spacewalk-list/2018-December/msg00002.html

There are some work arounds but they don't work for me.
The packages are not listed on the spacewalk server for upgrade, only on the client.

Comment 1 Michael Mráka 2020-03-10 14:44:23 UTC
Multi arch header has been added by
commit 8bca9746e7533d5e432acdb9f09388a7680eebd8
    added schema upgrade script and schema changes for 'Multi-Arch' header
commit de445a3031da12382c874fce639c25f96871b2c2
    write the 'Multi-Arch' header if present
commit 3d6cfb7002bab45611b636a6366d8467795211ac
    added the 'multi_arch' DB column...

and tilde sorting by
commit 5b5265dbe72e7aa67f71e1ea0a114c6f19e31af9
    upgrade scripts for rpm tilde and caret sorting
commit 0df225487e572bf9bb1b9fe751f919318903c0cd
    reimplemented tilde and caret sorting for rpm versioning

Comment 2 Michael Mráka 2020-03-19 12:16:39 UTC
Spacewalk 2.10 has been released.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210