bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

bootstrap.py fails on outdated packages



Firefox Build System
3 years ago
21 days ago


(Reporter: mhoye, Unassigned)


Firefox Tracking Flags

(Not tracked)




3 years ago
bootstrap.py will fail on a sufficiently outdated package repo: if apt-get throws back a 404 trying to pull a package, bootstrap.py will fail with an unhelpful error.

Not sure what the right thing here is, but maybe if /var/cache/apt/pkgcache.bin is more than two weeks old, tell the user they should apt-get upgrade before proceeding?

Comment 1

3 years ago
A long time ago, we ran `apt-get update` as part of bootstrap. I think it accidentally got dropped as part of a refactor. Easiest solution is probably to bring it back.

Comment 2

3 years ago
As long as we're up-front about what we're doing; that _should_ be harmless, but if somebody's holding off upgrading for a reason we should try not to ruin that for them.
`apt-get update` just updates package indexes, not actual packages (that's dist-upgrade), so this should be harmless.


21 days ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.