Re: dpkg Broken in Debian Buster

2020-05-11 Thread Julian Andres Klode
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



Re: dpkg Broken in Debian Buster

2020-05-10 Thread Darren Hale
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  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  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:
>>
>>
>> 
>>
>> 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
>>
>



Re: dpkg Broken in Debian Buster

2020-05-09 Thread Darren Hale
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  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:
>
>
> 
>
> 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
>



Re: dpkg Broken in Debian Buster

2020-05-09 Thread Guillem Jover
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:

  


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



dpkg Broken in Debian Buster

2020-05-08 Thread Darren Hale
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