Description
We are using AdoptOpenJDK 8 for Debian 11, but it's been moved to Adoptium and we have to change its repository settings.
$ cat /etc/issue Debian GNU/Linux 11 \n \l $ sudo puppet apply --modulepath=$PWD:/usr/share/puppet/modules -e "include bigtop_toolchain::jdk" 2023-10-13 10:21:33.374027 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C Warning: ModuleLoader: module 'apt' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5 (file: /etc/puppet/hiera.yaml) Notice: Compiled catalog for debian11.localdomain in environment production in 0.16 seconds Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install adoptopenjdk-8-hotspot' returned 100: Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: adoptopenjdk-8-hotspot 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 103 MB of archives. After this operation, 204 MB of additional disk space will be used. Err:1 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bullseye/main amd64 adoptopenjdk-8-hotspot amd64 8u292-b10-3 503 Service Temporarily Unavailable [IP: 34.74.126.177 443] E: Failed to fetch https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/pool/main/a/adoptopenjdk-8-hotspot/adoptopenjdk-8-hotspot_8u292-b10-3_amd64.deb 503 Service Temporarily Unavailable [IP: 34.74.126.177 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Error: /Stage[main]/Bigtop_toolchain::Jdk/Package[adoptopenjdk-8-hotspot]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install adoptopenjdk-8-hotspot' returned 100: Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: adoptopenjdk-8-hotspot 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 103 MB of archives. After this operation, 204 MB of additional disk space will be used. Err:1 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bullseye/main amd64 adoptopenjdk-8-hotspot amd64 8u292-b10-3 503 Service Temporarily Unavailable [IP: 34.74.126.177 443] E: Failed to fetch https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/pool/main/a/adoptopenjdk-8-hotspot/adoptopenjdk-8-hotspot_8u292-b10-3_amd64.deb 503 Service Temporarily Unavailable [IP: 34.74.126.177 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Notice: Applied catalog in 1.75 seconds