I entered 'find / -name dpkg' and got '/var/lib/dpkg' '/etc/dpkg' '/etc/logrotate.d/dpkg' '/usr/bin/dpkg' '/usr/lib/dpkg' '/usr/share/doc/dpkg' '/usr/share/dpkg' '/usr/share/lintian/overides/'
I entered 'find / -name wget' and got '/usr/bin/wget' '/usr/share/doc/wget
I'm typing at 'root@elc-desktop:~# _'
I entered 'set> /tmp/set.txt' 'set>/tmp/set.txt' 'set > /tmp/set.txt' and got nothing to all three
I entered 'more /tmp/set.txt' and got about 50 lines of
BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() and so on,
elc
'$ 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