On Tue, Feb 8, 2011 at 9:22 PM, Jeff Johnson <n3...@mac.com> wrote:

>
> On Feb 8, 2011, at 10:32 PM, Matthew Dawkins wrote:
>
> > Ok this is my first attempt at building a chroot with
> rpm-5.3.8-0.20110125.3.
> >
> > #Error after the basesystem + smart installed
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > rpmdb: unrecognized name-value pair: set_create_dir
> > error: db4 error(22) from dbenv->open: Invalid argument
> > .
>
> You are not using db-5.1.19. There's some annoying syntax changes in
> DB_CONFIG.
>
> For starters, just comment out the lines in /var/lib/rpm/DB_CONFIG. The log
> files
> won't be in a log/log.* subdirectory, nothing else matters.
>
> Have you run the dbconvert.sh script?
>
> hth
>
> 73 de Jeff



I was missing the db51-utils pkgs, so it would fail trying to run
dbconvert.sh

Should that be added as a requires to the spec file???

Other than the first query to the DB seems to take awhile, but then
everything is all good.

Going to re-try bootstrapping chroots.

Matt

Reply via email to