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

Bug#409907: Installing lpr over lprng doesn't work



Craig Small wrote:
> On Wed, Feb 07, 2007 at 07:36:47AM +0100, Martin Schulze wrote:
>> Purge means purge, but it shouldnt purge files/directories now owned
>> by another package.  lpr/lprng are a special case I guess.
> 
> Hmm, yes I see the problem now.
> So either lprng has to orphan the spool directory, in other words
> it will be there if you purge lprng and do not install anything or
> we get your problem described in this bug report.
> 
> I can't see a way of lprng postinst saying 'oh lpr is being installed'
> and not deleting the directory.


One way is to have a question in the postrm on purge to check if the
directory should be removed.

I'm not sure what the best way is. I guess lpr should use /var/spool/lpr
and lprng should use /var/spool/lprng. The current state of things is
more legacy than anything. After all, no other programs should be
messing with the spool directories anyway. Messy solution, but fixes the
current problem.

- Adam




Reply to: