diff options
| author | Maksim Malchuk <maksim.malchuk@gmail.com> | 2022-06-03 17:01:25 +0300 |
|---|---|---|
| committer | Maksim Malchuk <maksim.malchuk@gmail.com> | 2022-06-08 09:08:23 +0000 |
| commit | bce06d2d5a27fd2e430de0078b7d585cfc98d8a4 (patch) | |
| tree | cb93887e12fd5dfac6dcad228cdb1230adf19d70 /releasenotes | |
| parent | e14d6212d425861b7db42a62f457e9018fdfdc69 (diff) | |
| download | kolla-bce06d2d5a27fd2e430de0078b7d585cfc98d8a4.tar.gz kolla-bce06d2d5a27fd2e430de0078b7d585cfc98d8a4.zip | |
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 <maksim.malchuk@gmail.com>
Diffstat (limited to 'releasenotes')
| -rw-r--r-- | releasenotes/notes/apt-get-update-fatal-ed2bcc5c1d93c082.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/releasenotes/notes/apt-get-update-fatal-ed2bcc5c1d93c082.yaml b/releasenotes/notes/apt-get-update-fatal-ed2bcc5c1d93c082.yaml new file mode 100644 index 000000000..395c8936b --- /dev/null +++ b/releasenotes/notes/apt-get-update-fatal-ed2bcc5c1d93c082.yaml @@ -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. |
