[pca] No patches listed?

David Stark dave at davidstark.name
Fri May 30 16:30:16 CEST 2008


On Fri, May 30, 2008 at 02:38:21PM +0200, Martin Paul wrote:
> David Stark wrote:
>> Hmmm. Having actually read what I sent, I see I've got:
>>
>> Option pattern: '!Intranet Input Method Framework'
>>
>> in the config. This seems to be blocking _all_ patches. Is my syntax
>> right to block just the Internet Input Method Framework patch?
>
> Took me a moment to understand what's going on. I assume you have this line 
> in the config file:
>
>   pattern='!Intranet Input Method Framework'

Yes indeed.

> You have been overzealous as far as escaping/quoting is concerned; in the 
> config file you don't need quotes. Try this instead:
>
>   pattern=!Intranet Input Method Framework
>
> In your example, pca gets the pattern including the quote characters as-is, 
> and doesn't recognize it as a negative pattern as it doesn't start with ! 
> but ' instead. So it will list all patches which match the *exact* pattern 
> <'!Intranet Input Method Framework'> (I'm using <> for quoting here) - and 
> that's *no* patch.
>
> Hope this helps,

Superb. It's working as advertised.

Cheers Martin.

> Martin.

Dave

P.S. The pca run I did yesterday installed an astonishing 362 patches on one of our Sol10 3/05 machines in the space of about an hour, with no complaints or failures. Awesome.



More information about the pca mailing list