Are you using the dpkg command after using the cd command to get to the directory that the deb is in?