-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 11 June 2002 08:37 pm, Matthew Bradford wrote:
> Paul,
>     Check out the man page for rpm (man rpm) and look up the part that
> talks about the --root option.  This should be what you're looking for.

Not likely to do what he wants, I don't think. rpm will look at the rpm 
database under the directory given in the --root argument. In this case, 
it won't exist, and most packages will fail to install complaining about 
dependencies. In fact, before even getting that far, the database would 
probably have to be initialized.

After testing, even as root:
[root@paradox tmp]#  rpm -ivh --root /home/mfratoni/devel/slinky/tmp/ 
logsentry-1.1.1-1.i386.rpm
error: cannot open Packages index using db3 - No such file or directory 
(2)
error: cannot open Packages database in 
/home/mfratoni/devel/slinky/tmp/var/lib/rpm

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj0Gm40ACgkQn/07WoAb/SuGcQCeMvMbraYxL5RzkuGwgQP17+Mc
SrUAnRXZk9u3Eg35zsEhJAJtAeXROzv1
=Tyn0
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to