bootstrap.py fails on outdated packages

NEW
Unassigned

Status

4 years ago
8 months ago

People

(Reporter: mhoye, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 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?
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.
(Reporter)

Comment 2

4 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.

Updated

11 months ago
Product: Core → Firefox Build System

Updated

8 months ago
Component: General → Bootstrap Configuration
You need to log in before you can comment on or make changes to this bug.