|
Bugzilla – Full Text Bug Listing |
| Summary: | repo manager flickering | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Stephan Kulow <coolo> |
| Component: | YaST2 | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_OfsFetVrzR |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Stephan Kulow
2008-04-17 06:04:28 UTC
The problem is in Product.ycp - to get the installed (satisfied) product you have to call the solver. To compute the status of the products the target and sources must be initialized and loaded -> full package manager must be started. The callbacks display progress of loading the resolvables. The progress can be disabled, but that's not the best solution IMO. Every usage of Product.ycp starts the package manager, we should avoid that! Product.ycp could cache the product name in a file so the package manager start would be required just once. Or the cache could be created during installation. But the problem would be invalidating the cache after update (e.g. from GM to SP1). And another soltuion is to change the access to the Product.ycp variables through functions, but that will cause incompatibilities in YCP scripts... *** Bug 381456 has been marked as a duplicate of this bug. *** I'll fix Product.ycp to read /etc/SuSE-release if possible, that would avoid using the package manager completely. Fixed in yast2-2.16.55. |