[cups] how to disable automatic ppd updating

Brian Potkin claremont102 at gmail.com
Tue Oct 3 11:48:41 PDT 2017


On Tue 03 Oct 2017 at 11:38:46 -0500, Michael Pardee wrote:

> I don't know if this is a problem specific to the debian/ubuntu packaging,
> but when cups updates it updates my ppds, overwriting my custom changes.
> For example I have taken out the duplex options of a pcl 5c driver to
> create a queue with no duplex option, but when the cups package updates it
> regenerates the ppd and the duplex options are back in my ppds in
> /etc/cups/ppd.
> 
> My question is: how should I properly disable the automatic ppd updating?
> Is there something in the header of the ppd that it is keying off of that I
> can change/delete?  Do I need to back up and restore my custom ppds whenver
> I update cups?  I don't want to disable the postinst cups script altogether.

A distro-specific issue, probably more suited to the help avenues Debian
and Ubuntu provide. It would be interesting to discover how a postinst
is disabled.

Anyway: change the attributes on the ppd file. 'chattr +i'.

-- 
Brian.


More information about the cups mailing list