Bug 529137

Summary: Main Menu "Install Software" fails
Product: [openSUSE] openSUSE 11.2 Reporter: Stephan Binner <binner>
Component: libzyppAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: forgotten_OvlPd7Jcli, lmedinas, ma, mvidner, rastislav.krupansky, robert, taril_laszlo, vuntz, wolfgang
Version: Milestone 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot

Description Stephan Binner 2009-08-07 10:39:49 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox/3.5.2

M5 DVD GNOME installation, calling "Install Software" in the main menu fails with a popup "Failed to install a package to provide a file. You need to specify a file to install".

Reproducible: Always
Comment 1 Vincent Untz 2009-08-07 10:44:20 UTC
This is package-manager.desktop, which comes from libzypp.
Comment 2 Robert E. 2009-08-07 20:17:02 UTC
I can confirm the problem on the 11.2M5 LiveCD with German language settings.
Comment 3 Rastislav Krupansky 2009-08-11 19:53:00 UTC
I can confirm also exactly the same issue in Gnome from LiveCD.
Comment 4 Rastislav Krupansky 2009-08-11 19:54:54 UTC
Created attachment 312024 [details]
screenshot
Comment 5 Jan Kupec 2009-08-12 09:09:15 UTC
Rasto, Stephan, can you check what process did the .desktop file start? Probably /usr/bin/gpk-install-local-file the-package.rpm, but let's check.
Comment 6 Rastislav Krupansky 2009-08-12 15:03:43 UTC
yes, but without the-package.rpm

output ps aux | less

user@linux-jp9l:~> ps aux | less
user     12459  0.0  1.2 134764 12736 ?        S    18:49   0:00 /usr/bin/gpk-install-local-file

output ps aux | grep '.rpm'

user@linux-jp9l:~> ps aux | grep '.rpm'
user     15958  0.0  0.0   3304   776 pts/0    R+   19:02   0:00 grep .rpm
Comment 7 Jan Kupec 2009-08-12 15:08:59 UTC
Thanx! That look like the packagekit app indeed did not receive the path to the file to install. Martin, any idea why, or who should fix it?
Comment 8 Martin Vidner 2009-08-12 15:38:05 UTC
http://git.opensuse.org/?p=projects/zypp/libzypp.git;a=commitdiff;h=a3636daedf3568dd671cad5a2dcd3b8d6865837b

Duncan used a command that *requires* an argument, whereas the desktop file can call it without one. I am sure there is a PK UI to be invoked instead.
Comment 9 Stephan Binner 2009-08-15 18:15:05 UTC
*** Bug 531541 has been marked as a duplicate of this bug. ***
Comment 10 Forgotten User OvlPd7Jcli 2009-08-21 18:07:56 UTC
Still in m6. Moving to it.
Comment 11 Michael Andres 2009-08-31 13:28:39 UTC
Fixed in 6.13.3

If no packages are passed on the commandline it starts 'yast2 --install' instead
of kpackagekit/gpk-install-local-file.