• Bug#1101456: fails to upgrade

    From VA@21:1/5 to All on Thu Mar 27 21:40:01 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fiona Ebner@21:1/5 to bugs@indigo.re on Fri Apr 11 18:50:01 2025
    Hi,

    On Thu, 27 Mar 2025 21:35:20 +0100 VA <bugs@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Apr 22 12:10:01 2025
    Processing control commands:

    close -1
    Bug #1101456 [javascript-common] fails to upgrade
    Marked Bug as done
    notfound -1 javascript-common/12
    Bug #1101456 {Done: Yadd <yadd@debian.org>} [javascript-common] fails to upgrade
    No longer marked as found in versions javascript-common/12.

    --
    1101456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101456
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Apr 27 15:30:01 2025
    Processing control commands:

    found -1 javascript-common/12
    Bug #1101456 [javascript-common] fails to upgrade
    Ignoring request to alter found versions of bug #1101456 to the same values previously set

    --
    1101456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101456
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Apr 27 17:40:01 2025
    Processing control commands:

    found -1 javascript-common/11+nmu1
    Bug #1101456 [javascript-common] fails to upgrade
    Marked as found in versions javascript-common/11+nmu1.
    tags -1 = confirmed
    Bug #1101456 [javascript-common] fails to upgrade
    Added tag(s) confirmed; removed tag(s) moreinfo.
    severity -1 serious
    Bug #1101456 [javascript-common] fails to upgrade
    Ignoring request to change severity of Bug 1101456 to the same value.

    --
    1101456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101456
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat May 3 16:40:01 2025
    Processing control commands:

    tags 1101456 + patch
    Bug #1101456 [javascript-common] fails to upgrade
    Added tag(s) patch.

    --
    1101456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101456
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat May 3 16:50:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sat, 03 May 2025 14:46:22 +0000
    with message-id <E1uBE8E-00BAIZ-RD@fasolo.debian.org>
    and subject line Bug#1101456: fixed in javascript-common 12+nmu1
    has caused the Debian Bug report #1101456,
    regarding fails to upgrade
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1101456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101456
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 27 Mar 2025 20:35:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-15.0 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,HAS_PACKAGE,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
    RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 127; neutral, 39; spammy,
    0. spammytokens: hammytokens:0.000-+--unconfigured, 0.000-+--lighttpd,
    0.000-+--subprocess, 0.000-+--UD:deb, 0.000-+--sk:lighttp
    Return-path: <bugs@indigo.re>
    Received: from smtp-190d.mail.infomaniak.ch ([185.125.25.13]:60391)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_