Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror option is confusing, it only works for Gallium, for Ubuntu even valid mirrors revert to "primary" #121

Open
espoelstra opened this issue Nov 21, 2020 · 0 comments

Comments

@espoelstra
Copy link
Contributor

I was actually hoping to use the -m switch to point to a local apt-cacher-ng instance to make reinstallations quicker. When testing my freshly set up apt-cacher-ng Docker container I tried supplying its IP as a mirror only to discover it was ignored.

Since it is possible that users might supply invalid hostnames, my thought would be to try to use curl or wget to try and HEAD the Releases/Packages file for the -d distribution and -r release the user requested, and then write the mirror information to /etc/apt/apt.conf.d/proxy or tweak the /etc/apt/sources.list file or move it to a backup location and put the mirror information into a sources.list.d/mirror.list file for apt to use for the duration of the installation.

@espoelstra espoelstra changed the title Mirror option is misleading, it only works for Gallium, for Ubuntu even valid mirrors revert to "primary" Mirror option is confusing, it only works for Gallium, for Ubuntu even valid mirrors revert to "primary" Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant