3

I'm trying to install chrome on ubuntu 14.04. Mine is a 64 bit system. I'm getting this error.

$ sudo dpkg –i google-chrome-stable_current_amd64.deb
dpkg: error: need an action option`

`Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;`

`Options marked [*] produce a lot of output - pipe it through 'less' or 'more'!`

As far as I understand, -i is an action option. What am I doing wrong?

3
  • 3
    Looks like you copy-pasted the command and it contains non-ASCII characters (the is not a - for example), try actually typing it. Feb 14, 2015 at 20:03
  • @steeldriver Thanks. That worked. But now I'm getting a new error. dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libappindicator1; however: dpkg: error processing package google-chrome-stable (--install): dependency problems - leaving unconfigured
    – mahacoder
    Feb 14, 2015 at 20:07
  • @ak31 told you not to use dpkg unless you needed to. Now do sudo apt-get install -f.
    – muru
    Feb 14, 2015 at 20:13

1 Answer 1

11

I'm going to guess that is a command you copied from a website or something like that, because that dash in front of the i is not a hyphen (or minus), but an en-dash:

$ od -c <<<"–"
0000000 342 200 223  \n
0000004
$ od -c <<<"-"
0000000   -  \n
0000002

Use a proper - instead.

And don't use dpkg unless you need to; the Software Centre can handle .deb files just fine, just double click on the file, or do xdg-open google-chrome-stable_current_amd64.deb.

2
  • em-dash! Annoy your friends and families! Thanks.
    – Martlark
    Mar 23, 2017 at 0:47
  • 1
    @Zanna interesting, thanks! That's one part of the 10k tools I haven't looked at much.
    – muru
    Dec 11, 2018 at 1:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .