Bug 170537

Summary: Update Options: "Standard System with KDE is listed" twice
Product: [openSUSE] SUSE Linux 10.1 Reporter: Lukas Ocilka <locilka>
Component: Update ProblemsAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Major    
Priority: P5 - None CC: felix, suse-beta
Version: RC 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot
YaST logs

Description Lukas Ocilka 2006-04-28 07:32:28 UTC
Update from RC1 (orRC, not sure) to RC3
Select a 10.1 partition
Let updater to suggest all update options
See the Update Options by clicking on the link in a proposal
Comment 1 Lukas Ocilka 2006-04-28 07:34:57 UTC
Created attachment 80695 [details]
Screenshot
Comment 2 Lukas Ocilka 2006-04-28 07:35:19 UTC
Created attachment 80696 [details]
YaST logs
Comment 3 Christian Boltz 2006-04-28 16:08:43 UTC
probably a duplicate of bug 160792.

I have seen "Standard System with KDE" five times on my testroot partition (which got nearly all betas as update) when updating to RC2.

When selecting the stablesys partition (with 10.0) for update I only had "standard system with KDE" once which is expected behaviour.

I think this is a beta->beta update problem (and I hear someone already crying that this isn't supported ;-))
Comment 4 Jiri Srain 2006-05-03 05:56:56 UTC
I don't think it is already fixed. The call asking for selections is:

Pkg::GetSelections (`available, "base")

However, the code in yast2-pkg-bindings says:

if (status == "all" || status == "available")
{
  selection = it->resolvable()->name();
}

This means, that it returns all selections, the ones which are installed and also the ones which are on the media.

Lado, can it be updated so that "available" filter will be different from "all", or should we rather add a new filter?

Anyway, this bug does NOT occure when updating from 10.0 or anything older to 10.1 (as ZYPP can't read the database of selections from old system), this is bug which has to be fixed for 10.2.
Comment 5 Christian Boltz 2006-05-03 13:46:39 UTC
(In reply to comment #4)
> This means, that it returns all selections, the ones which are installed and
> also the ones which are on the media.

A maybe silly question: Why does it even include the installed selections?

IMHO only the selections from the media should be offered - otherwise someone can make a joke and publish a "YaST offers to install 'bullshit system'" screenshot - reproducable with original SUSE DVD ;-))
Comment 6 Lukas Ocilka 2006-05-03 13:51:14 UTC
YaST is available as GPL :) so, it means, we're open to jokes :)
Comment 7 Felix Oxley 2006-05-13 13:46:23 UTC
Suse 10.1 GM - this bug is still present
Comment 8 Ladislav Slezák 2006-05-19 08:09:37 UTC
`available now ignores the installed selections, similar fix has been applied in Pkg::GetPatterns().

Fixed in yast2-pkg-bindings-2.13.77