If no mirrors are found during installation, /etc/apk/repositories gets unable to perform partitioning
At install step on every ISOs, if one selects automatic mirror detection and none has been unable to be loaded (for various reasons), the /etc/apk/repositories is empty and therefore unable to complete the installation. At partition step, you get the following error:
ERROR: unsatisfiable constraints: sfdisk (missing)
One solution could be to verify if the file has been updated after the selection and use default if none was unable to be found.
(from redmine: issue id 8108, created on 2017-11-06, closed on 2017-11-30)
- Changesets:
- Revision d4ac5da8c38e5badee1ce8a3497e59f525bb31ae by Natanael Copa on 2017-11-30T20:39:57Z:
setup-apkrepos: prevent adding empty mirror
fixes #8108