Stargazer wrote:
David Timms wrote:
Stargazer wrote:
Although this is like pulling teeth I feel it is getting somewhere, and
thank you again for your kind patience and want to continue to help
others reading this exchange in the future.
> David Timms wrote:
Umm: since rpm is not yet fixed, you still need to do the:
# rpm --root /mnt/sysimage ... whatever command you are trying!
Oops, yes understood, thanks
#rpm --root /mnt/sysimage -Fvh ne* gli* rpm* sql*
(No output - just returned to the bash prompt)
OK, each item mentioned is already installed. -F {freshen} doesn't
install packages that aren't installed at the moment. But we need two
not yet installed rpm packages to get installed.
For later info, it would be nice to see the full package list before any
command actually succeeds.
# rpm -qa >/mnt/sysimage/packages.2006-12-12.txt
query all packages and send result to txt file.
> ...
#rpm --root /mnt/sysimage -Uvh rpm-libs*
error: failed dependancies
rpm = 4.4.2-32 is needed by rpm-libs-4.4.2-32.i386
#rpm --root /mnt/sysimage -Uvh rpm-4*
error: failed dependancies
librpm-4.4.so is needed by rpm-4.4.2-32.i386
librpmbuild-4.4.so is needed by rpm-4.4.2-32.i386
librpmdb-4.4.so is needed by rpm-4.4.2-32.i386
librpmio-4.4.so is needed by rpm-4.4.2-32.i386
I was going to say -F {freshen} would be better, but checking back, rpm
is not installed, neither is rpm-libs {I think this didn't exist in
fc3}, so we need to to -U {update == install or upgrade}
# rpm --root /mnt/sysimage -Uvh rpm-4* rpm-libs* rpm-build* rpm-devel*
At all times rpm ensures that at the end of the transaction, all
dependencies will be met. Only updating one of a group {rpm or rpm-libs}
will be detected and aborted.
If it doesn't succeed, make a guess based on the {failed} part on which
package to add to the command line. Or look in rpmfind.net and search
for the missing .so file.
DaveT.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum