发布时间:2015-05-27 19:09:48作者:知识屋
下载了chrome的.deb的文件,打算用命令去安装
$ sudo dpkg --install chrome.deb结果报错:
[sudo] password for young: Selecting previously unselected package google-chrome-stable.(Reading database ... 141861 files and directories currently installed.)Unpacking google-chrome-stable (from chrome.deb) ...dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libgconf2-4 (>= 2.27.0); however: Package libgconf2-4 is not installed. google-chrome-stable depends on libnss3-1d (>= 3.12.3); however: Package libnss3-1d is not installed. google-chrome-stable depends on libxss1; however: Package libxss1 is not installed.dpkg: error processing google-chrome-stable (--install): dependency problems - leaving unconfiguredProcessing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...Processing triggers for man-db ...Errors were encountered while processing: google-chrome-stable$ sudo apt-get install -fReading package lists... DoneBuilding dependency tree Reading state information... DoneCorrecting dependencies... DoneThe following package was automatically installed and is no longer required: linux-headers-3.5.0-17Use 'apt-get autoremove' to remove it.The following packages will be REMOVED: google-chrome-stable0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 140 MB disk space will be freed.Do you want to continue [Y/n]? Y(Reading database ... 141960 files and directories currently installed.)Removing google-chrome-stable ...Processing triggers for man-db ...Processing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...$ sudo dpkg --install chrome.debSelecting previously unselected package google-chrome-stable.(Reading database ... 141861 files and directories currently installed.)Unpacking google-chrome-stable (from chrome.deb) ...dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libgconf2-4 (>= 2.27.0); however: Package libgconf2-4 is not installed. google-chrome-stable depends on libnss3-1d (>= 3.12.3); however: Package libnss3-1d is not installed. google-chrome-stable depends on libxss1; however: Package libxss1 is not installed.dpkg: error processing google-chrome-stable (--install): dependency problems - leaving unconfiguredProcessing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...Processing triggers for man-db ...Errors were encountered while processing: google-chrome-stable
可以试试这个方法:
update your system and you should now be able to install google-chrome-stable.
sudo apt-get updatesudo apt-get install libgconf2-4 libnss3-1d libxss1
再用上述命令安装
直接在线安装:
先安装这个:
sudo apt-get install -f
再输入如下命令:
sudo apt-get install chromium-browser
这样就可以了。
linux一键安装web环境全攻略 在linux系统中怎么一键安装web环境方法
Linux网络基本网络配置方法介绍 如何配置Linux系统的网络方法
Linux下DNS服务器搭建详解 Linux下搭建DNS服务器和配置文件
对Linux进行详细的性能监控的方法 Linux 系统性能监控命令详解
linux系统root密码忘了怎么办 linux忘记root密码后找回密码的方法
Linux基本命令有哪些 Linux系统常用操作命令有哪些
Linux必学的网络操作命令 linux网络操作相关命令汇总
linux系统从入侵到提权的详细过程 linux入侵提权服务器方法技巧
linux系统怎么用命令切换用户登录 Linux切换用户的命令是什么
在linux中添加普通新用户登录 如何在Linux中添加一个新的用户
2012-07-10
CentOS 6.3安装(详细图解教程)
Linux怎么查看网卡驱动?Linux下查看网卡的驱动程序
centos修改主机名命令
Ubuntu或UbuntuKyKin14.04Unity桌面风格与Gnome桌面风格的切换
FEDORA 17中设置TIGERVNC远程访问
StartOS 5.0相关介绍,新型的Linux系统!
解决vSphere Client登录linux版vCenter失败
LINUX最新提权 Exploits Linux Kernel <= 2.6.37
nginx在网站中的7层转发功能