loading fresh system from rpm list?
R P Herrold
herrold at owlriver.com
Mon Nov 23 13:54:06 MST 2009
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
More information about the PLUG-discuss
mailing list