|
Bugzilla – Full Text Bug Listing |
| Summary: | Broken Pattern List in GTK | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Forgotten User 9sGKlWEzYV <forgotten_9sGKlWEzYV> |
| Component: | YaST2 | Assignee: | Michael Meeks <mmeeks> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | forgotten_h13THG8RK1, lslezak, ma |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Package list for section Xen with Qt-Yast2 (top), Ncurses-Yast (lower left) and GTK-Yast2 (lower right) | ||
|
Description
Forgotten User 9sGKlWEzYV
2007-10-03 16:45:27 UTC
Michael, how come the gtk yast invents packages? Neither kernel-* nor kiwi are listed as part of the xen pattern. Hm, that's strange... Anyway, you should use a different way to install Xen: Yast -> Virtualization -> Install Hypervisor and Tools The problem is that the Xen pattern cannot contain "kernel-xen" package because the installed package depends on the target machine. There is problem "kernel-xen" vs. "kernel-xenpae". And the pattern should cannot contain both Xen kernels - only one of them would be used so the second boot entry would confuse users. And in addition to this PAE Xen doesn't work on a CPU without PAE extension... I for one welcome our new sapient yast-gtk overlords. :/ The thing is that libzypp lists the packages that belong to a pattern as strings (as in the pattern spec), so we do the mapping to the packages objects ourselves. Surely, yast-gtk is the one doing it wrongly -- though we blame libzypp's API for the mistake. :P It appears to me as if the names are treated as a globing pattern. 'xen_server' pattern requires package 'xen', so GTK lists all packages with a 'xen' in their name; for example 'xengine' (see the topmost package in the GTK screen shot). Even more obvious if you look at the 'dhcp_dns_server' pattern. It requires package 'bind', and the list shows all sorts of bindings: kdebindings3*, yast2-*-bindings, ... Qt/Ncurses use zypp::ui::PatternContents to get a list of package names. This also evaluates the patterns includes/extends relation. It returns a list of package names (yes, as strings). Okay, overlooked yast-qt's contains() test as meaning a sub-match between strings, where actually a set and a string was being passed and it meant to do a full-match between the string and everything in the set. yast-gtk should list the same thing now. (In reply to comment #3 from Ladislav Slezak) > Anyway, you should use a different way to install Xen: > Yast -> Virtualization -> Install Hypervisor and Tools If you install KDE, there is no section "Virtualization" in Yast after default installation. Perhaps a missing dependency or so? Mirko You have to install yast2-vm package (or the Xen pattern). Not a nice solution, we have to add support for HW dependency to solve it properly... *** Bug 297430 has been marked as a duplicate of this bug. *** |