make-download-requirements-more-stable #1521
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have hit a situation (many times when re-run from the current system) that this role failed because the script
core/src/epicli/data/common/ansible/playbooks/roles/repository/files/download-requirements/ubuntu-18.04/download-requirements.sh
this part
It comes to the the part
/etc/apt/sources.list seems missing, you either know what you're doing or you need to fix your repositories
As you can see this relies on the /tmp/epi-repository-setup-scripts/enable-system-repos.sh.
A similar PR has been addressed this issues but in different place and because
that run before this stage the problem is hidden because these dependencies
packages are already install (libssl). However if you re-run it on existing
system it might happen again. Or in some combination situation it happened
again.
IMHO there is no side effect of adding this change to be sure we are not
prompted by apt for whatever reason.