Hello,

Le 23/06/2021 à 18:36, Christoph Anton Mitterer a écrit :
On Wed, 2021-06-23 at 15:18 +0200, Ludovic Rousseau wrote:
/etc/reader.conf.d/0comments was listed in debian/pcscd.install so it
should have been removed on upgrade unless you modified it. No?

Hmm I don't think I'd have ever modified it... and even then I think it
should be unregistered as a conffile, but just left over as a "normal"
file.

What is the output of the commmand:
cat /var/lib/dpkg/info/pcscd.conffiles

What do you suggest?

My understanding is that such files should be cleaned up with:
dpkg-maintscript-helper rm_conffile

The version that needs to be given is, AFAIU, not the version in which
the conffile was dropped, but "the latest version of the package whose
upgrade should trigger the operation".

The manpage has an example section which describes that pretty well.


And then I'd guess one should add this to the maintainer scripts and
leave it until next-stable+1 or so?

The "remove-on-upgrade" flag as documented in remove-on-upgrade(5) may be a 
better option.

My problem is that the file has been removed from the pcscd package 10 years 
ago.
So it will be time consuming (on my side) to check the fix is working. I will 
need to install a Debian distribution from 10 years ago (Debian 5.0 Etch) and 
upgrade it up to the next-Bullseye Debian 12 stable (that should be available 
in 2-3 years).

Can't you just erase the file from your system?

Bye

--
Dr. Ludovic Rousseau

Reply via email to