[pca] Exclude patches for old software?

Martin Paul martin at par.univie.ac.at
Fri Feb 13 10:14:26 CET 2009


Henrik,

> I would like to only download patches for the OS:es we are using.

Before describing another option, I'll second what Jan already wrote. 
It's really best to run pca on each type of system to fill the proxy. 
Just select one "model" machine for each OS revision and package set.

Myself, I'm installing the same set of packages on all machines, so this 
covers 99% of all patches already. The rest are hardware specific 
patches - you could get around this by including one of each 
architecture (sun4u, sun4v, ...) in your set of models.

> Can someone give me the instructions how to exclude patches for old 
> software, e.g. patches for PC-NFS and SunOS before 5.8?

If you really insist to go the other way round (downloading the "total" 
set minus those you don't want), get the current development release of 
pca (20090213-01). With that, you can use the "ignore" option to specify 
patterns which match the synopsis of a patch. With a pca.conf like:

   ignore=PC-NFS
   ignore=SunOS 5.[34567]
   ignore=OBSOLETED
   ignore=Obsoleted by
   ignore=^PTF
   ignore=Sysmod ID

and "pca total" you would have a start, but there are still a lot more 
patches you could ignore (Hardware/PROM, OpenWindows, unbundled 
software, etc.).

Martin.



More information about the pca mailing list