Bug 803

Summary: [zypper] zypper install does not work on qemux86/atom-pc
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Mark Hatle <mark.hatle>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: High CC: kunwei.tian, mark.hatle, meta.mr.watcher, meta.watcher, qing.he, sgw, xudong.hao
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-03-03 23:47:22 UTC
Image location:
http://autobuilder03.jf.intel.com/nightly/20110226-1/
Commit information: e08dc5aaaeba61e332caab4a3df5750df6b49ac1

With RC1 images(qemux86 and atom-pc), zypper install could run without any error but the to-be installed package is not really installed on system.

Check below log:
##########
root@qemux86:/opt# rpm -qa | grep man
libpixman-1-0-0.20.2-r0.i586
connman-plugin-loopback-0.65-r0.i586
connman-plugin-dnsproxy-0.65-r0.i586
connman-plugin-bluetooth-0.65-r0.i586
connman-plugin-wifi-0.65-r0.i586
connman-plugin-ethernet-0.65-r0.i586
pcmanfm-0.9.8-r0.i586
connman-0.65-r0.i586
connman-gnome-0.5-r4.i586
###########
root@qemux86:/opt# zypper install man
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  man

1 new package to install.
Overall download size: 131.0 KiB. After the operation, additional 266.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package man-1.6f-r0.x86_64 (1/1), 131.0 KiB (266.0 KiB unpacked)
Retrieving: man-1.6f-r0.x86_64.rpm [done]
Installing: man-1.6f-r0 [done]
##########
root@qemux86:/opt# man
-sh: man: not found

root@qemux86:/opt# zypper remove man
Loading repository data...
Reading installed packages...
Package 'man' is not installed.
'man' not found in package names. Trying capabilities.
No provider of 'man' is installed.
Resolving package dependencies...

Nothing to do.
##########

Reproduce Steps:
1. Prepare a rpm repo
2. Add the repo for zypper in target
3. zypper install man
4. check if command man exists
Comment 1 Mark Hatle 2011-03-07 11:35:45 UTC
I think this is the same as 722, which is already resolved, that should be verified.
Comment 2 Jiajun Xu 2011-03-12 08:47:10 UTC
With RC2 image, 20110305 build, zypper install could work now.
Comment 3 Mark Hatle 2011-03-16 19:02:31 UTC
This is now believed to be fixed.

Fix: http://git.pokylinux.org/cgit.cgi/poky/commit/?h=bernard&id=a7d927af3585403fe6eb8d184bdadd307d681e02
Comment 4 Jiajun Xu 2011-03-22 00:03:31 UTC
Verify the bug with gold build, it is fixed.

The commit number is 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45.