forked from openstack/kolla
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't ignore errors of 'apt-get update' command
This change fixes an issue with 'apt-get update' command and stop container building with erroneous source repositories. Change-Id: I5ce2eb66a647e1805f086aa37942bf5d13eb4106 Signed-off-by: Maksim Malchuk <[email protected]> (cherry picked from commit bce06d2)
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/apt-get-update-fatal-ed2bcc5c1d93c082.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
fixes: | ||
- | | ||
The ``apt-get update`` command by default didn't fail on erroneous source | ||
repositories, it show the warning 'W: Some index files failed to download. | ||
They have been ignored, or old ones used instead.' and continue to work. | ||
This causes some containers (eg. rabbitmq, kolla-toolbox) successfully | ||
built, but makes them inconsistent because the official Ubuntu repository | ||
contains packages with the same names. Now we use ``apt-get -eany update`` | ||
command to stop building with an error in such cases. |