Issue with LaTeX compilation

Hi Dashamir,

Sorry to bother you. I am able to run my project under my local bookdown docker, but in gitlab's CI/CD I get this error:

184 /root/bin/tlmgr: unexpected return value from verify_checksum: -5
185 ! LaTeX Error: File `xpatch.sty' not found.

The bookdown book works just fine, but it does not generates the pdf for download. I just had to add some lines to change the locale to spanish (some issues appeared if I did not do that)

# Poner el locale en castellano
touch /usr/share/locale/locale.alias
sed -i -e 's/# \(es_ES.UTF-8 .*\)/\1/' /etc/locale.gen && \
    locale-gen
export LANG=es_ES.UTF-8  
export LANGUAGE=es_ES:es  
export LC_ALL=es_ES.UTF-8  

Feel free to add it to the README or whatever. I do not think this is interacting with the other part (in my system there is no problem with it). But you never know.

Any help with my issue is welcomed! I guess as a workaround I can simply add the pdf to the repo and add it to the "public" folder...but I would prefer to get it working properly