Bug 1138709 - The list of packages that you can install on a system contains duplicates
Summary: The list of packages that you can install on a system contains duplicates
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Tomas Lestach
URL:
Whiteboard:
Depends On:
Blocks: sat570-blockers
TreeView+ depends on / blocked
 
Reported: 2014-09-05 13:32 UTC by Stephen Herr
Modified: 2015-01-13 10:18 UTC (History)
3 users (show)

Fixed In Version: spacewalk-java-2.3.8-11-sat
Doc Type: Bug Fix
Doc Text:
Clone Of: 1136526
Environment:
Last Closed: 2015-01-13 10:18:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stephen Herr 2014-09-05 13:32:39 UTC
+++ This bug was initially created as a clone of Bug #1136526 +++

Description of problem:
Systems -> <system> -> Software -> Packages -> Install page lists many duplicate entries for packages. A duplicate entry is created for every version of the package, regardless of if that version is available in channels this system is subscribed to or not. So you can have only 1 version available to this system but 19 other versions in other channels, and there will be 20 entries in the list to the same 1 package that is actually available.

Version-Release number of selected component (if applicable):
spacewalk-java-2.2.52-1 and higher

How reproducible:
always

Steps to Reproduce:
1. Go to page
2. See many duplicate packages 

Actual results:
See many duplicate packages 

Expected results:
Entries should be unique and all entries should be actually available to server.

Additional info:
It was broken in commit f5e644f6d0f5c194081073fd6a850918f393dea9

--- Additional comment from Stephen Herr on 2014-09-02 15:43:54 EDT ---

Committing to Spacewalk master:
b9a0468e8e51b0b99ac84192ad8ba5daca8895eb

Comment 3 Tomas Lestach 2015-01-08 13:40:58 UTC
Taking for verification ...

Comment 4 Tomas Lestach 2015-01-08 16:05:24 UTC
I took a system with zsh package *not installed*, but with zsh package available in its channels. I created an extra channel with 6 different zsh versions (both older and newer than the available package).

/rhn/systems/details/packages/InstallPackages.do?sid=<sid> correctly offers only the one available zsh package to be installed.

Note1: I see zlib-devel-1.2.3-29.el6 package offered to be installed twice, but there're two different architectures of the package available - what is correct.

Note2: Issue not reproducible on Sat5.6 (even if you try really hard), as it was broken in Spacewalk 2.2 only. ;-)


VERIFIED with Satellite-5.7.0-RHEL6-re20141218.2 (spacewalk-java-2.3.8-93.el6sat.noarch)

Comment 5 Pavel Studeník 2015-01-09 10:10:50 UTC
Reverified with spacewalk-java-2.3.8-93.el6sat.noarch 

Steps were same as Comment 4

Comment 6 Clifford Perry 2015-01-13 10:18:43 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff


Note You need to log in before you can comment on or make changes to this bug.