[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Using RPM as non-root



On 2/22/06, Christian Goetze <cg sensage com> wrote:
> Is there a way to run rpm as non-root in such a way that it can refer to
> the /var/lib/rpm database in read-only mode to resolve dependencies, but
> write to the rpm database specified in --db-path?
>
> Alternatively, is there a safe way to copy or export the database into
> the one specified in --db-path?
> --
> cg

The cp command works just fine.  You wouldn't want to copy it while
rpm is updating the system, but other than that your good.  After you
copy all the files just remove the __db* files, so that new locks can
be created.

Cheers...james
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]