Re: Using RPM as non-root

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

 



On 2/22/06, Christian Goetze <cg@xxxxxxxxxxx> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux