Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #198342

Re: Please help with error message

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: Please help with error message
Date 2018-08-07 10:00 +0200
Message-ID <wk54l-6fk-3@gated-at.bofh.it> (permalink)
References <wk4hX-5YI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Tue, Aug 07, 2018 at 09:05:28AM +0200, Rodolfo Medina wrote:
> Some little problems after `full-upgrade' to Sid: no sound...  Besides, when
> trying to install new packages, the following message appears:
> 
> # aptitude install alsaplayer-alsa pulseaudio 
> pulseaudio is already installed at the requested version (12.0-1)
> pulseaudio is already installed at the requested version (12.0-1)
> The following NEW packages will be installed:
>   alsaplayer-alsa alsaplayer-common{a} alsaplayer-gtk{a} libmikmod3{a} 
> 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/505 kB of archives. After unpacking 1,410 kB will be used.
> Do you want to continue? [Y/n/?] y
> 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
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> 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
> 
> Please help...  I'm not expert.

Your installation lacks /sbin/ldconfig and /sbin/start-stop-daemon from
"libc-bin" and "dpkg" packages respectively. Or root's $PATH lack
"/sbin" somehow.
Either way it's not normal, it's a little wonder that you're able to
boot or run any binary executable.


I'd start fixing this mess by checking root's $PATH:

echo $PATH

It literally should have this value:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Next I'd try this:

apt-get install --reinstall dpkg libc-bin

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 09:10 +0200
  Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 10:00 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:10 +0200
      Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 10:20 +0200
        Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:40 +0200
          Re: Please help with error message deloptes <deloptes@gmail.com> - 2018-08-07 13:20 +0200
            Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 19:00 +0200
              Re: Please help with error message deloptes <deloptes@gmail.com> - 2018-08-08 00:00 +0200
        Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 13:50 +0200
          Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 14:10 +0200
        Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 13:50 +0200
      Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 11:40 +0200
        Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 12:10 +0200
          Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 12:30 +0200
            Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 12:50 +0200
              Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 15:20 +0200
            Re: Please help with error message Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-07 14:20 +0200
  Re: Please help with error message Erik Christiansen <dvalin@internode.on.net> - 2018-08-07 10:10 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:20 +0200
  Re: Please help with error message Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2018-08-07 10:10 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:20 +0200

csiph-web