[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RH8 Package specification in Kickstart



That rpm line is brilliant -- I'd hacked together a perl script which
used dodgy logic to accomplish the same thing.  (Interestingly
enough, the output of my script is the same as the rpm command.
Well, after both have been sorted it is.)
 
I will next attempt to verify the origins of all the rpms and attempt
to manually exclude the @base group packages.

Unfortunately this is being executed on a heavilly loaded compute
farm node, and I cannot justify removing it from the farm without a
reasonable expectation of success right now.

On Fri, Oct 17, 2003 at 07:24:12PM +0200, Florian Festi wrote:
> 
> > For stripping version numbers, maybe something like:
> > rpm -qa | sed -e 's/-[0-9][0-9]*.*$//'
> 
> arg! Don't do this! Try
> 
> rpm -qa --qf "%{name}\n"
> 
> and read the rpm man page
> 
> An other source of errors may be non RH RPMS installed on your maschine
> you want to clone. The installer can only install RPMs included in the RH
> distribution. If you added only one non RH RPM (an NVIDIA driver perhaps)
> the install will fail.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]