[Pkg-javascript-devel] Bug#1101456: not false positive
Pirate Praveen
praveen at debian.org
Sat May 3 15:22:42 BST 2025
On Sun, 27 Apr 2025 17:29:03 +0200 Chris Hofstaedtler <zeha at debian.org>
wrote:
> Here's a scripted reproducer:
>
> mmdebstrap --variant=apt --chrooted-customize-hook='cd / && apt download javascript-common && dpkg -i ./javascript-common_*.deb && rm /etc/apache2/conf-available/javascript-common.conf && apt install -y apache2 && dpkg -i ./javascript-common_*.deb' stable /dev/null
>
> I'll note this already happens with the version in stable.
>
> Raising severity to serious, as per my understanding of the policy,
> removing a conffile is a supported action, and maintainer scripts
> must not fail in this case.
>
> A workaround should be:
> dpkg -i --reinstall ./javascript-common_*.deb
> (Which should restore the missing conffiles.)
That file is the core part of the package. I wonder what it is supposed
to do if that is missing?
/etc/apache2/conf-available/javascript-common.conf
Without this file, the package becomes useless (if using apache2). Does
it really make sense to ignore this missing conf file in maintscripts?
This looks to me like a user error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4938 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20250503/c8ba29e1/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20250503/c8ba29e1/attachment.sig>
More information about the Pkg-javascript-devel
mailing list