Jos Vos jos-at-xos.nl |rpm-list| wrote:
What makes you think "the list is ordered"
I assumed the list was ordered because the name of the file is
'install.log', which to me means a running tally of the packages as they
are installed from media.
Install the packages in one command ("transaction set"), like
rpm -Uvh --root /some/new/rootDir `cat /tmp/rpmlist`
then -- if the package set is "closed", i.e. without unresolved
dependencies, rpm will calculate the installation order itself.
Tried as you suggest. Came to this error and others like it:
error: Failed dependencies:
libxml = 1.8.17 is needed by libxml-devel-1.8.17-8.i386
but yet:
[root@box /]# grep libxml /tmp/rpmList
/path/RedHat/RPMS/libxml2-2.5.4-1.i386.rpm
/path/RedHat/RPMS/perl-libxml-perl-0.07-28.noarch.rpm
/path/RedHat/RPMS/perl-libxml-enno-1.02-29.noarch.rpm
/path/RedHat/RPMS/libxml-1.8.17-8.i386.rpm
/path/RedHat/RPMS/libxml2-python-2.5.4-1.i386.rpm
/path/RedHat/RPMS/libxml-devel-1.8.17-8.i386.rpm
and:
box </>$ ls -l /path/RedHat/RPMS/libxml-1.8.17-8.i386.rpm
-rw-rw-r-- 1 user users 218K Aug 13 2003
/hfl/kickstart/RedHat/RPMS/libxml-1.8.17-8.i386.rpm
So I have the rpm in the list and on the disk. Is this a bug?
2. Does the new root dir need a rpm database of its own to make this work?
Yes, but that will be created automatically if /var/lib/rpm exists.
cool.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list