Christian H. Toldnes wrote:
> Morten Nilsen wrote:
>> rpm --rebuilddb fixed it..
> 
> correct. Swup plays as nice as it can. However, the rpm-python functions 
> in this version of rpm are not completely capable of initializing the 
> rpm database correctly. Earlier versions didn't try to initialize it at 
> all, so it's a step in the right direction. I like to do the manual rpm 
> --initrd --root=/path/to/root before any swup run to be sure of a good 
> result.

I'm guessing you mean --initdb, not --initrd ;)

#  rpm --initrd --root /tmp
--initrd: unknown option

in any case.. --initdb seems not to work so well..

Bruce Platt wrote:
> On 2.2, I get the following error on:
> 
> [EMAIL PROTECTED] /home/root-export# rpm --initdb --root /home/root-export
> error: cannot open Packages index using db3 - No such file or directory (2)
> 


so I changed the wiki article to use --rebuilddb after chrooting.. for now.

Cheers,
-- 
Morten
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to