-
Notifications
You must be signed in to change notification settings - Fork 70
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
Issue with Cloning Google Cloud Ops Agent Repository via apt-mirror #1844
Comments
Hi @godunko-v, thanks for reporting this! We've opened an internal bug to get this resolved and I'll update you once a fix is rolled out. Apologies for the inconvenience. |
Hi @godunko-v , the fix has been rolled out. Can you confirm if the issue has been resolved? |
Hello, @annakuo Thank you for your prompt response and for updating the file type for the Packages file to I tested with the following apt-mirror configuration:
Everything is working fine except for google-cloud-ops-agent-noble-all. When running apt-mirror, I still encounter the following error:
While the Packages file type is now corrected, it seems this was not the main issue. apt-mirror is still unable to download the packages from the repository. Could you please investigate further? Let me know if additional details are required. Thank you! |
Hey @godunko-v, thanks for the troubleshooting & sorry this is still happening! We dug a bit deeper and think we've found the issue. TL;DR I can't give a timeline for when we might be able to start serving compressed indices, which would resolve this at the source assuming this does not get fixed upstream, but I can offer a few workarounds in the meantime:
|
Hello, Thank you for digging deeper into this issue and for providing a detailed explanation and workarounds! I tried the patch for apt-mirror, and it is indeed working. I can now successfully mirror the google-cloud-ops-agent-noble-all repository. I really appreciate your support and the quick resolution. Thanks again for the help! |
Describe the bug
I am trying to set up a mirror of the Google Cloud Ops Agent repository (
deb https://packages.cloud.google.com/apt google-cloud-ops-agent-noble-all main
) for future installation of the Google Cloud Ops Agent on my instances. However, I encountered an issue when using apt-mirror.Steps to reproduce the behavior:
deb https://packages.cloud.google.com/apt google-cloud-ops-agent-noble-all main
apt-mirror
to download the repository.Observations:
I believe the issue is related to the Packages file type. When I run
curl -I https://packages.cloud.google.com/apt/dists/google-cloud-ops-agent-noble-all/main/binary-amd64/Packages
, the response returns aContent-Type: text/html
instead of the expectedapplication/octet-stream
or other appropriate binary content type.Expected behavior
Environment (please complete the following information):
Additional context
I would appreciate it if you could investigate this issue and help resolve it.
Thank you!
The text was updated successfully, but these errors were encountered: