On Mon, 21 Jun 2021 19:27:23 +0200 Christoph Anton Mitterer 
<cales...@scientia.net> wrote:
> Package: pcscd
> Version: 1.9.1-1
> Severity: normal
> 
> 
> Hi.

Hello,

> Apparently the package used to contain the conffiles:
> /etc/reader.conf.d/0comments
> but no longer does so.
> 
> Please properly clean them up using dpkg-maintscript-helper(1).
> (AFAIU, the version that needs to be specified for that is NOT
> the version where the conffile was dropped, but rather "the
> latest version of the package whose upgrade should trigger
> the operation"
> 
> Quoting the manpage:
>            For example, for a conffile removed in version 2.0-1 of a package,
>            prior-version should be set to 2.0-1~. This will cause the conffile
>            to be removed even if the user rebuilt the previous version 1.0-1
>            as 1.0-1local1. Or a package switching a path from a symlink
>            (shipped in version 1.0-1) to a directory (shipped in version
>            2.0-1), but only performing the actual switch in the maintainer
>            scripts in version 3.0-1, should set prior-version to 3.0-1~.

The file /etc/reader.conf.d/0comments was remove in pcsc-lite 1.6.0-1
released in May 2010, 11 years ago!
See 
https://salsa.debian.org/debian/pcsc-lite/-/commit/c29340f7296666c897ffcbcc5e98f46202640438#696a33843270964798b69cfe91b67ccc717d3f35

/etc/reader.conf.d/0comments was listed in debian/pcscd.install so it
should have been removed on upgrade unless you modified it. No?

> Also, it hadn't "registered" /etc/reader.conf.d/ so that will probably be left
> over, too, unless some other package that contains it is installed (like 
> libccid).

pcscd does not provide or install /etc/reader.conf.d/
This directory is created by libccid for example.

I am not sure what I can/will do something about this issue.
What do you suggest?

Bye

Reply via email to