如何安装最旧版本的 Chrome

如何安装最旧版本的 Chrome

我在 gitlab 管道中有一些测试,但现在它们不起作用 这是我在文件中的代码.gitlab-ci.yml

build:
  before_script:
    - sudo chmod +x ./gradlew
    - sudo apt-get update
    - wget https://download.java.net/java/GA/jdk14.0.2/205943a0976c4ed48cb16f1043c5c647/12/GPL/openjdk-14.0.2_linux-x64_bin.tar.gz
    - tar xvf openjdk-14.0.2_linux-x64_bin.tar.gz
    - sudo mv jdk-14.0.2 /usr/lib/jvm
    - sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-14.0.2/bin/javac" 3
    - sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-14.0.2/bin/java" 3
    - sudo update-alternatives --set "javac" "/usr/lib/jvm/jdk-14.0.2/bin/javac"
    - sudo update-alternatives --set "java" "/usr/lib/jvm/jdk-14.0.2/bin/java"
    - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    - sudo dpkg -i ./google-chrome-stable_current_amd64.deb
    - apt --fix-broken install

错误列表:

Preparing to unpack .../google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (111.0.5563.146-1) over (61.0.3163.91-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libgbm1 (>= 17.1.0~rc2); however:
  Version of libgbm1:amd64 on system is 17.0.7-0ubuntu0.16.04.1.
 google-chrome-stable depends on libu2f-udev; however:
  Package libu2f-udev is not installed.
 google-chrome-stable depends on libvulkan1; however:
  Package libvulkan1 is not installed.
dpkg: error processing package google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Errors were encountered while processing:
 google-chrome-stable

相关内容