Bug 194291
Summary: | rpmdb error during post-install script | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | kadischi | Assignee: | Chitlesh GOORAH <chitlesh> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | extras-qa |
Target Milestone: | --- | Keywords: | EasyFix, Patch |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-06-18 15:33:31 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: |
Description
Orion Poplawski
2006-06-06 21:40:58 UTC
This should fix it: cvs diff -u lib/functions.py Index: lib/functions.py =================================================================== RCS file: /cvs/devel/kadischi/lib/functions.py,v retrieving revision 1.7 diff -u -r1.7 functions.py --- lib/functions.py 11 Apr 2006 16:16:26 -0000 1.7 +++ lib/functions.py 6 Jun 2006 22:14:41 -0000 @@ -47,9 +47,9 @@ def rmpath (p): try: os.remove (p) except OSError: pass - rmpath (normalize_path ('var/lib/rpm/__db.001', rootdir)) - rmpath (normalize_path ('var/lib/rpm/__db.002', rootdir)) - rmpath (normalize_path ('var/lib/rpm/__db.003', rootdir)) + rmpath (normalize_path (['var/lib/rpm/__db.001'], rootdir)) + rmpath (normalize_path (['var/lib/rpm/__db.002'], rootdir)) + rmpath (normalize_path (['var/lib/rpm/__db.003'], rootdir)) def check_installed_rpms (rootdir, required_rpms, clear_db = True): """Sanity check the target system for required RPMs""" I do not have the hardware to test this error, for 64 bit machines. Can you explain a bit more about your build environment for Kadischi and what environment it is running in, along with the arch of the repository you are using? Does the patch you provided appear to solve the problem for sure? Committed to CVS. |