[Bug 1061384] New: [tw] Add warning to zypper on zypper up if there are 'product updates'
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384 Bug ID: 1061384 Summary: [tw] Add warning to zypper on zypper up if there are 'product updates' Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- A very common error on openSUSE Tumbleweed is that users keep on running 'zypper up' and then are surprised when things fail. The only valid way to keep TW up-to-date is 'zypper dup' I'd like to propose to have an extra warning (should be scary enough for the user) In order to not have it 'too TW specific', I'd propose to check if there is 'a product update' included in the list of updates to do: if so, then 'up' is the wrong command to use This info should be available to zypp already, as z "zypper up" contains, for example: The following product is going to be upgraded: "openSUSE Tumbleweed" So: there is 'any product' to be upgraded, so 'dup' must be used -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c1
--- Comment #1 from Michael Andres
In order to not have it 'too TW specific', I'd propose to check if there is
This is very TW specific. Release package updates (i.e. products updates) are common. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c2
--- Comment #2 from Dominique Leuenberger
This is very TW specific. Release package updates (i.e. products updates) are common.
But the product would not change 'version' - only the 'release' tag would be changed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c3
--- Comment #3 from Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c4
--- Comment #4 from Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c5
--- Comment #5 from Dominique Leuenberger
Or better 'Provides: product-update() = dup'
Thanks - I will add that to openSUSE-release for TW -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c6
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c7
Dominique Leuenberger
Created attachment 743026 [details] A message like in the screenshot is OK?
Just to make sure : products are 'guaranteed' to be shown at the bottom at the list, right? (so no danger of that scrolling out of the view) I think the message is a good start - but I wonder if it's 'strong enough' to help us avoid the common type of bugs. In any case, I would rephrase it from '…prefers…' to '…requires…' -> and thus explicitly blame the user if it breaks -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c8
--- Comment #8 from Michael Andres
Just to make sure : products are 'guaranteed' to be shown at the bottom at the list, right? (so no danger of that scrolling out of the view)
No, but I can additionally add a (warning) message before the prompt, if there are products asking for 'dup'.
Overall download size: 42.8 MiB. Already cached: 1.0 MiB. After the.... Consider to cancel: Some product requires to be updated by calling 'zypper dup'! Continue? [y/n/...? shows all options] (y):
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c9
--- Comment #9 from Dominique Leuenberger
No, but I can additionally add a (warning) message before the prompt, if there are products asking for 'dup'.
Overall download size: 42.8 MiB. Already cached: 1.0 MiB. After the.... Consider to cancel: Some product requires to be updated by calling 'zypper dup'! Continue? [y/n/...? shows all options] (y):
That sounds good -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384
http://bugzilla.opensuse.org/show_bug.cgi?id=1061384#c10
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com