On 2025-01-29 17:59:41 +1100, Craig Small wrote:
> On Mon, 27 Jan 2025 at 09:27, Vincent Lefevre <vinc...@vinc17.net> wrote:
> 
> > With 2:4.0.4-7, it is still listed, but now appears as
> >
> > Conffiles:
> >  /etc/sysctl.conf newconffile remove-on-upgrade
> >
> It's not very clear from the documentation, but that looks correct.

I don't see much documentation (nothing in the dpkg(1) man page
about that). And the deb-conffiles(5) man page says:

  There is currently only one flag supported, remove-on-upgrade, to mark
  that a conffile needs to be removed on the next upgrade (since dpkg
  1.20.6).

but since the conffile has *already* been removed, this looks
incorrect. And I couldn't find any documentation of "newconffile".

> The fact that "dpkg -s procps", for example, shows this line is not a bug.
> 
> The bug was certain programs would complain about the missing file.
> I note the example given for reportbug is fixed and it no longer complains.

Indeed, I could check that reportbug 13.0.1 no longer complains
(there was a fix/workaround in reportbug 13.0.2 about missing
conffiles, so that testing 13.0.1, which was the current version
when I reported the bug, was important).

This is probably OK for programs. But for the end user, this is
confusing.

> So unless there is another program that has a problem with the file then
> this bug
> is fixed. It's not the only packages with files in this state:
> 
> $ dpkg -s  | grep 'newconffile remove-on-upgrade'
>  /etc/gnome/defaults.list newconffile remove-on-upgrade
>  /etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf newconffile
> remove-on-upgrade
>  /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf newconffile
> remove-on-upgrade
>  /etc/dpkg/dpkg.cfg.d/pkg-config-hook-config newconffile remove-on-upgrade
>  /etc/dpkg/dpkg.cfg.d/pkgconf-hook-config newconffile remove-on-upgrade
>  /etc/postfix/postfix-script newconffile remove-on-upgrade
>  /etc/postfix/post-install newconffile remove-on-upgrade
>  /etc/sysctl.conf newconffile remove-on-upgrade
>  /etc/dbus-1/system.d/org.freedesktop.realmd.conf newconffile
> remove-on-upgrade
>  /etc/dbus-1/system.d/org.rpm.conf newconffile remove-on-upgrade
>  /etc/dbus-1/system.d/wpa_supplicant.conf newconffile remove-on-upgrade

So perhaps the procps part is fixed in procps/2:4.0.4-7, but there
is still an issue on the dpkg side, at least missing documentation.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to