Pea*_*key 6 google-chrome ubuntu-12.04
尝试运行时sudo apt-get install google-chrome-stable,我看到以下消息
The following packages have unmet dependencies:
google-chrome-stable : Depends: lib32gcc1 (>= 1:4.1.1) but it is not installable
Depends: lib32stdc++6 (>= 4.6) but it is not installable
Depends: libc6-i386 (>= 2.11) but it is not installable
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
lib32gcc1例如,当我尝试安装时,我收到消息
Package lib32gcc1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lib32gcc1' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
小智 8
这是由于 Chrome 存储库中的打包错误造成的。
您可以使用Chromium 错误跟踪器中的此解决方案,直到存储库中的 Google-chrome-stable 软件包更新为止。
您可以像这样重新打包和安装它:
$ apt-get download google-chrome-stable
$ dpkg-deb -R google-chrome-stable_30.0.1599.101-1_i386.deb 304017
$ sed -i 304017/DEBIAN/control \
-e 's/30.0.1599.101-1/30.0.1599.101-2~304017/' \
-e 's/lib32gcc1 (>= 1:4.1.1), lib32stdc++6 (>= 4.6), //' \
-e 's/libc6-i386 (>= 2.11), //'
$ sudo chown root:root 304017/opt/google/chrome/chrome-sandbox
$ sudo chmod 4755 304017/opt/google/chrome/chrome-sandbox
$ dpkg-deb -b 304017
$ sudo dpkg -i 304017.deb
Run Code Online (Sandbox Code Playgroud)
积分归该用户所有。
| 归档时间: |
|
| 查看次数: |
6999 次 |
| 最近记录: |