菜鸟写给自己的笔记
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
安装成功。