void-mklive icon indicating copy to clipboard operation
void-mklive copied to clipboard

Problems with installation in case of unavailability of the main repository.

Open hhrhhr opened this issue 6 years ago • 3 comments

During installation, the main repository URL is used to check network availability. The same URL is the only one for a network installation. However, in case of problems in the main repository, the network check fails and the network installation is not possible.

Suggestion: to test the availability of a network, use several third-party addresses (google.com, kernel.org, ntp.org ...); additionally specify several backup repositories in the xbps configuration.

hhrhhr avatar Jul 06 '19 07:07 hhrhhr

XBPS does not have a concept of a "backup repository" and rather than specifying a 3rd party site who have not approved our use of them as a status check host, it makes more sense to pull out the gateway address of the linked connection and see if we can route as far as that. If you can get to the local router, anything beyond that is not a void problem.

the-maldridge avatar Jul 06 '19 07:07 the-maldridge

not have a concept of a "backup repository"

Really? https://github.com/void-linux/xbps/issues/148

it makes more sense to pull out the gateway address of the linked connection

No. If http://alpha.de.repo.voidlinux.org is down, then network setup step fail with something like ERROR: DHCP request failed for wlp1s0. Check /dev/tty8 for errors.. At the same time, ping (google.com|kernel.org|ntp.org|...) from the second console works fine.

hhrhhr avatar Jul 06 '19 07:07 hhrhhr

Why not manually list repositories on the installation line?

I see the problem, but think the answer lies at the user's fingertips.

Vaelatern avatar Jul 07 '19 02:07 Vaelatern