'$ which dpkg' and got nothing - just returns to cursor '$ which wget' and got nothing - just returns to cursor
this means that it didnt find the command. If you are used to M$ DOS then the path is normally c:\windows\system32
try the commands find / -name dpkg find / -name wget
if this comes back with "not found" then cd /sbin and then issue the commands with a dot slash in front ./find / -name dpkg ./find / -name wget
or cd into /bin /usr/sbin /usr/bin or /usr/local/bin
and I hope we can find the commands.
Is this as a user or root you are doing this? If its a user the "su minus" which gets you to root with roots environment. su -
and then try the "which dpkg" and such like again.
Keith