Re: loading fresh system from rpm list?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Steven A. DuChene
Date:  
To: phrkonaleash, Main PLUG discussion list
Subject: Re: loading fresh system from rpm list?
I had the owner of the system do a "rpm -qa" and redirect that to a file
so that is the list I have to start with. But the second system has a bare
hard drive so if I boot it to a rescue CD and bring over my rpm list
I can run yum from the rescue shell to build the new system that only
contains the rpms in my original list?

-----Original Message-----
>From: Ryan Rix <>
>Sent: Nov 23, 2009 2:55 PM
>To:
>Subject: Re: loading fresh system from rpm list?
>
>Steven A. DuChene wrote:
>
>> I have been requested to load a duplicate system based on the
>> list of rpms present on the original system. This is a CentOS
>> based system so I looked at the kickstart file but rather than
>> working with a list of rpms it uses a list of higher level
>> packages that then reference groups of rpms to make up each
>> package.
>>
>> Does anyone know of a tool that would allow me to do a fresh
>> load of a bare system based on a list of desired rpms?
>
>On source:
>rpm -qa --qf "install %{name}\n" > file.out
>
>On target:
>yum shell file.out
>
>as root.
>
>You can trim that list to fit. It's how I did a complete reinstall of my
>system when I switched harddrives, and if I understand your issue, that
>should work for you.
>
>>
>> I have used systemimager in the past to pull an exact image
>> of a system for cloning but this idea has been shot down
>> by the person who requested this.
>>
>> Any other tools out there that would do this?
>> --
>> Steven DuChene
>
>--
>Ryan Rix
>Fedora KDE SIG Member, Phoenix AZ Ambassador, News KDE Beat Writer
>




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss