无法通过“google-chrome-stable_current_i386.deb”在 ubuntu12.04 中安装谷歌浏览器

无法通过“google-chrome-stable_current_i386.deb”在 ubuntu12.04 中安装谷歌浏览器

键入命令后sudo dpkg -i google-chrome stable_current_i386.deb出现以下错误:

 sandeep@sandeep-pc:~/Downloads$ sudo dpkg -i google-chrome-stable_current_i386.deb 
 Selecting previously unselected package google-chrome-stable.                                                                              
Selecting previously unselected package google-chrome-stable.
(Reading database ... 143783 files and directories currently installed.)
Unpacking google-chrome-stable (from google-chrome-stable_current_i386.deb) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on lib32gcc1 (>= 1:4.1.1); however:
  Package lib32gcc1 is not installed.
 google-chrome-stable depends on lib32stdc++6 (>= 4.6); however:
  Package lib32stdc++6 is not installed.
 google-chrome-stable depends on libc6-i386 (>= 2.11); however:
  Package libc6-i386 is not installed.
dpkg: error processing google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Errors were encountered while processing:
  google-chrome-stable

如何安装 Chrome?

答案1

只需双击 google-chrome-stable.deb 并等到 ubuntu 软件中心打开,然后单击安装,此方法比“ dpkg ”更好,并且运行完美

答案2

您应该使用安装未满足的依赖项,sudo apt-get install lib32gcc1 lib32stdc++6 libc6-i386但是如果 Ubuntu 拒绝安装,则这是一个真正的依赖问题,您应该寻找 Google Chrome 的替代方案。

答案3

使用 PPA 安装 Chrome。

添加密钥: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

设置存储库: echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list

安装包: sudo apt-get update sudo apt-get install google-chrome-stable

或者,你可以尝试我构建的开源 Web 应用程序 www.ins2all.com?a=Chrome

它生成一个 bash 脚本,其中包含安装所选应用程序的步骤。

您还必须运行

sudo apt-get install lib32gcc1 lib32stdc++6 libc6-i38

用于修复未满足的依赖项。根据问题,这里缺少“lib32gcc1”,“lib32stdc ++6”和“libc6-i38”。

相关内容