Bug 845

Summary: [zypper] zypper install failed on routerstationpro sdk image
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Liang Wang <liangliang.wang>
Component: coreAssignee: Qing He <qing.he>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jiajun.xu, liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, qing.he, yi.zhao
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Liang Wang 2011-03-10 17:53:57 UTC
Testing Environment
===============================
Host: routerstationpro
Kernel: Linux version 2.6.37.2-yocto-standard-00286-g17dedeb
Image location: http://autobuilder.yoctoproject.org/nightly/20110305-4/machines/routerstationpro/mips/
commit c192fefd868be53c20dfd8bc44e3e815cf53a10a

Steps
===============================
1. Prepare a rpm repo
2. Add the repo for zypper in target
3. zypper install man

Observed Result
===============================
The package can not be installed to target when using 'zypper install xxx', please see below for more info.
BTW, on qemumips, the 'zypper search xxx' has segfault, but on routerstationpro, it is not have segfault.

root@routerstationpro:~# zypper addrepo http://128.224.162.142/rpmrepo rpmrepo
Adding repository 'rpmrepo' [done]
Repository 'rpmrepo' successfully added
Enabled: Yes
Autorefresh: No
URI: http://128.224.162.142/rpmrepo

root@routerstationpro:~# 
root@routerstationpro:~# rpm -qa | grep man-
perl-module-pod-man-5.12.2-r2.mips
perl-module-pod-perldoc-toman-5.12.2-r2.mips
libpixman-1-0-0.20.2-r0.mips
connman-plugin-loopback-0.65-r0.mips
connman-plugin-dnsproxy-0.65-r0.mips
connman-plugin-bluetooth-0.65-r0.mips
connman-plugin-wifi-0.65-r0.mips
connman-plugin-ethernet-0.65-r0.mips
libpixman-1-dev-0.20.2-r0.mips
connman-0.65-r0.mips
connman-gnome-0.5-r4.mips
connman-gnome-dev-0.5-r4.mips
root@routerstationpro:~# 
root@routerstationpro:~# zypper install man
File 'repomd.xml' from repository 'rpmrepo' is unsigned, continue? [yes/no] (no): yes
Building repository 'rpmrepo' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: man-1.6e-r0.mips is not installable
 Solution 1: do not install man-1.6e-r0.mips

Choose the above solution using '1' or cancel using 'c' [1/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

Nothing to do.
root@routerstationpro:~# rpm -qa | grep man-
perl-module-pod-man-5.12.2-r2.mips
perl-module-pod-perldoc-toman-5.12.2-r2.mips
libpixman-1-0-0.20.2-r0.mips
connman-plugin-loopback-0.65-r0.mips
connman-plugin-dnsproxy-0.65-r0.mips
connman-plugin-bluetooth-0.65-r0.mips
connman-plugin-wifi-0.65-r0.mips
connman-plugin-ethernet-0.65-r0.mips
libpixman-1-dev-0.20.2-r0.mips
connman-0.65-r0.mips
connman-gnome-0.5-r4.mips
connman-gnome-dev-0.5-r4.mips
root@routerstationpro:~#
Comment 2 Liang Wang 2011-03-21 23:49:02 UTC
This issue does not occur on qemumips and routerstationpro. And the zypper/rpm install/removal are normally.

Image location:
http://autobuilder.yoctoproject.org/nightly/20110318-3/

commit 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45