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

Previous release no longer available on debian? #4947

Closed
alexeagle opened this issue Mar 30, 2018 · 4 comments
Closed

Previous release no longer available on debian? #4947

alexeagle opened this issue Mar 30, 2018 · 4 comments
Assignees
Labels
P1 I'll work on this now. (Assignee required) team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: bug

Comments

@alexeagle
Copy link
Contributor

I'm trying to make a minor change to https://github.com/alexeagle/ngcontainer
which installs a pinned version of Bazel. Building this docker image now fails with:

E: Version '0.9.0' for 'bazel' was not found
The command '/bin/sh -c BAZEL_VERSION="0.9.0" && wget -q -O - https://bazel.build/bazel-release.pub.gpg | apt-key add - && echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list && apt-get update && apt-get install -y bazel=$BAZEL_VERSION && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Is it intended that older releases are no longer installable? This makes it hard to make reproducible builds.

@philwo philwo self-assigned this Mar 30, 2018
@philwo philwo added type: bug P2 We'll consider working on this in future. (Assignee optional) category: misc > release / binary labels Mar 30, 2018
@philwo
Copy link
Member

philwo commented Mar 30, 2018

Unfortunately this is currently the case - but I wouldn't call it "intended". ;)

The files are all still there on GCS, however the Debian repo metadata doesn't know about them anymore, as it is regenerated locally once per release and only for the latest deb versions.

I think we can fix this. I'll look at it after my vacation.

lucamilanesio pushed a commit to GerritCodeReview/gerrit-ci-scripts that referenced this issue Jun 4, 2018
Because of the issue [1] move away from the sources.list and apt-get
and download directly the Bazel binaries from Google Storage.

Pin to the current Bazel version 0.14.0 to activate caches
per default.

[1] bazelbuild/bazel#4947

Change-Id: I04443c0d0b6e66c89c6f68faaf93eaeb74b4a4d5
@aiuto aiuto added team-Bazel General Bazel product/strategy issues and removed category: misc > release / binary labels Dec 5, 2018
@kamahen
Copy link

kamahen commented May 4, 2019

I upgraded bazel to 0.25.0, which broke things, but couldn't easily downgrade because the previous version isn't in the PPA:

$ apt list -a bazel
Listing... Done
bazel/unknown,now 0.25.0 amd64 [installed]

Why do you remove the old versions?

@dslomov dslomov added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website and removed team-Bazel General Bazel product/strategy issues labels Jul 23, 2019
@philwo philwo added P1 I'll work on this now. (Assignee required) and removed P2 We'll consider working on this in future. (Assignee optional) labels Oct 23, 2019
@philwo
Copy link
Member

philwo commented Oct 23, 2019

I'm working on fixing this right now. We will provide all older Bazel versions in our apt-get repository in addition to the latest one and probably also make it possible to install versions in parallel (e.g. Bazel 0.29.1 can be installed side-by-side as /usr/bin/bazel-0.29.1).

Comments on the latter idea are welcome, whether that would be useful for you.

@philwo
Copy link
Member

philwo commented Nov 25, 2019

@meteorcloudy fixed this in 3162705. :) Our apt repository now contains all stable version released since 1.0.0 and will continue to do so in the future

@philwo philwo closed this as completed Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 I'll work on this now. (Assignee required) team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: bug
Projects
None yet
Development

No branches or pull requests

5 participants