|
Bugzilla – Full Text Bug Listing |
| Summary: | confusing output for zypper up | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Josef Reidinger <jreidinger> |
| Component: | libzypp | Assignee: | Jan Kupec <jkupec> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Duncan Mac-Vicar <dmacvicar> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | coolo, kkaempf, zypp-maintainers |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | the patch | ||
|
Description
Josef Reidinger
2008-05-02 13:04:16 UTC
*** Bug 390723 has been marked as a duplicate of this bug. *** *** Bug 395073 has been marked as a duplicate of this bug. *** The problem is that zypper up [-t <kind>] <foo> still allows -t option and defaults to -t patch. So i guess an easy way out of this would be to default to -t package if an argument is supplied and solve the rest later. With 'the rest' i mean: * what should zypper select if 'zypper up -t patch foo' is used? A patch foo? Or a patch that updates 'package foo'? (Probably the latter). Should it then say "patch * what to do (if anything) in case of patterns and products? (i know i should have realized and brought these issues in sooner, but somehow they escaped my attention) To finish the sentence: With 'the rest' i mean: * what should zypper select if 'zypper up -t patch foo' is used? Install 'patch foo'? Or a patch that updates 'package foo'? (Probably the latter). Should it then say "patch foo not found" or "patch foo not installed" or "patch foo is up to date"? Or "no patch for package foo found"? Going forward, I'd rather see zypper being more package focused. For Code11, all updates will be shipped as packages. Patches 'just' provide additional information (severity, reboot needed?, etc.) and grouping (foo, foo-devel, foo-32bit, etc.) to ease presentation. So my recommendation is to default "in" and "up" in zypper to packages and provide specific commands (i.e. "p-in", and "p-up") for patches. OK, so in the light of this, switching the default to -t package for 'update foo' is a good thing to do now? The rest after 11.0 (lu/up -t package the default)? That's for coolo to decide, CCing him. Created attachment 219221 [details]
the patch
$ zypper up zypper
Reading installed packages...
The following package is going to be upgraded:
zypper
I wouldn't play havoc. We're past the last public test release. Put it into factory once 11.0 is done and we'll see how people react and if it works out, we can still put out an line update - in case we have other urgent things to fix (which I have no doubts of :) this will be tracked in bug 395480 now *** This bug has been marked as a duplicate of bug 395480 *** |