On Thu, Feb 05, 2004 at 09:37:18AM +0100, Nils Philippsen wrote: > - Look in /usr/share/doc, most packages have a doc directory which is > named after the package name and version > - Afterwards look in /etc, /sbin, /bin, /usr/bin, /usr/sbin, ... after > files that are not owned by a package; look which packages own these on > your other machine How about: Set up the new database and install rpmdb-*.rpm, and as root: find /bin /boot /dev /etc /lib /opt /root /sbin /usr /var/ \ | xargs -r rpm -q --redhatprovides \ | sort -u > /var/tmp/installed-packages In a directory of the RPMS, one ought to be able to do something like the following sed -e 's/$/.*/' /var/tmp/installed | xargs echo /bin/ls -d | sh 2>/dev/null to obtain a list of rpms. Beware the multiple arch packages (i.e., i386, i686 versions of kernel, glibc, openssl, gzip, etc.); they will result in duplicates in the list. After you prune the list as necessary, install those packages with --justdb. Regards, Bill Rugolsky _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list