Bug 159424

Summary: sqlite3 database implementation doesn't work with --root
Product: [Fedora] Fedora Reporter: Mark Hatle <mhatle>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: n3npq
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-13 10:40:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
chroot before/after all sqlite commands none

Description Mark Hatle 2005-06-02 16:09:52 UTC
Description of problem:
When using --root on the command line and the rpm sqlite3 DB implementation, you
are unable to install packages.

The error message is:
sqlite3_step: ERROR 1
warning: cput(Packages) sql_step rc 1
warning: reset 14
error: error(1) allocating new package instance

Version-Release number of selected component (if applicable):
rpm-4_4 branch

How reproducible:
rpm --root=<path> -U <package> --dbapi 4

Comment 1 Mark Hatle 2005-06-02 16:09:53 UTC
Created attachment 115091 [details]
chroot before/after all sqlite commands

Comment 2 Jeff Johnson 2005-07-13 10:40:57 UTC
Added to rpm-4_4 CVS, should be in rpm-4.4.2-0.8 when built. Thanks for the patch.