Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198345
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Please help with error message |
| Date | 2018-08-07 10:10 +0200 |
| Message-ID | <wk5e2-6yg-5@gated-at.bofh.it> (permalink) |
| References | <wk4hX-5YI-3@gated-at.bofh.it> <wk54l-6fk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Reco <recoverym4n@gmail.com> writes:
> 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
Thanks... I'm afraid it's bad...:
$ echo $PATH
/home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
rodolfo@sda6-acer:~$ su
Password:
root@sda6-acer:/home/rodolfo# apt-get install --reinstall dpkg libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-image-3.16.0-4-686-pae linux-image-4.11.0-2-686-pae linux-image-4.12.0-1-686-pae linux-image-4.12.0-2-686-pae linux-image-4.9.0-3-686-pae
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,952 kB of archives.
After this operation, 0 B of additional disk space will be used.
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)
Thanks,
Rodolfo
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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