Bug 787 - rpm remove package error
Summary: rpm remove package error
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: All Multiple
: Low minor
Target Milestone: 1.0 M4
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-01 23:15 UTC by Yi Zhao
Modified: 2011-03-22 22:36 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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