Bug#1036528: zutils: leftover conffiles

2023-06-15 Thread Christoph Anton Mitterer
Hey Daniel.

On Tue, 2023-06-13 at 07:45 +0200, Daniel Baumann wrote:
> thank you for your report, this has been fixed in 1.12-2:
> 
> https://git.progress-linux.org/users/daniel.baumann/debian/packages/zutils/commit/?id=4596dac645e794ca9153e92a99d176dfc357c2ce
> 
> I've confirmed that when upgrading from previous versions, with the
> installation of zutils 1.12-2, /etc/zutils gets removed:

Well there must have been at least one version release the where it
wasn't set properly, because otherwise I couldn't have seen the file as
obsolete conffile on my system :-)

I had only a short glance on it now, but AFAICs:

1.12~rc1-1 was the version that had the file dropped as conffile (but
   not cleaned up
1.12-1 hadn't fixed it either
1.12-2 removed the conffile, but with 1.12-1~


AFAIU the dpkg-maintscript-helper manpage, this means that anyone who
had installed 1.12-1 won't have the file ever cleaned up, as 1.12-1~
won't trigger it.

Instead, if you upload e.g. in the future 1.12-3, you'd need to use
1.12-3~ as version.


Cheers,
Chris.



Bug#1036528: zutils: leftover conffiles

2023-06-12 Thread Daniel Baumann
found 1036528 1.12-1
notfound 1036528 1.12-2
close 1036528 1.12-2
thanks

Hi Christoph,

thank you for your report, this has been fixed in 1.12-2:

https://git.progress-linux.org/users/daniel.baumann/debian/packages/zutils/commit/?id=4596dac645e794ca9153e92a99d176dfc357c2ce

I've confirmed that when upgrading from previous versions, with the
installation of zutils 1.12-2, /etc/zutils gets removed:

---snip---
daniel@daniel:~$ sudo apt install zutils
[...]
Reading changelogs... Done
(Reading database ... 277758 files and directories currently installed.)
Preparing to unpack .../zutils_1.12-2_amd64.deb ...
Unpacking zutils (1.12-2) over (1.8-3+b10) ...
Setting up zutils (1.12-2) ...
Removing obsolete conffile /etc/zutilsrc ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
Processing triggers for man-db (2.11.2-2) ...
[...]
daniel@daniel:~$
---snap---

Regards,
Daniel



Bug#1036528: zutils: leftover conffiles

2023-05-21 Thread Christoph Anton Mitterer
Package: zutils
Version: 1.12-2
Severity: normal

Hey.

Seems the package used to contain a conffile, which it now longer does:
# dpkg-query --showformat='${Package}\n${Conffiles}\n' --show  |  awk '/^[^ 
]/{pkg=$1}/ obsolete$/{print pkg,$0}' | cut -d ' ' -f 1-3 | column -t
zutils   /etc/zutilsrc

Could you please clean that up in a future upgrade? :-)


Thanks,
Chris.