On Sat, 2009-08-08 at 11:08 +0530, rajan ways wrote:
> /usr/local/bin:/usr/bin:/bin:/usr/games
>
>
> >
(you need to run it from the same shell and you must run everything from
root.
Which I don't think was the case earlier, since the PATH would otherwise
contain /sbin and /usr/sbin as well as the ones you have got. If you are
moving to root with su, try su - root instead of su)
Now, that means the path for update-rc.d is not in the path. What you
need to do is PATH=$PATH:`find / -type f -name update-rc.d`
[Note the backquotes(`) instead of ('). (') will not work.
after running this command dpkg should work.
But this solution is not permanent. If it works, we will make it
permanent.
If it works, please tell me the output of echo $PATH from the same
shell.
--~--~---------~--~----~------------~-------~--~----~
Do you have another question? Click here -
http://groups.google.com/group/iitdlug/post
l...@iitd community mailing list -- http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---