• Bug#1102930: systraq: fails to install: ls: cannot access '/usr/share/s

    From Sebastian Ramacher@21:1/5 to All on Sun Apr 13 12:30:01 2025
    Source: systraq
    Version: 20201231-3
    Severity: grave
    X-Debbugs-Cc: sramacher@debian.org

    Dear maintainer,

    systraq currently fails to install:

    Setting up systraq (20201231-3) ...
    ls: cannot access '/usr/share/systraq': No such file or directory
    dpkg: error processing package systraq (--configure):
    installed systraq package post-installation script subprocess returned error exit status 2
    Processing triggers for libc-bin (2.41-6) ...
    Errors were encountered while processing:
    systraq
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    See also https://piuparts.debian.org/sid/fail/systraq_20201231-3.log

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joost van =?utf-8?Q?Baal-Ili=C4=87?@21:1/5 to Sebastian Ramacher on Wed Apr 30 21:10:01 2025
    tags 1102930 +patch
    thanks

    Hi,


    On Sun, Apr 13, 2025 at 12:19:57PM +0200, Sebastian Ramacher wrote:
    Source: systraq
    Version: 20201231-3
    Severity: grave
    X-Debbugs-Cc: sramacher@debian.org

    Dear maintainer,

    systraq currently fails to install:

    Setting up systraq (20201231-3) ...
    ls: cannot access '/usr/share/systraq': No such file or directory
    dpkg: error processing package systraq (--configure):
    installed systraq package post-installation script subprocess returned error exit status 2
    Processing triggers for libc-bin (2.41-6) ...
    Errors were encountered while processing:
    systraq
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    See also https://piuparts.debian.org/sid/fail/systraq_20201231-3.log

    Thanks for reporting this. I am working on it.

    (Note to self: removing this obsolete code in systraq.postinst will likely fix it:

    # deal with symlinks in /etc/systraq/systraq.d/
    LINKS=`ls /usr/share/systraq`

    # user can add links (or scripts), named AA-local
    # user can disable our links, by relinking to /bin/true
    #
    # initial install: create all our links
    # upgrade: fix broken links
    # see 10.7. Configuration files in debian-policy/policy.txt.gz

    for l in $LINKS
    do
    if test -L /etc/systraq/systraq.d/$l
    then
    if test ! -e /etc/systraq/systraq.d/$l
    then
    # broken symlink, fix it
    rm /etc/systraq/systraq.d/$l
    ln -s /usr/share/systraq/$l /etc/systraq/systraq.d/$l
    fi
    else
    ln -s /usr/share/systraq/$l /etc/systraq/systraq.d/$l
    fi
    done

    )


    PS: nmu's welcome.


    Bye,

    Joost

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 30 22:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 30 Apr 2025 19:50:41 +0000
    with message-id <E1uADS5-00E1Nz-Dd@fasolo.debian.org>
    and subject line Bug#1102930: fixed in systraq 20201231-4
    has caused the Debian Bug report #1102930,
    regarding systraq: fails to install: ls: cannot access '/usr/share/systraq': No such file or directory
    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.)


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

    Received: (at submit) by bugs.debian.org; 13 Apr 2025 10:19:59 +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=-105.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 8; hammy, 123; neutral, 24; spammy, 0.
    spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:6099