Bug #1073

setup-apkrepos sets invalid record when internet connection is missing

Added by Mika Havela about 1 year ago. Updated 12 months ago.

Status:ClosedStart date:04/04/2012
Priority:NormalDue date:
Assignee:Natanael Copa% 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

Revision 9e7f0109
Added by Natanael Copa 12 months ago

main/alpine-conf: setup-apkrepos: do not add empty mirrors

ref #1073

Revision 1e0e3d55
Added by Natanael Copa 12 months ago

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

#3 Updated by Natanael Copa 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF