Issue building docker image (files not found on Ubuntu repo)

We have started getting build errors when trying to build a custom image on Step 29 of the docker build steps (line 67 of : https://github.com/overhangio/tutor/blob/master/tutor/templates/build/openedx/Dockerfile) .

When it’s trying to apt install -y software-properties-common libmysqlclient-dev libxmlsec1-dev its failing to fetch some of the packages:

Err:44 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libnss3-nssdb all 2:3.28.4-0ubuntu0.16.04.13
404 Not Found [IP: 91.189.88.152 80]

I checked the repo and it looks like this specific package has been updated:

libnss3-nssdb_3.28.4-0ubuntu0.16.04.14_all.deb

On the 27th August and the older version removed. Is it just a case of getting the cache updated (i.e. apt-get update) ?

1 Like

Did you try tutor images build --no-cache ...?

Ahhhh no.

Sorry I didn’t realize that there were additional flags (I didn’t even think to check - doh!). That has indeed solved it - thank you for the fast reply.