Bug 442200

Summary: YOU does not show packages for a selected patch
Product: [openSUSE] openSUSE 11.1 Reporter: Stanislav Visnovsky <visnov>
Component: YaST2Assignee: Michael Andres <ma>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P1 - Urgent CC: dmacvicar, ma, tgoettlicher
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot

Description Stanislav Visnovsky 2008-11-06 09:42:06 UTC
This might be in fact libzypp issue or repo issue. The list is simply empty (see the screenshot). The same happens in ncurses.

repositories:
mammoth:/home/visnov # zypper lr -d      
#  | Alias                                                                               | Name                                                                                | Enabled | Refresh | Priority | Type   | URI                                                                                      | Service                                                                                                   
---+-------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------------+--------                                                                                                   
1  | Beta4                                                                               | Beta4                                                                               | No      | No      | 99       | NONE   | ftp://cml.suse.cz/netboot/find/openSUSE-11.1-Beta4-DVD-i586/                             |                                                                                                           
7  | openSUSE-11.1-Updates                                                               | openSUSE-11.1-Updates                                                               | Yes     | Yes     | 20       | rpm-md | http://download.opensuse.org/update/11.1/                                                |                                                                                                           
8  | openSUSE-dvd 11.1-0                                                                 | openSUSE-dvd 11.1-0                                     | Yes     | Yes     | 99       | yast2  | http://cml.suse.cz/netboot/find/openSUSE-11.1-Beta4-DVD-i586                             |
12 | repo-non-oss                                                                        | openSUSE-11.1-Non-Oss                                     | Yes     | Yes     | 100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/                             |
13 | repo-oss                                                                            | openSUSE-11.1-Oss                                     | Yes     | Yes     | 100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/                              |

(Deleted disabled ones).
Comment 1 Stanislav Visnovsky 2008-11-06 09:44:40 UTC
Created attachment 250228 [details]
screenshot
Comment 2 Michael Andres 2008-11-06 22:00:51 UTC
Iteration of newly introduced satsolver flexarrays is broken. This probably affects more attributes than just the patch content, e.g also deltarpm information. Sorry, this slipped my attention.
Comment 3 Michael Andres 2008-11-07 00:46:19 UTC
@mls: repodata.c: dataiterator_init
...
  if (repo)
    di->repoid = -1;
  if (p)
    dataiterator_jump_to_solvid(di, p);
  else
    {
      di->repo = pool->repos[0];
      di->state = di_enterrepo;
    }

Is this setup correct? Esp. if !p (no solvable specified) you fallback to repos[0]? I'm not able to iterate a repo via 

   dataiterator_init(pool, repo, 0, attr, 0, 0 )

Comment 4 Michael Andres 2008-11-07 11:31:49 UTC
dataiterator_init is fixed now.
Comment 5 Michael Andres 2008-11-07 23:03:46 UTC
Fixed in libzypp-5.21.0.