Re: How to troubleshoot conffile files problems

2021-12-07 Thread Andrey Rahmatullin
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 > >

Re: How to troubleshoot conffile files problems

2021-12-07 Thread Tong Sun
On Tue, Dec 7, 2021 at 1:06 PM Andrey Rahmatullin wrote: > > On Tue, Dec 07, 2021 at 12:57:37PM -0500, wrote: > > > > > > How to do that please? > > > > > The correct way, it seems, would be to follow the suggestion in the > > > > > original bug report and fix the "rm -f /etc/dnsmasq.d/dbab.*"

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Tong Sun
On Tue, Dec 7, 2021 at 1:07 PM Andrey Rahmatullin wrote: > > On Tue, Dec 07, 2021 at 01:03:10PM -0500, wrote: > > On Tue, Dec 7, 2021 at 12:53 PM Andrey Rahmatullin wrote: > > > > > > On Tue, Dec 07, 2021 at 12:40:06PM -0500, wrote: > > > > > > Why

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Andrey Rahmatullin
On Tue, Dec 07, 2021 at 01:03:10PM -0500, pkgoyq@neverbox.com wrote: > On Tue, Dec 7, 2021 at 12:53 PM Andrey Rahmatullin wrote: > > > > On Tue, Dec 07, 2021 at 12:40:06PM -0500, wrote: > > > > > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a > > > > > warning? > > > >

Re: How to troubleshoot conffile files problems

2021-12-07 Thread Andrey Rahmatullin
On Tue, Dec 07, 2021 at 12:57:37PM -0500, pkgoyq@neverbox.com wrote: > > > > > How to do that please? > > > > The correct way, it seems, would be to follow the suggestion in the > > > > original bug report and fix the "rm -f /etc/dnsmasq.d/dbab.*" line in > > > > the 1.3.3-1 postrm. > > > > >

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Tong Sun
On Tue, Dec 7, 2021 at 12:53 PM Andrey Rahmatullin wrote: > > On Tue, Dec 07, 2021 at 12:40:06PM -0500, wrote: > > > > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a > > > > warning? > > > Have you read its description? > > > > Please don't overestimate my ability to decrypt

Re: How to troubleshoot conffile files problems

2021-12-07 Thread Tong Sun
On Tue, Dec 7, 2021 at 10:41 AM Andrey Rahmatullin wrote: > > On Sun, Dec 05, 2021 at 10:19:44AM -0500, wrote: > > > > How to do that please? > > > The correct way, it seems, would be to follow the suggestion in the > > > original bug report and fix the "rm -f /etc/dnsmasq.d/dbab.*" line in > > >

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Andrey Rahmatullin
On Tue, Dec 07, 2021 at 12:40:06PM -0500, pkgoyq@neverbox.com wrote: > > > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a > > > warning? > > Have you read its description? > > Please don't overestimate my ability to decrypt the description. > If I understand what it is

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Tong Sun
On Tue, Dec 7, 2021 at 11:52 AM Andrey Rahmatullin wrote: > > On Tue, Dec 07, 2021 at 11:49:32AM -0500, Tong Sun wrote: > > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a warning? > Have you read its description? Please don't overestimate my ability to decrypt the

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Jeremy Sowden
On 2021-12-07, at 11:49:32 -0500, Tong Sun wrote: > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a > warning? > > Aren't we supposed to use dpkg-maintscript-helper in maintainer > scripts? At least I was told to do so. > > I tried to add `dpkg-maintscript-helper rm_conffile`

Re: maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Andrey Rahmatullin
On Tue, Dec 07, 2021 at 11:49:32AM -0500, Tong Sun wrote: > Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a warning? Have you read its description? -- WBR, wRAR signature.asc Description: PGP signature

maintainer-script-should-not-use-dpkg-maintscript-helper

2021-12-07 Thread Tong Sun
Hi, Why `maintainer-script-should-not-use-dpkg-maintscript-helper` is a warning? Aren't we supposed to use dpkg-maintscript-helper in maintainer scripts? At least I was told to do so. I tried to add `dpkg-maintscript-helper rm_conffile` in my .postrm file for my dbab package, and now I'm

Re: How to troubleshoot conffile files problems

2021-12-07 Thread Andrey Rahmatullin
On Sun, Dec 05, 2021 at 10:19:44AM -0500, pkgoyq@neverbox.com wrote: > > > > You should remove them manually in postrm, but only on > > > > purge. > > > > > But now you will need to also recover from a bad state > > left by upgrades to 1.5.7-1. > > Ah... it is getting more and more