On Wed, Jan 09, 2002 at 11:25:58AM -0500, Jeff Johnson mentioned: > On Wed, Jan 09, 2002 at 04:17:11PM +0000, John P. Looney wrote: > > I have an installed RPM database (in a chrooted environment) which seems > > to work. I can do stuff like; > > rpm -i package.rpm --root /tmp/chroot > > all working... > > rpm -qa --root /tmp/chroot > (From memory, possibly imperfect) You probably need > mkdir -p /tmp/chroot/var/lib/rpm > rpm --root /tmp/chroot --initdb 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. 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:
pgp00005.pgp
Description: PGP signature