[SOLVED] “dpkg: error: need an action option”

When you are trying to install Google Chrome on Ubuntu, you may receive the following error:

Error Message

“dpkg: error: need an action option”

Solution

This may be because of the command you copied from somewhere and you pasted on the terminal. Instead of -, a _ may have been replaced in the command as shown below,

sudo dpkg –i google-chrome-stable_current_amd64.deb

Correct the command and it should be like this,

sudo dpkg -i google-chrome-stable_current_amd64.deb