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

Re: How to troubleshoot conffile files problems



On Tue, Dec 07, 2021 at 01:56:26PM -0500, Tong Sun wrote:
> > > But I was told to "using rm_conffile directive from .maintscript file"
> > This is wrong. rm_conffile is only for cases when a conffile is no longer
> > shipped. This is explained in dpkg-maintscript-helper(1). But
> > /etc/dnsmasq.d/dbab.*, or /etc/dnsmasq.d/dbab, or
> > /etc/dnsmasq.d/dbab-map.*, are not even conffiles, as far as I can see (as
> > they are not shipped in the package, as far as I can see).
> 
> So you are saying that the correct way to do it is this --
> https://salsa.debian.org/debian/dbab/-/blob/master/debian/dbab.postrm
> right?
Right.

> 
> > > So I did, see --
> > > https://salsa.debian.org/debian/dbab/-/commit/eca5bf35dc20843907b3eb0078a7926117bdf0e8
> > Yup, this is wrong. And /etc/dbab is a dir, so that line is doubly wrong.
> 
> what's the correct way for the fix then?
> 
> remove the dbab.maintscript file, i.e.,
> https://salsa.debian.org/debian/dbab/-/blob/master/debian/dbab.maintscript,
> right?
Right.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: