Bug 216033

Summary: improve zypper messages and dialogs
Product: [openSUSE] openSUSE 10.2 Reporter: Cristian Rodríguez <crrodriguez>
Component: libzyppAssignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Normal    
Priority: P5 - None CC: mmarek
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cristian Rodríguez 2006-10-27 23:23:42 UTC
Hi..

I added factory as a network installation source in zypper, then run zypper up 
.. then :

the following information is displayed 

"Adding 20061027-150109 resolvables to the pool..." 

Does that code actually means something for the **user** ? 

second..

Adding system resolvables to the pool...
Problems:
(none)
Summary:
Continue? [y/n]

when I press "y" it returns to the bash prompt.. because there is nothing to do.. why the "continue" dialog appears then ?  why the problems dialog appears if there is no problem .. ?

I expect both messages to appear :

1. "Continue?" when actually something has to be done after
2. "problems" when actually there is a problem   

both of this messages violates the "Rule of Silence" principle [1]

[1] http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878450
Comment 1 Cristian Rodríguez 2006-10-28 00:10:53 UTC
a quick reproduce steps

lizard:~ # zypper install ipython (note without the Uppercase "I")
Restoring system sources...
Adding http://ftp.gwdg.de/pub/opensuse/distribution/SL-OSS-factory/inst-source resolvables to the pool...
Adding 20061027-150109 resolvables to the pool...
Adding system resolvables to the pool...

**Not found** ( huh ? you mean "error: '%s' matches no packages" or "package '%s' not found in the installation media" right ?? )

Problems:
(none)
Summary:
Continue? [y/n] y
lizard:~ # 
Comment 2 Martin Vidner 2006-10-30 10:30:53 UTC
Good points, thanks.
Comment 3 Cristian Rodríguez 2006-10-30 18:38:51 UTC
*** Bug 216214 has been marked as a duplicate of this bug. ***
Comment 4 Martin Vidner 2006-10-31 20:45:36 UTC
These fixes will be in zypper-0.5.2:

Removed "Problems: (none)".
Removed "Continue?" if there is nothing to install/remove.
Adding FOO resolvables to the pool -> Parsing metadata for FOO
Not found -> "package 'foo' not found"