A bit more details, I believe you are Swedish right?
! Package babel Error: Unknown option 'swedish'. Either you misspelled it
(babel) or the language definition file swedish.ldf
(babel) was not found.
(babel) There is a locale ini file for this language.
(babel) If it’s the main language, try adding `provide=*'
(babel) to the babel package options.
Looks like I needed apt install texlive-lang-european
(because I didn’t have texlive-full
).
If you need to figure out which package has the file you need, install the apt-file
tool and update its database
apt install apt-file
apt-file update
Then search
❯ apt-file search swedish.ldf
texlive-lang-european: /usr/share/texlive/texmf-dist/tex/generic/babel-swedish/swedish.ldf
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish.ldf
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/doclicense/doclicense-swedish.ldf
texlive-latex-recommended: /usr/share/texlive/texmf-dist/tex/latex/polyglossia/gloss-swedish.ldf
May be helpful to others…