|
Bugzilla – Full Text Bug Listing |
| Summary: | cannot have two update repositories added | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Marcus Meissner <meissner> |
| Component: | libzypp | Assignee: | Jan Kupec <jkupec> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P1 - Urgent | CC: | aj, alofflambas, bugz57, ma, meissner, ro, schubi, tgoettlicher |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
zypper.solverTestCase.tar.bz2
proposed patch |
||
|
Description
Marcus Meissner
2008-06-17 14:53:26 UTC
Created attachment 222525 [details]
zypper.solverTestCase.tar.bz2
zypper solver testcae
Both patches will be selected by the user: <install channel="openSUSE-11.0-Updates" kind="patch" name="autoyast2" arch="noarch" version="37" release="" status="UBTu_"/> <install channel="openSUSE-11.0-test-Updates" kind="patch" name="autoyast2" arch="noarch" version="37" release="" status="UBTu_"/> I assume user = zypper :-) Heh. I talked with schubi about trying to install multiple versions of a patch (which currently also fails), but installing the same patch multiple times is something new ;-) Anyway, two possibilities: make zypper only install the highest version (and only one patch if multiple patches have the same nevr), or change the solver that patches don't conflict (which I don't like much because it special cases patches). Btw, is that just zypper? how does package kit or the UI behave? (In reply to comment #3 from Michael Schröder) > > Btw, is that just zypper? how does package kit or the UI behave? UI uses selectables, thus selects only one out of many available patches. Zypper probably operates on the individual poolitems, therefor selecting all. Zypper should use selectables or solver requests, and avoid individual poolitems. *** Bug 406549 has been marked as a duplicate of this bug. *** *** Bug 394519 has been marked as a duplicate of this bug. *** *** Bug 356532 has been marked as a duplicate of this bug. *** we will be running into this issue soon, if we are not careful on monday. even on 1 update repository. a fix is required ASAP. Created attachment 229107 [details]
proposed patch
The patch is trivial. I wonder whether the 'zypper lu' should also be fixed to display only selectables (the candidate objects). Probably yes, but not for 11.0 (?).
Anja, can you please give me swamp id for this? The fix is for openSUSE 11.0 only. submitted for 11.0, fixed also for 11.1 in svn. released *** Bug 406094 has been marked as a duplicate of this bug. *** released |