While dpkg -i indeed install the package, it doesn't do any automatic dependency resolution, meanwhile, there are two other alternatives, using gdebi, or the apt-get tool. To use the later just use:
sudo apt-get install /path/to/package.deb
Even if you are on the directory with the package you need to give a path using ./ at the start:
sudo apt-get install ./package.deb