[Fedora-livecd-list] Networking during install
Bryan Kearney
bkearney at redhat.com
Thu Jun 12 17:49:54 UTC 2008
Jeremy Katz wrote:
> On Thu, 2008-06-12 at 13:08 -0400, Bryan Kearney wrote:
>> I have an odd question. I am trying to build a livecd for a partner, and
>> hte rpm will not install via the livecd (net net is that the pre-scripts
>> which they use dont play well in a chrooted env.
>
> I'm afraid to ask, but how so? They shouldn't really have any way of
> being able to tell.
They are not using complete paths in the script. So.. it is failing when
trying to find mkdir and date.
>
>> I figured I would work around this by putting a wget int he post section
>> to get the rpm from the repo, and then install it locally. Yum gives me
>> this error:
>>
>> rpmdb: Program version 4.3 doesn't match environment version
>> error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database
>> environment version mismatch
>> error: cannot open Packages index using db3 - (-30974)
>> error: cannot open Packages database in /var/lib/rpm
>>
>>
>> Any way around this? This is on the RHEL5 livecd tools.
>
> The version of rpm outside and inside the chroot are different. You can
> do the cleanup by hand of 'rm -f /var/lib/rpm/__*db*' as long as you
> know nothing from outside is accessing it at that point
>
Thanks.. I will give that a try.
-- bk
More information about the Fedora-livecd-list
mailing list