Re: loading fresh system from rpm list?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: R P Herrold
Date:  
To: Steven A. DuChene
CC: Main PLUG discussion list
Subject: Re: loading fresh system from rpm list?
On Mon, 23 Nov 2009, Steven A. DuChene wrote:

> The original system is a VERY minimal install and that is what
> the owner wants me to mimic on the second system. He very carefully
> went through and removed any packages he did not absolutely need
> so rather than duplicate that work I thought I could somehow just
> work from his list of rpms on the original system.


I would worry that he broke dependencies unless he was using
an audit tool. To trust, but verify, see:

     http://www.owlriver.com/tips/broken-system/


and I would like a pink pony. ;) As no such ponies are on
my horizon, this paragraph was there for just that reason

     http://www.herrold.com/pink-150x.jpg


I am also the initial reference author for the 'tiny centos'
page, describing a methodology to getting to small installs

     http://www.owlriver.com/tips/tiny-centos/


I'll probably re-work this email series up into another tip.

Dennis Kibbe also made me do some work on the weekend with a
question he raised. No rest for the weary.

     http://wiki.centos.org/PackageManagement/Yum/Priorities


>> Then on the clone, run:
>>     rpm -qa --qf '%{name}\n' | grep -v kernel | sort |  \
>>         uniq >  /tmp/rpmlist.txt

>>
>>     diff -u rpmlist.txt /tmp/rpmlist.txt

>>
>> and
>>     rpm -e any strays present on the clone,

>>
>> and note anything not present, and repair to taste [this can
>> happen over time as the items in a point respin change, or if
>> a non-CentOS archive is used]


We have a product we use for testing such stripped boxes, as
well as for production, and we make it available to customers:

     http://www.pmman.com/


-- Russ herrold
      (480) 389-6968
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss