Bug 489

Summary: [zypper] uname -m and repo arch difference
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Qing He <qing.he>
Component: meta-yoctoAssignee: Qing He <qing.he>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, jiajun.xu, ke.yu, kevin.tian, n3npq, poky.bs.watcher, poky.watcher, richard.purdie, sgw, yi.zhao
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Qing He 2010-10-19 09:19:35 UTC
on qemuarm: uname -m shows armv5tejl, while the rpm arch is armv5te
this fails zypper...

reproduce step:
  $ zypper addrepo http://192.168.7.1/rpm rpm
  $ zypper pa
  Loading repository data...
  Reading installed packages...
  
  No packages found.


possible workaround:
add "arch = armv5te" in /etc/zypp/zypp.conf
Comment 1 Jeff Johnson 2010-10-27 11:43:56 UTC
Tracked at https://bugs.launchpad.net/rpm/+bug/667411
Comment 2 Ke Yu 2010-12-08 22:35:35 UTC
wait for zypper and rpm usability enhancement complete
Comment 3 Qing He 2011-02-15 00:47:54 UTC
move to M4 due to the image instabilities before end of M3
Comment 4 Qing He 2011-03-16 19:06:53 UTC
should be fixed in

http://git.pokylinux.org/cgit.cgi/poky/commit/?h=bernard&id=8f0fc87a18295d54aa3d229a7975722c88abaefe

note that "zypper pa" needs a lot of time to run, other testings are preferred.
Comment 5 Yi Zhao 2011-03-23 00:13:05 UTC
With the 20110318 gold build qemuarm image, zypper can install/remove pakcage, but still have a issue. Please refer to bug 827 comment#2
Comment 6 Yi Zhao 2011-09-14 00:50:18 UTC
Verified it. This bug had been fixed.