Bug 1234

Summary: No response when I click the 'Install/Remove Software' icon
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Yi Zhao <yi.zhao>
Component: graphicsAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: edwin.zhai, jiajun.xu, josh, ke.yu, liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, sgw, wenhuax.fan, yi.zhao
Version: unspecified   
Target Milestone: 1.1 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2011-07-11 19:51:16 UTC
Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-30-generic

Image location:
http://autobuilder.yoctoproject.org/nightly/20110708-1/
Tree/Branch: Poky/1.1_M2
Poky Commit: 9f4eaeef33da5595748253d59d95c7ca548e28fa

When I click the 'Install/Remove Software' icon, there is no response and some error message would be printed on console: 
#######################
root@beagleboard:~# No package manager installed?
yast
xdg-su: no graphical method available for invoking '/sbin/yast2 --install' as 'root'
#######################

This issue is not a new one, but exist for a long time.
Comment 1 Ke Yu 2011-07-11 21:04:06 UTC
Have a furhter look at /usr/bin/package-manager, and found the reason is that: non of the supported package manager (yast, zlm, kpackagekit, gnome-packagekit) are installed. so the the 'Install/Remove Software' icon exit with error info.

To fix it, we need to select one package manager GUI, and revise the /usr/bin/package-manager accordingly. so transfer it to Mark
Comment 2 wenhua.fan 2011-09-05 01:37:43 UTC
This issue still exist for Yocto1.1 20110901 build, the commit information as below:

Qemux86/Qemux86-64
Tree/Branch: Poky/Master
Poky Commit id: 705ec50edda7f7fb8c132238fe3f1477384a470e


Image location:
http://autobuilder03.jf.intel.com/nightly/20110831-1/machines/qemu/
Comment 3 Edwin Zhai 2011-09-07 19:11:08 UTC
/usr/share/applications/package-manager.desktop shows:
[Desktop Entry]
Encoding=UTF-8
Name=Install/Remove Software
Exec=package-manager --install %F
#Icon=package-manager-icon
Terminal=false
Type=Application
Categories=PackageManager;X-SuSE-ControlCenter-System;
MimeType=application/x-rpm;application/x-redhat-package-manager;
StartupNotify=true
Comment 4 Ke Yu 2011-09-07 20:33:44 UTC
(In reply to comment #3)
> /usr/share/applications/package-manager.desktop shows:
> [Desktop Entry]
> Encoding=UTF-8
> Name=Install/Remove Software
> Exec=package-manager --install %F
> #Icon=package-manager-icon
> Terminal=false
> Type=Application
> Categories=PackageManager;X-SuSE-ControlCenter-System;
> MimeType=application/x-rpm;application/x-redhat-package-manager;
> StartupNotify=true


and package-manager.desktop is from recipe libzypp_git.bb. its source file has: tools/package-manager/package-manager.desktop
Comment 5 Joshua Lock - Disabled 2011-09-13 16:54:26 UTC
*** Bug 1478 has been marked as a duplicate of this bug. ***
Comment 6 Edwin Zhai 2011-09-15 01:18:49 UTC
poky master has removed this icon (a765b9afdf1e781e1ad11f0642817bcfa5cf13ce).
Comment 7 liang li 2011-09-15 20:16:48 UTC
qemumips sato image from nightly build 20110915-2:
http://autobuilder.pokylinux.org/nightly/20110915-2/machines/qemumips/
the 'Install/Remove Software' icon is removed.
Comment 9 Yi Zhao 2011-09-22 00:09:40 UTC
Verified it with 1.1 M2 RC2 20110914 build.

Tree/Branch: poky-contrib/rc2
Poky Commit: 6e19ec6948f012b588016842d991b336dc848163

The icon has been removed.