Page 1 of 2

aptitude kaput at my end

PostPosted: 2018-10-05 13:22
by Job
aptitude for updating/upgrading gives me the following:

Code: Select all
dpkg: warning: 'ldconfig' not found in PATH or not executable

and
Code: Select all
dpkg: warning: 'start-stop-daemon' not found in PATH or executable


path should usually contain /usr/local/sbin, /usr/sbin, and /sbin

I have followed some guides from other people who had/have similar issues, particularly people using ubuntu. I have not been able to fix my issue. My troubles are most likely sitting with "libc6" and "libc-bin". My next try is to grab those from experimental but I am hesitating waiting to see if something will change. After all I am using buster. Has anyone else experienced this issue?

Merci.

Re: aptitude kaput at my end

PostPosted: 2018-10-05 17:20
by stevepusser
Sounds like you have created your very own FrankenDebian. We can't help you if you don't let us know exactly what you did following the Ubuntu advice, though.

The easiest way to fix this would be to restore from your backup of the last known sane working state of your system.

Re: aptitude kaput at my end

PostPosted: 2018-10-05 17:27
by 4D696B65
Code: Select all
su
changed to
Code: Select all
su -
else you will get those path errors

Re: aptitude kaput at my end

PostPosted: 2018-10-05 19:19
by debiman
obviously, you should try to install the packages conteining these executables, and/or check your path and/or check permissions (you are running dpkg with elevated privileges?).

also, these are just warnings.
something actually not working?

Job wrote:My troubles are most likely sitting with "libc6" and "libc-bin".

if you know this already, then you also know that you likely broke your system. or so i'm told: libc problems are hard to fix.

Re: aptitude kaput at my end

PostPosted: 2018-10-14 04:07
by Job
debiman wrote:obviously, you should try to install the packages conteining these executables, and/or check your path and/or check permissions (you are running dpkg with elevated privileges?).

also, these are just warnings.
something actually not working?

Job wrote:My troubles are most likely sitting with "libc6" and "libc-bin".

if you know this already, then you also know that you likely broke your system. or so i'm told: libc problems are hard to fix.


:cry:

Steve, I did not add any Ubuntu stuff on my machine. I follow the guide without going outside of Debian packages.

Re: aptitude kaput at my end

PostPosted: 2018-10-14 04:13
by Job
4D696B65 wrote:
Code: Select all
su
changed to
Code: Select all
su -
else you will get those path errors


Code: Select all
su -
set me straight. Thanks a bunch.

Re: aptitude kaput at my end

PostPosted: 2018-10-14 13:07
by debiman
Job wrote:
Code: Select all
su -
set me straight. Thanks a bunch.

oh!
so that was the solution?
fwiw, i have long since set an alias for su:
Code: Select all
alias su='su -'

Re: aptitude kaput at my end

PostPosted: 2018-10-14 17:29
by Job
My solution is to stick with
Code: Select all
su -
. I re-installed guilty packages but that did not work.

Re: aptitude kaput at my end

PostPosted: 2018-10-14 18:06
by stevepusser
Since everyone else that's running Stretch doesn't have your problem, I find it very hard to believe that you don't have a broken system. You installed packages from Debian testing or Sid on Stretch--is that true or not?

Re: aptitude kaput at my end

PostPosted: 2018-10-14 20:03
by llivv
4D696B65 wrote:
Code: Select all
su
changed to
Code: Select all
su -
else you will get those path errors

Thanks 4D696B65
su -
worked for me as well in the situation I posted here viewtopic.php?f=19&t=138837

if you can link to or point to and explaination of why su - finds the command paths or why su -c'command' no longer finds them?
I can see some of my bash scripts possibly failing in the near future.

Re: aptitude kaput at my end

PostPosted: 2018-10-14 21:21
by 4D696B65
llivv wrote:Thanks 4D696B65
su -
worked for me as well in the situation I posted here viewtopic.php?f=19&t=138837

if you can link to or point to and explaination of why su - finds the command paths or why su -c'command' no longer finds them?
I can see some of my bash scripts possibly failing in the near future.


http://forums.debian.net/viewtopic.php?f=5&t=138290&p=678703#p678703

Re: aptitude kaput at my end

PostPosted: 2018-10-15 16:45
by Job
stevepusser wrote:Since everyone else that's running Stretch doesn't have your problem, I find it very hard to believe that you don't have a broken system. You installed packages from Debian testing or Sid on Stretch--is that true or not?


Sorry to disappoint but since I upgraded from Stretch to Buster I haven't played such games. I really don't need any package that requires downstream or upstream.

Re: aptitude kaput at my end

PostPosted: 2018-10-15 16:56
by stevepusser
if you're running Debian testing instead of a release, you should make that clear in the first sentence or title of your first post; not leave it to be discovered ten posts in. I assume you're running a released version in the absence of that information. Not everyone is going to have read every single post of yours where you started using testing, either.

Re: aptitude kaput at my end

PostPosted: 2018-10-16 15:54
by Job
stevepusser wrote:if you're running Debian testing instead of a release, you should make that clear in the first sentence or title of your first post; not leave it to be discovered ten posts in. I assume you're running a released version in the absence of that information. Not everyone is going to have read every single post of yours where you started using testing, either.


Steve, I did but I am guessing like all of us you read too fast. Check the last line of my original post.

Re: aptitude kaput at my end

PostPosted: 2018-10-16 17:48
by stevepusser
OK, I missed that, but really, you should make it clear in the thread title or in the first line of the post that you're running a development version, not a released version.