Bug 731485

Summary: Package name missing on remove in YaST activity log
Product: [openSUSE] openSUSE 12.1 Reporter: Tony Mechelynck <antoine.mechelynck>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot showing the problem

Description Tony Mechelynck 2011-11-18 22:30:23 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111118 Firefox/11.0a1 SeaMonkey/2.8a1

In the list of what YaST does, the package name is missing after the word "Removing".

Reproducible: Always

Steps to Reproduce:
1. Start YaST with the Qt frontend.
2. Select one or more packages for removing.
3. Click "Accept".

Actual Results:  
The package names are missing after "Removing"

Expected Results:  
YaST ought to say _which_ packages it was removing.

Additional info:
This bug already happened under openSUSE 11.4 but not under 11.3.
I thought it would be fixed as part of the fix for bug 684759 (which never made it to the 11.4 Online Update repositories, not even Update-Test, on account of its being "too minor", see bug 684759 comment #5), but it wasn't.
Comment 1 Thomas Göttlicher 2011-11-21 12:52:38 UTC
Everything works as expected. YaST shows a list of packages only if these packages were selected automatically in order to satisfy dependencies. In case YaST just installs/deinstalls packages the user has selected/deselected it doesn't show a window.
Comment 2 Tony Mechelynck 2011-11-22 05:38:04 UTC
(In reply to comment #1)
> Everything works as expected. YaST shows a list of packages only if these
> packages were selected automatically in order to satisfy dependencies. In case
> YaST just installs/deinstalls packages the user has selected/deselected it
> doesn't show a window.

No, no, no, that's not what I mean. You're talking of a popup windows saying what YaST _will do_. What I mean is the window which says what it _is_ doing, which replaces the window in which you clicked "Accept" if there are no dependencies to resolve (or once you click "Continue" in the popup); that window is in turn replaced by the SuSEconfig log.

I see there one line (plus OK) for every package downloaded, plus additional lines if there are delta-RPMs, and at the end there are "Installing" lines: all these include the package name. But if I have selected packages for removal, I see

Removing
OK
Removing
OK
Removing
OK
Removing
OK

without any package name. _That's_ where I'd like package names to be displayed.
Comment 3 Tony Mechelynck 2011-11-22 23:16:41 UTC
Created attachment 463526 [details]
screenshot showing the problem
Comment 4 Ladislav Slezák 2011-12-05 16:49:13 UTC
The problem is in the online-update module, when removing a package using sw_single the name is displayed.

Jiri, the problem seems to be in the online update package callbacks.
Comment 5 Tony Mechelynck 2011-12-06 04:14:41 UTC
(In reply to comment #4)
> The problem is in the online-update module, when removing a package using
> sw_single the name is displayed.
> 
> Jiri, the problem seems to be in the online update package callbacks.

Happened to me after using "Search" from "Online Update" then manually selecting one or more packages for removal (e.g. debuginfo packages whose non-debuginfo package had been uninstalled previously)
Comment 6 Jiří Suchomel 2011-12-09 14:53:50 UTC
Fixed in Factory
Comment 7 Bernhard Wiedemann 2011-12-09 15:00:48 UTC
This is an autogenerated message for OBS integration:
This bug (731485) was mentioned in
https://build.opensuse.org/request/show/96127 Factory / yast2-online-update