Christian Hammers wrote: > > On 2007-04-09 Adam Majer wrote: >> Christian Hammers wrote: >>> While upgrading from sarge to etch: >>> >>> dpkg: error >>> processing /var/cache/apt/archives/lpr_1%3a2006.11.04_i386.deb >>> (--unpack): trying to overwrite `/etc/logcheck/ignore.d.server/lpr', >>> which is also in package logcheck-database >>> >>> Maybe lpr should have a "Replace: logcheck-database" header? >> >> No, it should not conflict or there would be no logcheck-database (or >> printer!) > > Not "Conflicts: " but "Replaces:", that's a different thing in the > debian/control file. Replace just means that one package overwrites files > from another package. Only if it also conflicts, the other one is removed.
Opps.. I read Replace as Conflict. :) >> For Etch, I guess the best way is to delete the offending file during >> installation. The two files are probably the same. > > This would be possible during lpr.preinst. Maybe a candidate for 4.0r1. Yes, definitely. The fix is just to remove the conffile from lpr. No need to duplicate the effort. And no need to change the lpr.preinst either as the conffile is not needed if it is in the logcheck-database already. - Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]