rpm -i --root=/chroot', error: can't create transaction lock
Bug #651524 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned | ||
Fedora |
Fix Released
|
Medium
|
Bug Description
tracker
tags: | added: chroot install rhel rpmdb |
summary: |
- pm -i --root=/chroot', error: can't create transaction lock + rpm -i --root=/chroot', error: can't create transaction lock |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Description of problem:
'rpm -i --root=/chroot' complains that it needs creation of transaction lock but rpm -U works well.
Version-Release number of selected component (if applicable):
RHEL54: rpm-4.4. 2.3-9.el5. x86_64 2.3-16. el5.x86_ 64
and
RHEL53: rpm-4.4.
maybe even older
upstream is fixed
How reproducible:
always
Steps to Reproduce:
0. # external folder is empty or doesn't exists : /tmp/zip2
1. # rpm -ivh /mnt/redhat/ brewroot/ packages/ zip/2.31/ 2.el5/` uname -i`/zip-2* --root= /tmp/zip2- -nodeps var/lib/ rpm/__db. 000
error: can't create transaction lock on /tmp/zip2/
2 # rpm -Uvh /mnt/redhat/ brewroot/ packages/ zip/2.31/ 2.el5/` uname -i`/zip-2* --root= /tmp/zip2- -nodeps ####### ####### ####### ####### ####### # [100%]
Preparing... #######
1:zip
Actual results:
rpm -i --root=/external <pkgs> && can't create transaction
Expected results:
rpm -i --root=/external <pkgs>
# should install package
Additional info: /errata. devel.redhat. com/errata/ show/8629# c72
found during errata testing:
https:/