Control: close -1
Control: notfound -1 javascript-common/12

On 4/11/25 18:34, Fiona Ebner wrote:
Hi,

On Thu, 27 Mar 2025 21:35:20 +0100 VA <b...@indigo.re> wrote:
Package: javascript-common
Version: 12
Severity: serious

For some reason, javascript-common fails to upgrade, and it also fails
to be reinstalled, which prevents from upgrading dependents.

```
# dpkg --configure --pending
Setting up javascript-common (12) ...
dpkg: error processing package javascript-common (--configure):
   installed javascript-common package post-installation script
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of dokuwiki:
   dokuwiki depends on javascript-common; however:
    Package javascript-common is not configured yet.

dpkg: error processing package dokuwiki (--configure):
   dependency problems - leaving unconfigured
Errors were encountered while processing:
   javascript-common
   dokuwiki
```

I tried to follow what's inside #718318 but I have no javascript-common
file in /etc/apache2. I don't have lighthttpd, so I removed
/etc/lighttpd (which contained files from javascript-common, see
#912002) and tried to install again:

```
# dpkg -i javascript-common_12_all.deb
(Reading database ... 482559 files and directories currently installed.)
Preparing to unpack javascript-common_12_all.deb ...
Unpacking javascript-common (12) over (12) ...
Setting up javascript-common (12) ...
javascript-alias was disabled in lighttpd.
Hint: Use "lighttpd-enable-mod javascript-alias" to re-enable.
dpkg: error processing package javascript-common (--install):
   installed javascript-common package post-installation script
subprocess returned error exit status 1
Errors were encountered while processing:
   javascript-common
```

As you can see, there's no error message indicating why it fails.



AFAICT, the postinst script most likely fails in the automatically added
snippet:

# Automatically added by dh_apache2/UNDECLARED
if true; then
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                for conf in javascript-common  ; do
                        apache2_invoke enconf $conf  || exit 1
                done
        fi
fi
# End automatically added section

Looking at the apache2-maintscript-helper, could you please run the
following commands and share the output?

a2query -c javascript-common
echo $?

Please also check your system logs/journal from the time around you
attempted the upgrade, there might be more messages there.

I wasn't able to reproduce the issue. For me, the javascript-common
installs and re-installs without issue. Thus, I wonder if this should be
considered release-critical or lowered in priority.

Best Regards,
Fiona
Looks to be a false positive.

Reply via email to