[Rpm-maint] rpm --root doesn't work or I am doing something wrong?

Marcin Rybak marti at dimerge.net
Sun Mar 9 15:45:45 UTC 2008


2008/3/7, Neo Jia <neojia at gmail.com>:
>
> > rpm --root=/home/cjia/workareas/rpm_root/fc8_root/ -ivh
> setup-2.6.10-1.fc8.noarch.rpm
> warning: setup-2.6.10-1.fc8.noarch.rpm: Header V3 DSA signature:
> NOKEY, key ID 4f2a6fd2
> Preparing...                ###########################################
> [100%]
>    1:setup                  ###########################################
> [100%]
> error: unpacking of archive failed on file /etc/aliases;47d1b91c:
> cpio: open failed - Permission denied
>
> Why it is still trying to write to /etc/... ?



Did you init the rpm database inside the --root?

BR,

Marcin Rybak

http://marti.dimerge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-maint/attachments/20080309/87d59af0/attachment-0001.htm 


More information about the Rpm-maint mailing list