Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在服务器中禁用 google-chrome 自动更新 #1

Closed
MetaT1an opened this issue Nov 27, 2020 · 1 comment
Closed

在服务器中禁用 google-chrome 自动更新 #1

MetaT1an opened this issue Nov 27, 2020 · 1 comment

Comments

@MetaT1an
Copy link

使用apt update升级软件包时会自动更新 chrome ,驱动如果安装的比较早,后续使用可能会出现 chrome 与驱动版本相差太多,导致脚本使用出现潜在问题。

服务器上的 chrome 不常用,可以使用apt-mark命令禁止其自动更新,保持与安装时驱动的版本一致。

sudo apt-mark hold google-chrome-stable  # prevent chrome from being automatically upgraded
sudo apt-mark showhold  # show packages on hold

😝参阅:http://manpages.ubuntu.com/manpages/bionic/man8/apt-mark.8.html

@siliconx
Copy link
Owner

赞👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants