On Wed, Mar 9, 2011 at 7:48 PM, Dr. Ed Morbius <[email protected]> wrote:
> on 15:49 Wed 09 Mar, Keith Keller ([email protected]) wrote:
>> On Wed, Mar 09, 2011 at 01:44:18PM -0800, Dr. Ed Morbius wrote:
>> > on 09:24 Wed 09 Mar, Simon Matter ([email protected]) wrote:
>> > >
>> > > Yes, only that reinstall doesn't exist in EL4 :)
>> >
>> > It doesn't?
>> >
>> >     rpm -Uvh <packagelist>
>>
>> Creating the package list is what yum does automatically; using rpm
>> directly means creating a list of URLs or downloading rpms
>> individually.
>
> See my other recent post to this thread for how that's done.
>
> Essentially:  use RPM to generate a list of all packages.  List all
> files in those packages.  Filter for files on /boot.  Identify the
> packages with files on /boot.   Reinstall those packages.
>
> It's a shell one-liner.

The packages, as of the last night's cron jobs, are typically in
"/var/log/rpmpkgs", generated by the "/etc/cron.daily/rpm" script.
That script is not mandatory and does not seem to be in RHEL 6 nor
will it therefore be in CentOS 6, but lord, it's useful in this kind
of situation. It's also much faster to parse, than manually issuing
"yum" commands.
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to