Re: installing rpm packages with other root

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

 



* On [30 Aug 2005 03:19 +0300] <turmeric2005@xxxxxxxx> wrote:

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

I just noticed the above line doesn't have an -i as well!

try: rpm -ivh --root=${m} *rpm

I've done this at least a couple of times this week and it works using
rpm version 4.4.2

  export m=/mnt/mynewsystemroot
  echo $m # to check

  Then as root:
  install -d ${m}/var/lib/rpm
  rpm --root=${m} --initdb
  rpm -ivh --root=${m} *rpm

  and

  rpm -qa --root=${m} *rpm

I think this should work.

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