如何解决铬版本与安装的版本不同
跑sudo apt-get purge chromium-browser
->不再添加铬。
然后:
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb -O /tmp/chrome.deb
sudo apt install -y --allow-downgrades /tmp/chrome.deb
但是当我运行chromium-browser --version
时
我得到:
`Chromium 85.0.4183.102 snap`
这是安装日志:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note,selecting 'chromium-browser' instead of '/tmp/chrome.deb'
The following package was automatically installed and is no longer required:
chromium-codecs-ffmpeg-extra
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
chromium-browser
0 upgraded,1 newly installed,0 to remove and 55 not upgraded.
Need to get 0 B/48.3 kB of archives.
After this operation,164 kB of additional disk space will be used.
Get:1 /tmp/chrome.deb chromium-browser amd64 80.0.3987.163-0ubuntu1 [48.3 kB]
Preconfiguring packages ...
Selecting previously unselected package chromium-browser.
(Reading database ... 152377 files and directories currently installed.)
Preparing to unpack /tmp/chrome.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
snap "chromium" is already installed,see 'snap help refresh'
=> Snap installation complete
Unpacking chromium-browser (80.0.3987.163-0ubuntu1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Setting up chromium-browser (80.0.3987.163-0ubuntu1) ...
我需要版本80才能在python中生成一些pdf脚本。运行脚本后,它失败,导致Chrome无法启动:异常退出。 我不知道为什么会发生这种情况或如何解决它。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。