Re: installing rpm packages with other root

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

 




I do this often, very often.

please send to results of (ONLY if too long for list PM me)

pwd
id
mkdir -p /mnt/mynewsystemroot
stat /mnt/mynewsystemroot
rpm -r /mnt/mynewsystemroot -Uvh your.rpms


#if it fails repeat with
rpm -r /mnt/mynewsystemroot -Uvvh your.rpms

if you look at some older posts you will see copies of the script we use.



On Tue, 30 Aug 2005, Jonas Geiregat 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.

Tarek.



Ok this is what I tried:

export m=/mnt/mynewsystemroot
rm -rf ${m}
install -d ${m}
rpm --root=${m} --initdb
rpm --root=${m} *rpm

nothing has changed ..

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


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.

_______________________________________________
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