FC2ブログ
2012
08.27

なんたら not found in PATH or not executable.

Category: debian
$ sudo apt-get install pbuilder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed
Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
E: Broken packages



ないって言われるので、


$ sudo apt-get install console-setup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
console-setup-linux
The following packages will be REMOVED:
console-terminus
The following NEW packages will be installed:
console-setup-linux
The following packages will be upgraded:
console-setup
1 upgraded, 1 newly installed, 1 to remove and 203 not upgraded.
Need to get 0 B/1,115 kB of archives.
After this operation, 809 kB disk space will be freed.
Do you want to continue [Y/n]?
Reading changelogs... Done
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable.
dpkg: warning: 'update-rc.d' not found in PATH or not executable.
dpkg: 3 expected programs not found in PATH or not executable.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)



sudo の挙動が変わったとかそんな感じなのかな。

sudo の man みたら、

The -i (simulate initial login) option runs the shell specified by the password database entry of the target user as a login shell.



ってのがあるので、これ使ったらうまくいった。よかった。






スポンサーサイト




トラックバックURL
http://noriko3.blog42.fc2.com/tb.php/633-7589c8ef
トラックバック
コメント
管理者にだけ表示を許可する
 
back-to-top