[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: error: unrecognized db option: "db3" ignored.



On Wed, Jan 09, 2002 at 11:34:20AM -0500, Jeff Johnson mentioned:
> On Wed, Jan 09, 2002 at 04:29:01PM +0000, John P. Looney wrote:
> >  This has been done, and that's how I was able to do the install of
> > various packages, RPM included. However, once all the packages are
> > installed, rpm doesn't work inside the chrooted environment, as it doesn't
> > seem to understand the RPM db3 formatted database.
> What does rpm --showrc say when run in the chroot?

 Rather less than when run in the full OS...

> You're gonna need /usr/lib/rpm/macros and other configuration in the chroot.

 I had a quick look, and it seemed that the chroot rpm installation was
considerably smaller than I thought. Macros and rpmrc were not there. A
reinstall fixed it.

 Yeah! Thanks for pointing me in the right direction.

> You might also look at /usr/lib/rpm/trpm. I run that script daily while
> testing rpm installs into a chroot.

 How does one use this ? "trpm -Uvh package.rpm --root /tmp/chroot" ?

John

-- 
_______________________________________
John Looney             Chief Scientist
a n t e f a c t o     t: +353 1 8586004
www.antefacto.com     f: +353 1 8586014

Attachment: pgp00006.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []