• dpkg Broken in Debian Buster

    From Darren Hale@21:1/5 to All on Sat May 9 08:30:01 2020
    To Whom it May Concern,

    I have recently installed Debian Buster and found when invoking in terminal
    su and using dpkg-reconfigure tzdata and dpkg -i that there is error messages.

    I have read all the notes around Debian Buster and tried su - and
    other options and nothing works. I request that the dpkg work as it
    did in Debian Stretch and previous be the default so that these
    important system functions are restored such as dpkg -i when using su.
    I have wasted a lot of time trying to fix this issue with no
    resolution.

    Yours faithfully

    Darren Hale
    Formerly a happy Debian User

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Darren Hale on Sat May 9 22:20:02 2020
    Hi!

    On Sat, 2020-05-09 at 18:10:48 +1200, Darren Hale wrote:
    I have recently installed Debian Buster and found when invoking in
    terminal su and using dpkg-reconfigure tzdata and dpkg -i that there
    is error messages.

    What error message? As is, this report does not really look
    actionable.

    I have read all the notes around Debian Buster and tried su - and
    other options and nothing works. I request that the dpkg work as it
    did in Debian Stretch and previous be the default so that these
    important system functions are restored such as dpkg -i when using su.
    I have wasted a lot of time trying to fix this issue with no
    resolution.

    My only guess, without more details, is that you might have stumbled
    over behavior change in su after util-linux took it over from the
    login package. See:

    $ zless /usr/share/doc/util-linux/NEWS.Debian.gz

    If that's the case, then I'd recommend installing apt-listchanges so
    that you can see these NEWS entries on upgrade, and also reading the
    Release Notes before such distribution upgrade:

    <https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#su-environment-variables>

    In any case this does not appear to be a problem with dpkg, as I'd
    assume we'd have heard of such thing way earlier.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Darren Hale@21:1/5 to Guillem Jover on Sun May 10 05:20:01 2020
    Hi Guillem,

    Further details - dpkg-reconfigure tzdata - had this problem as mentioned here: https://medium.com/@ehsan.nazim/bash-dpkg-reconfigure-command-not-found-in-debian-10-buster-b5c89ae84a75

    and dpkg -i and Gdebi-gtk - Had this error

    dpkg: warning: 'ldconfig' not found in PATH or not executable
    dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
    dpkg: error: 2 expected programs not found in PATH or not executable
    Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin http://forums.debian.net/viewtopic.php?f=10&t=143249


    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905564

    Regards

    Darren Hale

    On 5/10/20, Guillem Jover <guillem@debian.org> wrote:
    Hi!

    On Sat, 2020-05-09 at 18:10:48 +1200, Darren Hale wrote:
    I have recently installed Debian Buster and found when invoking in
    terminal su and using dpkg-reconfigure tzdata and dpkg -i that there
    is error messages.

    What error message? As is, this report does not really look
    actionable.

    I have read all the notes around Debian Buster and tried su - and
    other options and nothing works. I request that the dpkg work as it
    did in Debian Stretch and previous be the default so that these
    important system functions are restored such as dpkg -i when using su.
    I have wasted a lot of time trying to fix this issue with no
    resolution.

    My only guess, without more details, is that you might have stumbled
    over behavior change in su after util-linux took it over from the
    login package. See:

    $ zless /usr/share/doc/util-linux/NEWS.Debian.gz

    If that's the case, then I'd recommend installing apt-listchanges so
    that you can see these NEWS entries on upgrade, and also reading the
    Release Notes before such distribution upgrade:


    <https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#su-environment-variables>

    In any case this does not appear to be a problem with dpkg, as I'd
    assume we'd have heard of such thing way earlier.

    Thanks,
    Guillem


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Darren Hale@21:1/5 to Darren Hale on Sun May 10 22:00:02 2020
    Hi Guillem,

    I have been advised that the problem is with the behavior of su
    changed when they moved it to a different source package and a fix is
    to old behavior is to put ALWAYS_SET_PATH yes in /etc/default/su.
    (create the file if it doesn't exist).

    So thank you for your time and answers.

    Regards

    Darren Hale

    On 5/10/20, Darren Hale <darry19662015@gmail.com> wrote:
    Hi Guillem,

    Further details - dpkg-reconfigure tzdata - had this problem as mentioned here: https://medium.com/@ehsan.nazim/bash-dpkg-reconfigure-command-not-found-in-debian-10-buster-b5c89ae84a75

    and dpkg -i and Gdebi-gtk - Had this error

    dpkg: warning: 'ldconfig' not found in PATH or not executable
    dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
    dpkg: error: 2 expected programs not found in PATH or not executable
    Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
    /sbin
    http://forums.debian.net/viewtopic.php?f=10&t=143249


    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905564

    Regards

    Darren Hale

    On 5/10/20, Guillem Jover <guillem@debian.org> wrote:
    Hi!

    On Sat, 2020-05-09 at 18:10:48 +1200, Darren Hale wrote:
    I have recently installed Debian Buster and found when invoking in
    terminal su and using dpkg-reconfigure tzdata and dpkg -i that there
    is error messages.

    What error message? As is, this report does not really look
    actionable.

    I have read all the notes around Debian Buster and tried su - and
    other options and nothing works. I request that the dpkg work as it
    did in Debian Stretch and previous be the default so that these
    important system functions are restored such as dpkg -i when using su.
    I have wasted a lot of time trying to fix this issue with no
    resolution.

    My only guess, without more details, is that you might have stumbled
    over behavior change in su after util-linux took it over from the
    login package. See:

    $ zless /usr/share/doc/util-linux/NEWS.Debian.gz

    If that's the case, then I'd recommend installing apt-listchanges so
    that you can see these NEWS entries on upgrade, and also reading the
    Release Notes before such distribution upgrade:


    <https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#su-environment-variables>

    In any case this does not appear to be a problem with dpkg, as I'd
    assume we'd have heard of such thing way earlier.

    Thanks,
    Guillem



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian Andres Klode@21:1/5 to Darren Hale on Mon May 11 09:30:01 2020
    On Mon, May 11, 2020 at 07:33:00AM +1200, Darren Hale wrote:
    Hi Guillem,

    I have been advised that the problem is with the behavior of su
    changed when they moved it to a different source package and a fix is
    to old behavior is to put ALWAYS_SET_PATH yes in /etc/default/su.
    (create the file if it doesn't exist).

    I'm not sure why you feel the need to explain back to guillem the
    very thing he told you about.

    In any case, you can also just use apt to install stuff, which
    is a lot safer and also sets PATH.
    --
    debian developer - deb.li/jak | jak-linux.org - free software dev
    ubuntu core developer i speak de, en

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)