Your message dated Mon, 6 Sep 2021 07:17:15 -0700
with message-id 
<CAFHYt5725G+SPUu85j7Zw4PUVmF2QkBybXUa943R=+rfg_2...@mail.gmail.com>
and subject line Re: Bug#993753: debhelper: remove-on-upgrade in 
DEBIAN/conffiles is not equivalent to 'dpkg-maintscript-helper rm_conffile' in 
maintscripts
has caused the Debian Bug report #993753,
regarding debhelper: remove-on-upgrade in DEBIAN/conffiles is not equivalent to 
'dpkg-maintscript-helper rm_conffile' in maintscripts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
993753: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993753
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Severity: normal
X-Debbugs-CC: [email protected]

Hi,

The Lintian maintainers recently made several accommodations [1] for
some of the new features coming in Debhelper, but it is not clear from
Lintian's own packaging efforts that the 'remove-on-upgrade' attribute
in conffiles always works as intended. For a recent Lintian artifact
built on unstable [2] the development version of Lintian produces the
following hint:

    E: lintian: conffile-is-not-in-package etc/lintianrc

Lintian prides itself on provoking no hints [3] so the matter received
some attention. Upon inspection, it seems debhelper turned the
instruction in d/lintian.maintscript

    rm_conffile /etc/lintianrc 2.90.0~ lintian

into that line in DEBIAN/conffiles

    remove-on-upgrade /etc/lintianrc

but those two ideas are not the same! Lintian has not shipped
/etc/lintianrc for some time. [4]

Debhelper also stopped inserting those generated lines in the
maintainer scripts (and in fact shipped no scripts at all):

    # Automatically added by dh_installdeb/13.2.1
    dpkg-maintscript-helper rm_conffile /etc/lintianrc 2.90.0\~ lintian -- "$@"
    # End automatically added section

For this inquiry, we compared the recent build artifacts from Salsa CI
[2] with the Lintian version 2.104.0 currently in unstable.

I believe this is a bug in Debhelper. Please let us know if you concur
with our analysis. Thank you!

Kind regards
Felix Lechner

[1] 
https://salsa.debian.org/lintian/lintian/-/commit/b8c88b5a604c541d1389c1f7e3eb6315ac80f1d9
[2] 
https://salsa.debian.org/lintian/lintian/-/jobs/1914634/artifacts/browse/debian/output/
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993711#5
[4] 
https://salsa.debian.org/lintian/lintian/-/commit/4b878e14d9758f7b44210ae65fc26acd30c67dc6

--- End Message ---
--- Begin Message ---
Hi,

On Sun, Sep 5, 2021 at 11:18 PM Niels Thykier <[email protected]> wrote:
>
> It is not clear to me which part you believe is the bug

Never mind. I did not realize that this feature departs from years of
established practice. Is is documented [1] and helps to get rid of
maintainer scripts.

Closing, and thanks for taking a step into the future!

Kind regards
Felix Lechner

[1] https://manpages.debian.org/unstable/dpkg-dev/deb-conffiles.5.en.html

--- End Message ---

Reply via email to