I gave this a try "importing" rpm databases from various cooker systems to my current one, and it seems to work fine. I did write some local code to compare the package.list to a reference one resulting from a vanilla install with all boxes checked and no individual packages selected, because invoking urpmi for all of the already-installed guys ate up considerable time, even on a fast machine.Not really. However you could do: rpm -qa --qf '%{NAME}\n' > package.list
Then run urpmi for each package name after the install: for package in `cat package.list`; do urpmi "$package" done
You'll have some that won't exist anymore (libraries for example with changing major names). But it ought to work for anything else.
Can't say I've done this myself...
Thanks !
