Bug #1073
setup-apkrepos sets invalid record when internet connection is missing
| Status: | Closed | Start date: | 04/04/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% | ||
| Category: | Setup scripts | |||
| Target version: | Alpine 2.4.3 | |||
| Affected versions: |
Description
If setup-apkrepos (or setup-alpine) is used on a box that still have no internet connection, and the user chooses [f] as in "Detect and add fastest mirror from above list", then /etc/apk/repositories will get a record that looks like:
/vn.n/main
This record is not valid.
Instead setup-apkrepos should randomly (or statically) chose a valid mirror when failing to automatically detect the fastest mirror.
Associated revisions
main/alpine-conf: setup-apkrepos: do not add empty mirrors
ref #1073
main/alpine-conf: setup-apkrepos: do not add empty mirrors
fixes #1073
(cherry picked from commit 9e7f01099f33c9c2da08c24b1559767f499c0be4)
History
#1
Updated by Natanael Copa 12 months ago
- Assignee set to Natanael Copa
- Target version set to Alpine 2.4.3
- % Done changed from 0 to 50
#2
Updated by Natanael Copa 12 months ago
- Status changed from New to Resolved
- % Done changed from 50 to 100
Applied in changeset 1e0e3d55d0ba5762a12e947d74fe7a6f32486adf.
#3
Updated by Natanael Copa 12 months ago
- Status changed from Resolved to Closed