• severe bug dpkg following upgrade to buster

    From Francesco Pietra@21:1/5 to All on Sat Nov 24 20:50:01 2018
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and an asus desktop,command <shutdown> disappeared, while a severe bug arose with
    dpkg that breaks upgrade/install

    pkg: 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
    E: Sub-process /usr/bin/dpkg returned an error code (2)


    francesco pietra

    <div dir="ltr"><div dir="ltr"><div>Hi</div><div>Following amd64 upgrade from stretch to buster on both a vaio laptop and an asus desktop,command &lt;shutdown&gt; disappeared, while a severe bug arose with dpkg that breaks upgrade/install</div><div><br></
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>pkg: warning: &#39;ldconfig&#39; not found in PATH or not executable<br>dpkg: warning: &#39;start-stop-daemon&#39; not found
    in PATH or not executable<br>dpkg: error: 2 expected programs not found in PATH or not executable<br>Note: root&#39;s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin<br>E: Sub-process /usr/bin/dpkg returned an error code (2)</div></
    blockquote><div><br></div><div>francesco pietra<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From qorg11@21:1/5 to Francesco Pietra on Sun Nov 25 00:20:01 2018
    On 24/11/18 20:43, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and an asus desktop,command <shutdown> disappeared, while a severe bug arose with dpkg that breaks upgrade/install

    shutdown command can be only executed by root user, so try su root
    before using it.

    --

    Happy hacking

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francesco Pietra@21:1/5 to qorg@vxempire.xyz on Sun Nov 25 07:00:01 2018
    are you trying to invent warm water?
    fp

    On Sun, Nov 25, 2018 at 12:16 AM qorg11 <qorg@vxempire.xyz> wrote:


    On 24/11/18 20:43, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and
    an
    asus desktop,command <shutdown> disappeared, while a severe bug arose
    with
    dpkg that breaks upgrade/install

    shutdown command can be only executed by root user, so try su root
    before using it.

    --

    Happy hacking



    <div dir="ltr"><div>are you trying to invent warm water?</div><div>fp<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 25, 2018 at 12:16 AM qorg11 &lt;<a href="mailto:qorg@vxempire.xyz">qorg@vxempire.xyz</a>&gt; wrote:<br></div><
    blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
    On 24/11/18 20:43, Francesco Pietra wrote:<br>
    &gt; Hi<br>
    &gt; Following amd64 upgrade from stretch to buster on both a vaio laptop and an<br>
    &gt; asus desktop,command &lt;shutdown&gt; disappeared, while a severe bug arose with<br>
    &gt; dpkg that breaks upgrade/install<br>

    shutdown command can be only executed by root user, so try su root <br>
    before using it.<br>

    -- <br>

    Happy hacking<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francesco Pietra@21:1/5 to qorg@vxempire.xyz on Sun Nov 25 07:20:01 2018
    To avoid other users lose time, it is of course easy to remedy by exporting what is failing about sbin in /etc/profile.d. Nonetheless, that should not occur on upgrading debian
    fp
    ---------- Forwarded message ---------
    From: Francesco Pietra <chiendarret@gmail.com>
    Date: Sun, Nov 25, 2018 at 6:58 AM
    Subject: Re: severe bug dpkg following upgrade to buster
    To: <qorg@vxempire.xyz>
    Cc: amd64 Debian <debian-amd64@lists.debian.org>


    are you trying to invent warm water?
    fp

    On Sun, Nov 25, 2018 at 12:16 AM qorg11 <qorg@vxempire.xyz> wrote:


    On 24/11/18 20:43, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and
    an
    asus desktop,command <shutdown> disappeared, while a severe bug arose
    with
    dpkg that breaks upgrade/install

    shutdown command can be only executed by root user, so try su root
    before using it.

    --

    Happy hacking



    <div dir="ltr">To avoid other users lose time, it is of course easy to remedy by exporting what is failing about sbin in /etc/profile.d. Nonetheless, that should not occur on upgrading debian<div>fp<br></div><div><div class="gmail_quote"><div dir="ltr">--
    -------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Francesco Pietra</b> <span dir="ltr">&lt;<a href="mailto:chiendarret@gmail.com">chiendarret@gmail.com</a>&gt;</span><br>Date: Sun, Nov 25, 2018 at 6:58 AM<br>Subject: Re:
    severe bug dpkg following upgrade to buster<br>To: &lt;<a href="mailto:qorg@vxempire.xyz">qorg@vxempire.xyz</a>&gt;<br>Cc: amd64 Debian &lt;<a href="mailto:debian-amd64@lists.debian.org">debian-amd64@lists.debian.org</a>&gt;<br></div><br><br><div dir="
    ltr"><div>are you trying to invent warm water?</div><div>fp<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 25, 2018 at 12:16 AM qorg11 &lt;<a href="mailto:qorg@vxempire.xyz" target="_blank">qorg@vxempire.xyz</a>&gt; wrote:<br></
    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
    On 24/11/18 20:43, Francesco Pietra wrote:<br>
    &gt; Hi<br>
    &gt; Following amd64 upgrade from stretch to buster on both a vaio laptop and an<br>
    &gt; asus desktop,command &lt;shutdown&gt; disappeared, while a severe bug arose with<br>
    &gt; dpkg that breaks upgrade/install<br>

    shutdown command can be only executed by root user, so try su root <br>
    before using it.<br>

    -- <br>

    Happy hacking<br>

    </blockquote></div>
    </div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lennart Sorensen@21:1/5 to Francesco Pietra on Fri Nov 30 17:20:01 2018
    On Sat, Nov 24, 2018 at 08:43:29PM +0100, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and an asus desktop,command <shutdown> disappeared, while a severe bug arose with dpkg that breaks upgrade/install

    pkg: 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
    E: Sub-process /usr/bin/dpkg returned an error code (2)


    How did you become root?

    Remember 'su' keeps the environment (including PATH) of current user,
    while 'su -' gets the proper environment of the root user (so /sbin and
    such is in PATH).

    I think sudo already does the right thing.

    su without the - is almost always the wrong thing to do.

    --
    Len Sorensen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francesco Pietra@21:1/5 to lsorense@csclub.uwaterloo.ca on Fri Nov 30 17:40:01 2018
    Thanks, I set the house in order with much less elegant commands
    francesco

    On Fri, Nov 30, 2018 at 5:12 PM Lennart Sorensen < lsorense@csclub.uwaterloo.ca> wrote:

    On Sat, Nov 24, 2018 at 08:43:29PM +0100, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and
    an
    asus desktop,command <shutdown> disappeared, while a severe bug arose
    with
    dpkg that breaks upgrade/install

    pkg: 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
    E: Sub-process /usr/bin/dpkg returned an error code (2)


    How did you become root?

    Remember 'su' keeps the environment (including PATH) of current user,
    while 'su -' gets the proper environment of the root user (so /sbin and
    such is in PATH).

    I think sudo already does the right thing.

    su without the - is almost always the wrong thing to do.

    --
    Len Sorensen


    <div dir="ltr"><div>Thanks, I set the house in order with much less elegant commands</div><div>francesco<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 30, 2018 at 5:12 PM Lennart Sorensen &lt;<a href="mailto:lsorense@csclub.
    uwaterloo.ca">lsorense@csclub.uwaterloo.ca</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Nov 24, 2018 at 08:43:29PM +0100, Francesco Pietra wrote:<br>
    &gt; Hi<br>
    &gt; Following amd64 upgrade from stretch to buster on both a vaio laptop and an<br>
    &gt; asus desktop,command &lt;shutdown&gt; disappeared, while a severe bug arose with<br>
    &gt; dpkg that breaks upgrade/install<br>
    &gt; <br>
    &gt; pkg: warning: &#39;ldconfig&#39; not found in PATH or not executable<br> &gt; &gt; dpkg: warning: &#39;start-stop-daemon&#39; not found in PATH or not executable<br>
    &gt; &gt; dpkg: error: 2 expected programs not found in PATH or not executable<br>
    &gt; &gt; Note: root&#39;s PATH should usually contain /usr/local/sbin, /usr/sbin and<br>
    &gt; &gt; /sbin<br>
    &gt; &gt; E: Sub-process /usr/bin/dpkg returned an error code (2)<br>
    &gt; &gt;<br>

    How did you become root?<br>

    Remember &#39;su&#39; keeps the environment (including PATH) of current user,<br>
    while &#39;su -&#39; gets the proper environment of the root user (so /sbin and<br>
    such is in PATH).<br>

    I think sudo already does the right thing.<br>

    su without the - is almost always the wrong thing to do.<br>

    -- <br>
    Len Sorensen<br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From ael@21:1/5 to Lennart Sorensen on Fri Nov 30 21:10:01 2018
    On Fri, Nov 30, 2018 at 11:12:26AM -0500, Lennart Sorensen wrote:
    On Sat, Nov 24, 2018 at 08:43:29PM +0100, Francesco Pietra wrote:
    Hi
    Following amd64 upgrade from stretch to buster on both a vaio laptop and an asus desktop,command <shutdown> disappeared, while a severe bug arose with dpkg that breaks upgrade/install

    pkg: 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
    E: Sub-process /usr/bin/dpkg returned an error code (2)


    zless /usr/share/doc/util-linux/NEWS.Debian.gz is where this was
    announced.

    ael

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lennart Sorensen@21:1/5 to ael on Fri Nov 30 21:40:01 2018
    On Fri, Nov 30, 2018 at 07:59:06PM +0000, ael wrote:
    zless /usr/share/doc/util-linux/NEWS.Debian.gz is where this was
    announced.

    Wow, I never knew the su command used to have such misbehaviours on
    Debian. I guess being used to doing 'su -' from years of using different
    unix systems I never noticed.

    --
    Len Sorensen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Fri Nov 30 22:20:01 2018
    Little bit OT:

    I am not sure, if I understood that correct, but as the manual says,

    "su" is preserving the environment and "su -" is creating a new one.
    However, for becoming root, I am using "su -", but when I want to edit files with root privileges with a graphical editor (i.e. kwrite), I always need
    "su -p".

    But the manual says, "su" alone would preseve the environment.

    Where is my mistake?

    Best

    Hans
    Wow, I never knew the su command used to have such misbehaviours on
    Debian. I guess being used to doing 'su -' from years of using different unix systems I never noticed.

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