Your message dated Thu, 19 Aug 2021 21:49:29 +0000
with message-id <[email protected]>
and subject line Bug#992540: fixed in plocate 1.1.9-2
has caused the Debian Bug report #992540,
regarding mlocate: old conffile not removed due to error from 
dpkg-maintscript-helper
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.)


-- 
992540: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992540
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mlocate
Version: 1.1.9-1

I noticed a strange error upgrading mlocate from 0.26-5 to 1.1.9-1:

,----
| Preparing to unpack .../mlocate_1.1.9-1_all.deb ...
| dpkg-query: package 'mlocate' is not installed
| Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
| Unpacking mlocate (1.1.9-1) over (0.26-5) ...
`----

And the obsolete conffile /etc/cron.daily/mlocate was not removed as
intended.  Since I could not make anything out of the error message, I
asked on the #debian-dpkg IRC channel and received this explanation
(guillem is the dpkg maintainer, zwenna is me):

,----
| <guillem> zwenna: ok so I guess the dpkg-query call is coming from
|         dpkg-maintscript-helper
| <guillem> hmm perhaps wrong arch-qualification as the package seems to have
|         switched from arch any to all?
| <guillem> that would look like the problem yes
| <guillem> zwenna: so I think what happens is that: rm_conffile in the new
|         package preinst does not specify the package name so it gets
|         automatically inferred to be mlocate:all which does not match the
|         arch:any instance
| <guillem> zwenna: the rm_conffile call seems would need to pass explicitly a
|         non-arch-qualified package name
`----

So it seems you have to specify the package name in
debian/mlocate.maintscript to rectify the problem.


-- System Information:
Debian Release: 11.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.60-nouveau (SMP w/2 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: plocate
Source-Version: 1.1.9-2
Done: Steinar H. Gunderson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
plocate, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steinar H. Gunderson <[email protected]> (supplier of updated plocate package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 19 Aug 2021 23:19:53 +0200
Source: plocate
Architecture: source
Version: 1.1.9-2
Distribution: unstable
Urgency: medium
Maintainer: Steinar H. Gunderson <[email protected]>
Changed-By: Steinar H. Gunderson <[email protected]>
Closes: 992540
Changes:
 plocate (1.1.9-2) unstable; urgency=medium
 .
   * Specify the package name (mlocate) explicitly in mlocate.maintscript,
     so that it is not wrongly inferred to be mlocate:all (since mlocate
     changes from Arch: any to Arch: all on upgrade to the dummy mlocate
     package from plocate). (Closes: #992540)
   * In mlocate.postinst, remove mlocate.db and /var/lib/mlocate.
Checksums-Sha1:
 4948ca3b65f3bec07b5d83ef1dd03f832b693f8f 1865 plocate_1.1.9-2.dsc
 77cec563f5f83175250cd0adb362aab387921389 5908 plocate_1.1.9-2.debian.tar.xz
 93c66e4115f45b3f71062680253171d9f887a650 7344 plocate_1.1.9-2_amd64.buildinfo
Checksums-Sha256:
 5386444a336dd75ddb7613298e0b27679444b3a8515b1b059edb53b17ac86190 1865 
plocate_1.1.9-2.dsc
 0fd8604a902543503c44e6bdf7880076673fe2f450aa7ddcc9335b2cd897e8c2 5908 
plocate_1.1.9-2.debian.tar.xz
 a740757249d412e617b6aad71386b78a170b8243d5544e3ea382c0c1b4f6e97b 7344 
plocate_1.1.9-2_amd64.buildinfo
Files:
 5b958ba38cce4e08e821ed845ddd9670 1865 utils optional plocate_1.1.9-2.dsc
 6045f6897e47a64f2e1f1696272504b8 5908 utils optional 
plocate_1.1.9-2.debian.tar.xz
 38c847c24c6480706bfc0eb98cc3ba9d 7344 utils optional 
plocate_1.1.9-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwukAT/AowY5OrduDf2F1YXeXj3YFAmEezPEACgkQf2F1YXeX
j3alJA//RWCMY/E9ZePQPM4jX/1fuNSCRlRJRxLnrBXRgaju6iyb3TO7ndO8LQwr
Q1rmPrWniJ58Ei7IcPQt7zuYiyymXefrpdruyqdI3NGuBiBoKaPBVvjDhZ42wj6Q
cRU0NAwCVxSI7DzP5gTyb+SAkq1gW+mJyXnUGsE7gvez5jL9OnpGS+o9Svb4ARMh
lq/AtXEBtH9zDM5Ze6jP/J5ZqQ9QaeALViQazKh26FPAgH30dc2+/tdUoHe6jFK4
P+voAMtKrX6g5OkPNSImtIf0XU7Gg3SZahvP5SbtwOx5ij38vzPLEVkvk1/01NoM
AGgOVpc12zFqIuEUTLV0/ovkkzefHbZGSzLvwjwR5QIY5BmIPuUfRj4GQ67jbNcf
PyqqtFZ/VJdEHIxbHKkRBboBn4amVbIj5D92SJRIuPqLIRAJcchLltPtMoFjRyXo
vNUokzTmahVyKU5INIUsI5mkDEPsWe9mMwzmwv2t3XZ1N7ND6tjfkzkuUejoXA/K
OuHmjx8NkbTZB2VVoFr+W6XNI6yMAvr0K1aLJac7lNaM00dSnA4eabI2VbP/bnK/
13Rs+v5QAFfuU7qcU3hgIMs4XoTr1REj0xYip0cvrOo6X+Ut5y0u9jq/1ZIvaBTT
rBxI8yK22MQjzbjhg5NMpL4tJ65mJjUVjJeCI3rcWTURuQyFXC0=
=qg41
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to