跑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无法启动:异常退出。 我不知道为什么会发生这种情况或如何解决它。