The given commands output `No conf matches javascript-common` and `1`.[..]
Hi Chris,
(Thanks for putting me in CC so I'm notified as I wasn't aware someone
had closed the issue)
Le 27/04/2025 à 15:22, Chris Hofstaedtler a écrit :
| > a2query -c javascript-common
| > echo $?
I gave it above, but I'll repeat it, a2query prints `No conf matches >javascript-common` and the echo prints `1`.
a) /etc/apache2/conf-available/javascript-common.conf does NOT exist?
b) Does the following print anything?
dpkg -C javascript-common
c) What do the following print?
dpkg -l javascript-common
dpkg -L javascript-common
On Sun, 27 Apr 2025 17:29:03 +0200 Chris Hofstaedtler <zeha@debian.org> wrote:
Here's a scripted reproducer:That file is the core part of the package. I wonder what it is supposed
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.)
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.
Did you try apt reinstall javascript-common ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 29:50:41 |
Calls: | 9,544 |
Calls today: | 4 |
Files: | 13,656 |
Messages: | 6,140,785 |