Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEB installation broke #932

Closed
peterzhuamazon opened this issue Oct 26, 2023 · 11 comments
Closed

DEB installation broke #932

peterzhuamazon opened this issue Oct 26, 2023 · 11 comments

Comments

@peterzhuamazon
Copy link

peterzhuamazon commented Oct 26, 2023

Hi, seem like there is a issue install several jdks on DEB now with this msg, and happens on all three lts releases 11/17/21:


root@ea3945d661f3:/# apt update
Get:1 https://packages.adoptium.net/artifactory/deb focal InRelease [6632 B]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Fetched 6632 B in 0s (15.2 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@ea3945d661f3:/# apt-get install temurin-21-jdk
Reading package lists... Done
Building dependency tree
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 libbsd0 libexpat1 libfontconfig1 libfreetype6 libpng16-16 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxrender1 libxtst6 p11-kit
  p11-kit-modules ucf 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 libbsd0 libexpat1 libfontconfig1 libfreetype6 libpng16-16 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxrender1 libxtst6 p11-kit
  p11-kit-modules temurin-21-jdk ucf x11-common
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 183 MB of archives.
After this operation, 381 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://packages.adoptium.net/artifactory/deb focal/main amd64 adoptium-ca-certificates all 1.0.2-1 [2304 B]
Err:2 https://packages.adoptium.net/artifactory/deb focal/main amd64 temurin-21-jdk amd64 21.0.1.0.0+12
  400  Bad Request [IP: 146.75.43.42 443]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libbsd0 amd64 0.10.0-1 [45.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libexpat1 amd64 2.2.9-1ubuntu0.6 [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 ucf all 3.0038+nmu1 [51.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libpng16-16 amd64 1.6.37-2 [179 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libxau6 amd64 1:1.0.9-0ubuntu1 [7488 B]
Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libxdmcp6 amd64 1:1.1.3-0ubuntu1 [10.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 libxcb1 amd64 1.14-2 [44.7 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libx11-data all 2:1.6.9-2ubuntu1.6 [114 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libx11-6 amd64 2:1.6.9-2ubuntu1.6 [577 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libxext6 amd64 2:1.3.4-0ubuntu1 [29.1 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 p11-kit-modules amd64 0.23.20-1ubuntu0.1 [231 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 p11-kit amd64 0.23.20-1ubuntu0.1 [93.8 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/main amd64 alsa-topology-conf all 1.2.2-1 [7364 B]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 alsa-ucm-conf all 1.2.2-1ubuntu0.13 [27.0 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-dejavu-core all 2.37-1 [1041 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/main amd64 fontconfig-config all 2.13.1-2ubuntu3 [28.8 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-dejavu-extra all 2.37-1 [1953 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 java-common all 0.72 [6816 B]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasound2-data all 1.2.2-2.1ubuntu2.5 [20.1 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasound2 amd64 1.2.2-2.1ubuntu2.5 [335 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libfreetype6 amd64 2.10.1-2ubuntu0.3 [341 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal/main amd64 libfontconfig1 amd64 2.13.1-2ubuntu3 [114 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 libxi6 amd64 2:1.7.10-0ubuntu1 [29.9 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal/main amd64 libxrender1 amd64 1:0.9.10-1 [18.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal/main amd64 x11-common all 1:7.7+19ubuntu14 [22.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libxtst6 amd64 2:1.2.3-1 [12.8 kB]
Fetched 5417 kB in 4s (1507 kB/s)
E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-21-jdk_21.0.1.0.0+12_amd64.deb  400  Bad Request [IP: 146.75.43.42 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Thanks.

@harridu
Copy link

harridu commented Oct 27, 2023

Metoo.

This is fatal, because the whole package upgrade procedure is blocked, affecting Debian security updates as well. Workaround is to set the old Temurin packages on hold.

apt-mark hold temurin-11-jdk temurin-17-jdk temurin-8-jdk

Platform is Debian 11 and 12.

@tellison tellison transferred this issue from adoptium/temurin Oct 27, 2023
@yury-komarov-contextlabs

raising up issue. similar for temurin-11-jre amd64 (no issues with arm64). package is not available from US region

11:11:52  #7 8.808 Err:25 https://packages.adoptium.net/artifactory/deb focal/main amd64 temurin-11-jre amd64 11.0.21.0.0+9
11:11:52  #7 8.808   400  Bad Request [IP: 146.75.39.42 443]
11:11:52  #7 8.815 Fetched 3430 kB in 0s (9884 kB/s)
11:11:52  #7 8.815 E: Failed to fetch [https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-${VERSION}/temurin-11-jre_11.0.21.0.0+9_amd64.deb](https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-$%7BVERSION%7D/temurin-11-jre_11.0.21.0.0+9_amd64.deb)  400  Bad Request [IP: 146.75.39.42 443]
11:11:52  #7 8.815 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

https://geopeeker.com/fetch/?url=https%3A%2F%2Fpackages.adoptium.net%2Fartifactory%2Fdeb%2Fpool%2Fmain%2Ft%2Ftemurin-%24%7BVERSION%7D%2Ftemurin-11-jre_11.0.21.0.0%2B9_amd64.deb&csrf_token=uPjx6yqcn6pzpBWxF4nDWUC74o3h3L6P2xC2ZtyD4QM%3D

@ustndagsemih
Copy link

Same here

@jcoste-orange
Copy link

jcoste-orange commented Oct 27, 2023

same problem for me
Ubuntu Jammy (amd64)

@karianna
Copy link
Contributor

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

@karianna
Copy link
Contributor

We've fixed two underlying causes and this appears to be resolved. Please do let us know if you still have issues.

@yury-komarov-contextlabs
Copy link

yury-komarov-contextlabs commented Oct 30, 2023

@karianna still...

https://geopeeker.com/fetch/?url=https%3A%2F%2Fpackages.adoptium.net%2Fartifactory%2Fdeb%2Fpool%2Fmain%2Ft%2Ftemurin-11%2Ftemurin-11-jdk_11.0.21.0.0%2B9_amd64.deb&csrf_token=8DFbRl3sUR8iarcmwVNSJJyaD56s4aBR6Peh2qRShFo%3D

13:19:23  #11 22.43 Get:1 https://packages.adoptium.net/artifactory/deb focal/main amd64 temurin-11-jdk amd64 11.0.21.0.0+9 [168 MB]
13:19:23  #11 23.65 Err:1 https://packages.adoptium.net/artifactory/deb focal/main amd64 temurin-11-jdk amd64 11.0.21.0.0+9
13:19:23  #11 23.65   403  Forbidden [IP: 146.xxx.xxx.xxx 443]
13:19:23  #11 23.66 E: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-11/temurin-11-jdk_11.0.21.0.0+9_amd64.deb  403  Forbidden [IP: 146.xxx.xxx.xxx 443]
13:19:23  #11 23.66 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@karianna
Copy link
Contributor

@gdams - Still one outstanding issue?

@karianna karianna reopened this Oct 30, 2023
@peterzhuamazon
Copy link
Author

The above seems like rate limitation by jfrog artifactory?
In our case we change an agent and it runs ok.

Thanks.

@gdams
Copy link
Member

gdams commented Oct 31, 2023

https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-11/temurin-11-jdk_11.0.21.0.0+9_amd64.deb

Interesting, strange that we've never had users report this in the past. I wonder if it's Fastly that is applying the rate limiting. I'll see if I can run a download loop locally to try and recreate this

@peterzhuamazon
Copy link
Author

Seems good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants