debian安装chrome出错

菜鸟写给自己的笔记



Debian下安装chrome出现了错误:dpkg:处理 google-chrome-stable (--install)时出错: 

  正在解压缩 google-chrome-stable (从 google-chrome-stable_current_i386.deb) ...
dpkg:依赖关系问题使得 google-chrome-stable 的配置工作不能继续:
 google-chrome-stable 依赖于 libcurl3;然而:
  未安装软件包 libcurl3。
dpkg:处理 google-chrome-stable (--install)时出错:
 依赖关系问题 - 仍未被配置

//-------------------------------------------------------------------------------------------------------------------------------------

root@debian:/home/guangle/Downloads# apt-get install xdg-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 google-chrome-stable : Depends: libxss1 but it is not going to be installed
                        Depends: libappindicator1 but it is not going to be installed
                        Depends: libcurl3 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
//-----------------------------------------------------------------------------------------------------------------------------------------

最新不是很懂,根据错误提示,安装了apt-get install xdg-utils,有导出了,apt-get -f install

试了下,没到问题解决了,深究原因。


  解决办法:终端输入: apt-get -f install

//------------------------------------------------------------------------------------------------------------------------------------------

apt-get -f install,是修复依赖关系(depends)的命令,就是假如你的系统上有某个
package不满足依赖条件,这个命令就会自动修复,安装那个package依赖的package。
//-------------------------------------------------------------------------------------------------------------------------------------------

  然后:dpkg -i google-chrome-stable_current_i386.deb 

  安装成功。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值