I have maintained several fink installations in the past, but now I am running into a show-stopping problem with dpkg. Whenever I try to install something, either with fink, apt-get, or dselect, when it gets to the dpkg phase it dies with this error:
dpkg: `install-info' not found on PATH. dpkg: `update-rc.d' not found on PATH. dpkg: 2 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /sw/bin/dpkg returned an error code (2) It sounds like a path problem. I have been using dselect through sudo (although the problem also occurs when I su to root), so I tried this: [localhost:~] bencohen% sudo echo $PATH Password: /usr/bin:/bin:/Users/bencohen:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin: /usr/local/sbin:/usr/X11R6/bin:/usr/local:/usr/local/teTEX/bin/powerpc-apple-darwin1. 3.7:/sw/bin:/sw/share/bin:/sw/man:/usr/local/share:/bin:/usr/bin:/sbin:/usr/ sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local:/sw/bin:/sw/ share/bin:/sw/man:/usr/local/share/ Everything seems in order there. So why does it say that root does not have the sbin dirs on it's path? Thanks in advance for your replies. Sincerely, Benjamin Cohen _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
