Bug 428709

Summary: Anaconda 11.4.0.20 dies at beginning of RPM transaction
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: redwolfe
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: hotissue
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-15 13:49:44 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:
Bug Depends On:    
Bug Blocks: 428703    
Attachments:
Description Flags
debugging dump from anaconda
none
updates-20080114-i386.img
none
updates-20080114-i386.img (ext2 fs image) none

Description Will Woods 2008-01-14 19:13:44 UTC
Current rawhide anaconda dies with a traceback at the beginning of the RPM
transaction. The following messages appear on VT1:

error: no dbpath has been set
error: cannot open Packages database in /mnt/sysimage/%{_dbpath}

I guess maybe we're missing rpm macros or something?

I've attached the anacdump.

Comment 1 Will Woods 2008-01-14 19:13:44 UTC
Created attachment 291614 [details]
debugging dump from anaconda

Comment 2 Chris Lumens 2008-01-14 20:03:12 UTC
This should be fixed in the next build of anaconda.

Comment 3 G.Wolfe Woodbury 2008-01-14 21:14:15 UTC
Same thing seen here on i686 platform.

Do you want my anacdump too?

Comment 4 Will Woods 2008-01-14 21:45:54 UTC
Created attachment 291645 [details]
updates-20080114-i386.img

This updates.img fixes the problem in anaconda 11.4.0.20. Tomorrow's rawhide
should include this fix; you can use this in the meantime to install i386
rawhide.

(see http://fedoraproject.org/wiki/Anaconda/Updates for details on using
updates images)

Comment 5 Will Woods 2008-01-14 21:56:07 UTC
Created attachment 291647 [details]
updates-20080114-i386.img (ext2 fs image)

Whoops - the previous image was a cpio archive, which didn't work as expected.
This one does.

Comment 6 G.Wolfe Woodbury 2008-01-15 09:50:37 UTC
This does fix the problem.

Note that the fedoraproject.org Wiki about Anaconda Updates is inconsistent
about the format of the updates.img file.  First it says make an ext3 image, and
the next section says they are CPIO archives.

Obviously the last section is wrong.

Comment 7 Chris Lumens 2008-01-15 13:49:44 UTC
Updated the wiki.  Thanks for the notice.