Firstly, don't randomly delete critical system components or anything else outside MyDocs if you are not absolutely sure what it does. Only thing I can think of is to try to get the /usr/bin/dpkg from the debian package from the sdk repository. If that doesnt work I guess you'll have to reflash. And .ipk files can't be installed like debian packages.