I want to install my project's debian package from a shell script.
For that I'm using the command
sudo dpkg -i my_project_0.1.deb. But it's not going to install dependency.
I've also tried
sudo dpkg -i --force-depends. But still error.
Below commands can solve the problem,
sudo dpkg -i downloaded_package.deb sudo apt-get -f install
but I'm looking for any other solution (as it would install broken dependency for all packages).
How could I solve the problem? Is there any other command instead of dpkg?