Bug 787

Summary: rpm remove package error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Yi Zhao <yi.zhao>
Component: coreAssignee: Mark Hatle <mark.hatle>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: Low CC: jiajun.xu, kunwei.tian, liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2011-03-01 23:15:10 UTC
Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-25-generic

Images from weekly build 20110226
http://autobuilder.pokylinux.org/nightly/20110226-1/

When running 'rpm -e package' command would meet an error:
#################
root@qemuarm:~# rpm -ivh man-1.6f-r0.armv5te.rpm 
Preparing...                ########################################### [100%]
   1:man                    ########################################### [100%]
root@qemuarm:~# rpm -ivh man-dev-1.6f-r0.armv5te.rpm 
Preparing...                ########################################### [100%]
   1:man-dev                ########################################### [100%]
root@qemuarm:~# rpm -e man-dev
error: cannot create %_repackage_dir /var/spool/repackage/1298783317
root@qemuarm:~# rpm -e man
error: cannot create %_repackage_dir /var/spool/repackage/1298783326
#################

But the package can be removed.

This issue happens on qemuarm/qemumips/qemuppc and beagleboard.
Comment 1 Jiajun Xu 2011-03-02 06:10:52 UTC
The same error happens on x86 platform also.
Comment 2 Mark Hatle 2011-03-02 14:24:17 UTC
Lowering the priority.  This is not actually a failure.  The package is indeed removed.
Comment 4 Yi Zhao 2011-03-22 22:36:01 UTC
Verify the bug with gold build, it is fixed.

The commit number is 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45