我正在尝试在ubuntu 14.04上安装chrome。我的是64位系统。我收到此错误。
$ 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'!`
据我了解,-i是一个操作选项。我究竟做错了什么?
我想这是您从网站或类似网站复制的命令,因为前面的破折号i
不是连字符(或减号),而是一个破折号:
$ od -c <<<"–"
0000000 342 200 223 \n
0000004
$ od -c <<<"-"
0000000 - \n
0000002
请改用适当的名称-
。
并且dpkg
除非需要,否则不要使用;软件中心可以.deb
很好地处理文件,只需双击该文件或执行即可xdg-open google-chrome-stable_current_amd64.deb
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句