请问Ubuntu要怎么安装chrome呀?
这是根据网上的方法安装的deb包
sudo dpkg -i google-chrome-stable_current_amd64.deb
然后就爆出了一堆依赖问题。
然后也是根据网上教的:
sudo apt-get install -f
也是没有任何作用,再次运行dpkg后还是一样的问题。(包括再次运行apt install update 和 apt install upgrade)
root@ecs-17a6:/usr/local/javaprojects/google# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
google-chrome-stable:amd64
0 upgraded, 0 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 365 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 196866 files and directories currently installed.)
Removing google-chrome-stable:amd64 (129.0.6668.89-1) ... (根据我的理解这里应该是把chrome.deb给删了,也不知道为什么?)
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
又试了网上的这个:sudo aptitude install google-chrome-stable:amd64
它给出的建议还是把这个给删了,没有一点用
Remove the following packages:
1) google-chrome-stable:amd64 [129.0.6668.89-1 (now, stable)]
Accept this solution? [Y/n/q/?] N
*** No more solutions available ***
最后又查到了这个东西:sudo gdebi google-chrome-stable_current_amd64.deb
还是缺依赖
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libasound2 (>= 1.0.17)
下载依赖后还是没有用:
# sudo apt install libasound2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2 is already the newest version (1.1.3-5ubuntu0.6).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
它下到哪了?
# sudo gdebi google-chrome-stable_current_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libasound2 (>= 1.0.17)