On Fri, Aug 08, 2003 at 03:17:25PM -0400, Frank Griffin wrote:
> The current install gives you a way to save your package selections to a 
> floppy which can then be used in later installs to avoid having to 
> manually re-select everything.
> 
> Is there any way to generate such a floppy from a running system ?  In 
> other words, once I get a particular cooker "stocked" with various 
> packages added over time (many post-install), can I create a floppy that 
> can be fed to another install which will select all of the packages in 
> the first system, whether they were selected during installation or 
> after installation ?

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...

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"What upsets me is not that you lied to me, but that from now on I can
no longer believe you." -- Nietzsche

Reply via email to