Refresh base image repos before installing from them

Stale repositories cause issue on installation in the docs:pdf CI job:

    E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/libsystemd-shared_252.22-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:78::644 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

(cherry picked from commit 211a514dbd5d122a37ddb29f6db63edc86af73b7)
This commit is contained in:
Michal Nowak 2024-07-08 14:20:02 +02:00 committed by Nicki Křížek
parent df02a1313b
commit 0077cfd7a6
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7

View file

@ -688,6 +688,7 @@ docs:pdf:
<<: *base_image
stage: docs
before_script:
- apt-get update
- apt-get -y install qpdf texlive-full texlive-xetex xindy
script:
- *configure