milch / fastlane-docker

fastlane tools docker image based on CircleCI's ruby image
MIT License
11 stars 4 forks source link

Debian Jessie repositories moved #2

Open dotdoom opened 5 years ago

dotdoom commented 5 years ago

Sample failure: https://circleci.com/gh/fastlane/fastlane/30535.

The repositories for jessie/updates, jessie/backports have been moved to archive. This might have been fixed upstream in buildpack-deps, but needs at least a rebuild of this image and likely a change here:

https://github.com/milch/fastlane-docker/blob/5cf1f540475cb2c4f5e9a8661531e12177edb0a5/Dockerfile.erb#L43

janpio commented 5 years ago

Just a bit of context:

https://circleci.com/gh/fastlane/fastlane/30535 is failing with:

[05:59:42]: Exit status of command 'curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -' was 1 instead of 0.

## Installing the NodeSource Node.js 6.x LTS Boron repo...

## Populating apt-get cache...

+ apt-get update
Ign http://deb.debian.org jessie InRelease
Ign http://deb.debian.org jessie-updates InRelease
Ign http://deb.debian.org jessie-backports InRelease
Get:1 http://deb.debian.org jessie Release.gpg [2420 B]
Ign http://deb.debian.org jessie-updates Release.gpg
Ign http://deb.debian.org jessie-backports Release.gpg
Get:2 http://deb.debian.org jessie Release [148 kB]
Ign http://deb.debian.org jessie-updates Release
Get:3 http://security.debian.org jessie/updates InRelease [44.9 kB]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [822 kB]
Ign http://deb.debian.org jessie-backports Release
Get:5 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/main amd64 Packages
  404  Not Found
Fetched 10.1 MB in 1s (9011 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting

This is triggered by this code: https://github.com/fastlane/fastlane/blob/3514e3f6b48946b209a4debc4fe2775c83167462/fastlane/Fastfile#L59-L62

This was needed to get node/npm onto the image, see https://github.com/milch/fastlane-docker/issues/1 which I created for that back then.

dotdoom commented 5 years ago

Looks like apart from the line I referenced above, there's a problem with CircleCI's image circleci/ruby:2-jessie. It still tries to pull jessie-updates from CDN.

mthole-old commented 4 years ago

Bump-- any thoughts on this issue? I ran into this issue (I think?!) trying to get a CircleCI linux executor to do my fastlane uploads.