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

Should we be using --fix-missing with apt-get -y update? #76

Open
mlhoque opened this issue Oct 4, 2017 · 3 comments
Open

Should we be using --fix-missing with apt-get -y update? #76

mlhoque opened this issue Oct 4, 2017 · 3 comments
Assignees

Comments

@mlhoque
Copy link
Member

mlhoque commented Oct 4, 2017

In the base Dockerfiles we are using apt-get -y update. Should we modify it to include --fix-missing?

@chinthakagodawita
Copy link
Collaborator

Any particular reason why? Generally, --fix-missing is for fixing problems due to broken package installs.

If package installs are broken, then we have bigger problems and shouldn't be hiding them via --fix-missing.

@mlhoque
Copy link
Member Author

mlhoque commented Oct 5, 2017

The base build was throwing some error and recommended implementing --fix-missing. I will try to run the build again to confirm if it is definitely for missing package or just internet connection issue.

@chinthakagodawita
Copy link
Collaborator

Ah, from memory, that can happen if your package list is out-of-date (i.e. apt-get update hasn't run or it's using a very old cache). This is part of the reason the base builds have version numbers to trigger full rebuilds - so that the apt-get update is forced to run.

I don't think --fix-missing will solve the issue.

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

4 participants