Open Bug 1159393 Opened 10 years ago Updated 3 years ago

bootstrap.py fails on outdated packages

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mhoye, Unassigned)

Details

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?
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.
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.
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.