Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install on Fedora 37 upgrade #45

Open
2sn opened this issue Apr 6, 2023 · 1 comment
Open

install on Fedora 37 upgrade #45

2sn opened this issue Apr 6, 2023 · 1 comment

Comments

@2sn
Copy link
Owner

2sn commented Apr 6, 2023

@conradtchan @dliptai
I ran an upgrade to Fedora 37, something with the setup from the playbook did not work to properly install LaTeX / fonts for matplotlib.

...
    kpathsea: Running mktexfmt latex.fmt
    mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
    mktexfmt:   /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
    mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
    mktexfmt:   /usr/share/httpd/.texlive2021/texmf-config/web2c/fmtutil.cnf
    /usr/bin/mktexfmt: mkdir(/usr/share/httpd/.texlive2021/) failed for tree /usr/share/httpd/.texlive2021/texmf-var/web2c: Permission denied at /usr/share/texlive/tlpkg/TeXLive/TLUtils.pm line 942.
    I can't find the format file `latex.fmt'!

I ran - in summary, I believe - after some experimentation -

sudo -s
mkdir -p /usr/share/httpd/.texlive2021/texmf-var/web2c
mktexfmt latex.fmt
cp /root/.texlive2021/texmf-var/web2c/pdftex/latex.fmt /usr/share/httpd/.texlive2021/texmf-var/web2c

then the install completed successful.

I think something in the playbook may need to be adjusted.

This has been done on starfit.org main server, bit maybe a fix can be tested for starfit.xyz?

@conradtchan
Copy link
Collaborator

Are you able to reproduce this error for starfit.xyz?

I did:

ansible-playbook -i fedora@starfit.xyz, --extra-vars "domain=starfit.xyz email=[YOUR EMAIL]" playbook.yml

(your email redacted)

and it ran fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants