installer icon indicating copy to clipboard operation
installer copied to clipboard

Debian Bookworm repository for Temurin 21 not working

Open jinzo opened this issue 2 years ago • 63 comments

What are you trying to do? Install temurin-21-jdk on Debian Bookworm

Observed behaviour:

root@bennu:~# cat /etc/apt/sources.list.d/adoptium.list
deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main
root@bennu:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]              
Hit:3 https://download.docker.com/linux/debian bookworm InRelease                                   
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease                                                   
Get:5 https://packages.adoptium.net/artifactory/deb bookworm InRelease [6,638 B]                                
Fetched 54.6 kB in 1s (55.7 kB/s)    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@bennu:~# apt install temurin-21-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  adoptium-ca-certificates alsa-topology-conf alsa-ucm-conf fontconfig-config fonts-dejavu-core fonts-dejavu-extra java-common libasound2 libasound2-data libfontconfig1
  libxi6 libxrender1 libxtst6 p11-kit p11-kit-modules x11-common
Suggested packages:
  default-jre libasound2-plugins alsa-utils
The following NEW packages will be installed:
  adoptium-ca-certificates alsa-topology-conf alsa-ucm-conf fontconfig-config fonts-dejavu-core fonts-dejavu-extra java-common libasound2 libasound2-data libfontconfig1
  libxi6 libxrender1 libxtst6 p11-kit p11-kit-modules temurin-21-jdk x11-common
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 177 MB/183 MB of archives.
After this operation, 378 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-21-jdk amd64 21.0.1.0.0+12
  400  Bad Request [IP: 151.101.243.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0%2b12_amd64.deb  400  Bad Request [IP: 151.101.243.42 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any other comments: Fresh Bookworm install from today, almost nothing else installed than base netinstall. Lookslike something is wrong and ${VERSION} did not get replaced with 21 with the debian repository build.

jinzo avatar Oct 26 '23 15:10 jinzo

Having the same error on Ubuntu 22.04 (Jammy).

sudo apt install temurin-21-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  adoptium-ca-certificates fonts-dejavu-extra java-common
Suggested packages:
  default-jre
The following NEW packages will be installed:
  adoptium-ca-certificates fonts-dejavu-extra java-common temurin-21-jdk
0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
Need to get 177 MB/179 MB of archives.
After this operation, 368 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-21-jdk amd64 21.0.1.0.0+12
  400  Bad Request [IP: 151.101.3.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0%2b12_amd64.deb  400  Bad Request [IP: 151.101.3.42 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Worth noting that Temurin 17 also appears to be broken currently:

sudo apt install temurin-17-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  adoptium-ca-certificates fonts-dejavu-extra java-common
Suggested packages:
  default-jre
The following NEW packages will be installed:
  adoptium-ca-certificates fonts-dejavu-extra java-common temurin-17-jdk
0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
Need to get 166 MB/168 MB of archives.
After this operation, 338 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0+9
  400  Bad Request [IP: 151.101.131.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb  400  Bad Request [IP: 151.101.131.42 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

As pointing out above, looks like ${VERSION} isn't being replaced for some reason

CrystalENVT avatar Oct 26 '23 17:10 CrystalENVT

Interestingly, temurin-17-jdk did work for me on Debian Bookworm.

jinzo avatar Oct 26 '23 17:10 jinzo

Having similar issues installing temurin-17-jdk on ubuntu focal. My install script looks like the following (taken from the instructions)

apt-get -qq install -y wget apt-transport-https

# Download the Eclipse Adoptium GPG key:
mkdir -p /etc/apt/keyrings
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc

# Configure the Eclipse Adoptium apt repository
echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print $2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list

# install the jdk
apt-get -qq update
apt-get -qq install -y temurin-17-jdk

and the output I get is

--2023-10-27 00:56:22--  https://packages.adoptium.net/artifactory/api/gpg/key/public
 Resolving packages.adoptium.net (packages.adoptium.net)... 146.75.35.42
 Connecting to packages.adoptium.net (packages.adoptium.net)|146.75.35.42|:443... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 1793 (1.8K) [text/plain]
 -----BEGIN PGP PUBLIC KEY BLOCK-----

 mQENBGGTvTQBCAC6ey144n7CG8foafF6mwgIBN1fIm1ILZDuGS4tMr0/XI8pgJnT
 Saving to: ‘STDOUT’

      0K .                                                     100% 20.9M=0s

 QvsPxZWEvtSm7bEMObzEoZJcXwjBcJl1B0ui8k5kHMTI75gCmZPsoKLFWIEpuRBQ
 2023-10-27 00:56:22 (20.9 MB/s) - written to stdout [1793/1793]

 PBocusw80apDmLnNDQLVQvDFtEua5gaNa/fRw9YsmBoXBqvgrjFUIdGyWoQvH5+a
 9OYlWD9n5VV0gnVMb+aclwVzB/zJw3kHGSgzuMtlAHeQiah7Y8yomQn/UIX8yqDf
 +11sP3+c87YcjkRqImRTtmKEDcEtGPAIXC6SYA+uEEkbYE0Fy0chkvtnVWJ597fa
 Epai4rnICU8zoJ6X5z3v1aM2WerhX9oq9X8PABEBAAG0QEFkb3B0aXVtIEdQRyBL
 ZXkgKERFQi9SUE0gU2lnbmluZyBLZXkpIDx0ZW11cmluLWRldkBlY2xpcHNlLm9y
 Zz6JAVIEEwEIADwWIQQ7BNdTyQUNml00PzmEPEilZfjwSwUCYZO9NAIbAwULCQgH
 AgMiAgEGFQoJCAsCBBYCAwECHgcCF4AACgkQhDxIpWX48Et4AggAjjJzYWuKV3nG
 7ngInngl8G/m9JoHr7BmwgcQXYhdy5hVkMcUx5JLeXz2LMBUH/F2nD595hgjMabk
 kVib20X8lq9RsNbdfc2hBcWU6qyHKxsIqT4boI2/XDyEzzMyyZWWNGo/27Ci7Xmj
 pWu31nh0pDdPqdyWDIKojbVVnxlCRY8as8Sm+1ufi709KCi4MuwHNsUlCSwb/fju
 NKeHkrHbLcHKUUIEcmTSKRWrpMYBzm1HYOGBz4xPuELwUfUp71ehfoyBZlp6RDRf
 l5TYI1FmCyHuvjNhrJgWv7bOTcf8yObGY+TEUhzc4xQqCrF4ur9d3opvsuPBQsv+
 Klqi5KSZgrkBDQRhk700AQgAq14okly8cFrpYVenEQPiB75AUZfKRpMduiR6IxAj
 SKcH7aSoFZ9AubUEBVpZsyT5svxoEPe1i4TdbF+m9FGy42EcOlLa3ArLTj5H8FRl
 UdGZB9I5mk4GptOzPM+aHMMu92vW/ZwjuS8DvOiQSp+cUmG1EqOMJSM7e/4BM71z
 E+OKaVJCj79pEzhG3SK/IC/OlxxyETT66NSfYJd7Sw5R6Vr19am/uNU690W0CJ+q
 VQeFpmDMr7LnfdFRIh+lJe05+PvWXeidkGjox5cbG52wf8aRIR/FgkfcFvqRMN1f
 B+dVOWueloUeVAnzcUznOKmUEs7LP9ObJhYHHgup4IAU2wARAQABiQE2BBgBCAAg
 FiEEOwTXU8kFDZpdND85hDxIpWX48EsFAmGTvTQCGwwACgkQhDxIpWX48EvXHQf/
 Q0nZsGDXnZHiBoojeSdpkO7WBjMIP3w1GdLvRpPQrS8TfOPbZuoevzCNh38Y3gwF
 yelJspvzDQrBXhgkzAGlucYg8Y7KHa5Ebm7iDgMzc37L1hYSZTYCqwd7aowfgy34
 hOk3B67LffkJpIh738Oa9CtlwxQ9xcytmBmQ1fBBOwm/9IhAwHPQuydYIs4DxWbj
 0MGSP4fDntU7e4UjsHNmhudDcYol0FaqdHHIIB9C/G4CzetRwHFOn3b4JwXMU7YU
 6aJA3mXhi3hggMC3wkT2HHZ/TquuOdNc02fypWOCDOHz0alBBJNqoVUNFNqU3tfJ
 wI4qF/KKq9BfyfucAs0ykA==
 =szki
 -----END PGP PUBLIC KEY BLOCK-----deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb focal main
 E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-/temurin-17-jdk_17.0.9.0+9_amd64.deb  400  Bad Request [IP: 146.75.35.42 443]
 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

ramsgoli avatar Oct 27 '23 01:10 ramsgoli

Same problem, can't upgrade temurin jdk packages.

EDIT: Interesting, that Temurin JRE 21 is instalable. See https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-21/temurin-21-jre_21.0.1.0.0%2b12_amd64.deb

Err:1 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-11-jdk amd64 11.0.21.0.0+9 400 Bad Request [IP: 151.101.3.42 443] Err:2 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-11-jre amd64 11.0.21.0.0+9 400 Bad Request [IP: 151.101.3.42 443] Err:3 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-17-jdk amd64 17.0.9.0+9 400 Bad Request [IP: 151.101.3.42 443] Err:4 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-17-jre amd64 17.0.9.0+9 400 Bad Request [IP: 151.101.3.42 443] E: Selhalo stažení https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.3.42 443] E: Selhalo stažení https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jre_11.0.21.0.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.3.42 443] E: Selhalo stažení https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.3.42 443] E: Selhalo stažení https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jre_17.0.9.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.3.42 443]

ByCzech avatar Oct 27 '23 03:10 ByCzech

Same problem on Debian 12 with temurin-17-jdk.

The following packages will be upgraded:
  temurin-17-jdk
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 166 MB of archives.
After this operation, 130 kB of additional disk space will be used.
Err:1 https://packages.adoptium.net/artifactory/deb bookworm/main amd64 temurin-17-jdk amd64 17.0.9.0+9
  400  Bad Request [IP: 151.101.3.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb  400  Bad Request [IP: 151.101.3.42 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

iAweX avatar Oct 27 '23 04:10 iAweX

Looks like the latest build in the debian repo is broken. Can be seen from links shown here. Previous versions that are still available can be downloaded fine.

A temporary workaround would be explicitly specify the version before the latest one. For JDK17, that would be temurin-17-jdk=17.0.8.1.0+1.

EDIT: Looks like JDK8 is still fine (no ${VERSION}). Also, the repo pages appear bugged as I'm getting a lot of errors saying I'm "not authorized".

lss4 avatar Oct 27 '23 05:10 lss4

Looks like the latest build in the debian repo is broken. Can be seen from links shown here. Previous versions that are still available can be downloaded fine.

A temporary workaround would be explicitly specify the version before the latest one. For JDK17, that would be temurin-17-jdk=17.0.8.1.0+1.

EDIT: Looks like JDK8 is still fine (no ${VERSION}). Also, the repo pages appear bugged as I'm getting a lot of errors saying I'm "not authorized".

Hm...

$ LANG=C wget 'https://packages.adoptium.net/ui/api/v1/download?repoKey=deb&path=pool%2Fmain%2Ft%2Ftemurin-%24%7BVERSION%7D%2Ftemurin-21-jdk_21.0.1.0.0%2B12_amd64.deb&jfLoader=true' --2023-10-27 07:51:31-- https://packages.adoptium.net/ui/api/v1/download?repoKey=deb&path=pool%2Fmain%2Ft%2Ftemurin-%24%7BVERSION%7D%2Ftemurin-21-jdk_21.0.1.0.0%2B12_amd64.deb&jfLoader=true Resolving packages.adoptium.net (packages.adoptium.net)... 151.101.3.42, 151.101.67.42, 151.101.131.42, ... Connecting to packages.adoptium.net (packages.adoptium.net)|151.101.3.42|:443... connected. HTTP request sent, awaiting response... 503 Response object too large 2023-10-27 07:51:32 ERROR 503: Response object too large.

ByCzech avatar Oct 27 '23 05:10 ByCzech

Same problems today for Ubuntu Jammy : Encoding URL seems too be bad

Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-11-jdk amd64 11.0.21.0.0+9 400 Bad Request Err:2 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0+9 400 Bad Request E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0%2b9_amd64.deb 400 Bad Request E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb 400 Bad Request

statoon54 avatar Oct 27 '23 06:10 statoon54

There have been a few similar issues raised recently, although in each case I have been unable to reproduce it. It feels like a caching issue somewhere. I've transferred this to the installer repository as it's the most appropriate place for it.

sxa avatar Oct 27 '23 09:10 sxa

Same today for Ubuntu 22.04.3 LTS (Jammy Jellyfish).

Fails on all JDK installed (11 and 17)

Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-11-jdk amd64 11.0.21.0.0+9 400 Bad Request [IP: 151.101.247.42 443] Err:2 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0+9 400 Bad Request [IP: 151.101.247.42 443] E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.247.42 443] E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb 400 Bad Request [IP: 151.101.247.42 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

mrairzuk avatar Oct 27 '23 11:10 mrairzuk

It looks as though there was some problem with whatever script updated the deb repository metadata. If you look at the Packages files, eg:

curl https://packages.adoptium.net/artifactory/deb/dists/jammy/main/binary-amd64/Packages

The latest patches have file redirects with ${VERSION} inside, instead of whatever value ${VERSION} actually is.

For example temurin-11-jdk_11.0.21 redirects to file: pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0+9_amd64.deb

but temurin-11-jdk_11.0.20.1 redirects to: pool/main/t/temurin-11/temurin-11-jdk_11.0.20.1.0+1_amd64.deb Where ${VERSION} is correctly replaced by 11.

That's why it works when you specify an older version.

And to save anyone from looking up what those versions are...

  • java 21: apt install temurin-21-jdk=21.0.0.0.0+35
  • java 17: apt install temurin-17-jdk=17.0.8.1.0+1
  • java 11: apt install temurin-11-jdk=11.0.20.1.0+1

jennyowen avatar Oct 27 '23 11:10 jennyowen

It looks as though there was some problem with whatever script updated the deb repository metadata. If you look at the Packages files, eg:

curl https://packages.adoptium.net/artifactory/deb/dists/jammy/main/binary-amd64/Packages

The latest patches have file redirects with ${VERSION} inside, instead of whatever value ${VERSION} actually is.

For example temurin-11-jdk_11.0.21 redirects to file: pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0+9_amd64.deb

but temurin-11-jdk_11.0.20.1 redirects to: pool/main/t/temurin-11/temurin-11-jdk_11.0.20.1.0+1_amd64.deb Where ${VERSION} is correctly replaced by 11.

That's why it works when you specify an older version.

And to save anyone from looking up what those versions are...

  • java 21: apt install temurin-21-jdk=21.0.0.0.0+35
  • java 17: apt install temurin-17-jdk=17.0.8.1.0+1
  • java 11: apt install temurin-11-jdk=11.0.20.1.0+1

The Folder ${VERSION} exists https://adoptium.jfrog.io/ui/repos/tree/General/deb/pool/main/t/temurin-$%7BVERSION%7D

But the encoding is bad somewhere with ${VERSION}.

statoon54 avatar Oct 27 '23 12:10 statoon54

I am seeing the same problem. I hope we can fix this soon. Thanks for anyone who is working on this problem

eolivelli avatar Oct 27 '23 13:10 eolivelli

Same issue on Linux Mint 21.2, both in Update Manager and apt upgrade:

E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0%2b9_amd64.deb  400  Bad Request [IP: 146.75.119.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb  400  Bad Request [IP: 146.75.119.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0%2b12_amd64.deb  400  Bad Request [IP: 146.75.119.42 443]

Quinteger avatar Oct 27 '23 13:10 Quinteger

Interesting note. If I just get into docker: docker run -it $image /bin/bash and run commands there, it works. If I run them from Dockerfile - same error with BAD_REQUEST.

In other words, it works in interactive session for some reason.

tnymlr avatar Oct 27 '23 14:10 tnymlr

Actually, scratch that, it's not interactive session that works, it's ARM64 platform. Works fine on arm64/aarch64, fails on x64.

tnymlr avatar Oct 27 '23 14:10 tnymlr

When it will fixed? I am trying to build ubuntu22 runner-images which depends on this and due to thi bug the build is failing.

jakuboskera avatar Oct 27 '23 17:10 jakuboskera

temurin-${VERSION}/ has been deleted. Is this still a issue?

sophia-guo avatar Oct 27 '23 17:10 sophia-guo

@sophia-guo thank you, works in my build.

tnymlr avatar Oct 27 '23 17:10 tnymlr

@tnymlr works for x64 now, correct? Thanks!

sophia-guo avatar Oct 27 '23 17:10 sophia-guo

temurin-11-jdk and temurin-21-jdk work now, but not temurin-17-jdk yet.

Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0+9
  400  Bad Request [IP: 151.101.247.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb  400  Bad Request [IP: 151.101.247.42 443]

slovdahl avatar Oct 27 '23 18:10 slovdahl

temurin-11-jdk and temurin-21-jdk work now, but not temurin-17-jdk yet.

Err:1 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0+9
  400  Bad Request [IP: 151.101.247.42 443]
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0%2b9_amd64.deb  400  Bad Request [IP: 151.101.247.42 443]

can confirm temurin-8-jdk and temurin-11-jdk works, temurin-17-jdk not...

jakuboskera avatar Oct 27 '23 18:10 jakuboskera

Hi folks, we're aware of the issue and are investigating with our CDN and package repo providers.

karianna avatar Oct 27 '23 22:10 karianna

@sophia-guo yes, x64. Thank's again =).

tnymlr avatar Oct 28 '23 04:10 tnymlr

@sophia-guo

temurin-${VERSION}/ has been deleted. Is this still a issue?

Not works for temurin-17-jdk

iAweX avatar Oct 28 '23 06:10 iAweX

Quick way to see if the problem isn't yet fixed:

❯ curl -s 'https://packages.adoptium.net/artifactory/deb/dists/jammy/main/binary-amd64/Packages' |grep '${VERSION}'
Filename: pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0+12_amd64.deb
Filename: pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0+9_amd64.deb
Filename: pool/main/t/temurin-${VERSION}/temurin-11-jdk_11.0.21.0.0+9_amd64.deb
Filename: pool/main/t/temurin-${VERSION}/temurin-11-jre_11.0.21.0.0+9_amd64.deb
Filename: pool/main/t/temurin-${VERSION}/temurin-17-jre_17.0.9.0+9_amd64.deb

As long as you get this type of result, the problem remains.

By searching the repository content, ${VERSION} is only referenced from https://github.com/adoptium/installer/blob/master/linux/Jenkinsfile . Perhaps there's some quotes issue in Jenkinsfile?

lhotari avatar Oct 28 '23 06:10 lhotari

Well, it seems to be an issue only in the packages index. The same version is duplicated in the index and the invalid one gets picked.

For example:

❯ curl -s 'https://packages.adoptium.net/artifactory/deb/dists/jammy/main/binary-amd64/Packages' |grep jdk_21.0.1.0.0
Filename: pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0+12_amd64.deb
Filename: pool/main/t/temurin-21/temurin-21-jdk_21.0.1.0.0+12_amd64.deb
❯ curl -s 'https://packages.adoptium.net/artifactory/deb/dists/jammy/main/binary-amd64/Packages' |grep jdk_17.0.9.0
Filename: pool/main/t/temurin-${VERSION}/temurin-17-jdk_17.0.9.0+9_amd64.deb
Filename: pool/main/t/temurin-17/temurin-17-jdk_17.0.9.0+9_amd64.deb

I guess the index needs to be fixed or the version bumped?

lhotari avatar Oct 28 '23 06:10 lhotari

It looks like the Packages index is now fixed and this issue is resolved. Thanks for fixing this!

lhotari avatar Oct 28 '23 16:10 lhotari

It looks like the Packages index is now fixed and this issue is resolved. Thanks for fixing this!

I confirm. x64 & temurin 17 works.

statoon54 avatar Oct 29 '23 05:10 statoon54

Fixed. Working for me too.

ByCzech avatar Oct 29 '23 06:10 ByCzech