Re: installing rpm packages with other root

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

 



* On [30 Aug 2005 03:53 +0300] <yux@xxxxxxxxxx> wrote:
> Tarek Ghaleb wrote:
>
> >That's it then. Try,
> > $ install -d /mnt/mynewsystemroot/var/lib/rpm
> > $ rpm --root=/mnt/mynewsystemroot/var/lib/rpm --initdb
> >and then install your rpms. This should work.

I made a mistake there, second command should be
$ rpm --root=/mnt/mynewsystemroot --initdb

> Ok this is what I tried:
> 
> export m=/mnt/mynewsystemroot
> rm -rf ${m}
> install -d ${m}

So this command should be,
  $ install -d ${m}/var/lib/rpm

> rpm --root=${m} --initdb
> rpm --root=${m} *rpm

Tarek.

-- 
"Do not write so that you can be understood, write so that you cannot 
be misunderstood." - Epictetus

_______________________________________________
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