I have a qmd file which compiles fine on one machine (Windows 10) but tnot on another (Linux Mint):
---
title: ""
geometry:
- left=.75in
- textwidth=4.5in
- marginparsep=.25in
- marginparwidth=2.25in
format:
pdf:
colorlinks: true
pdf-engine: xelatex
tbl-colwidths: [40, 60]
include-in-header:
- text: |
\usepackage{graphicx}
\usepackage{marginnote}
---
## Test
Some text
\marginnote{
\includegraphics[width=4cm]{test.jpg}
}
On Mint this triggers updating tlmgr and updating existing packages on another (Linux Mint) which returns the following:
ERROR: tlmgr returned a non zero status code
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
Error: tlmgr returned a non zero status code
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
at asErrorEx (file:///opt/quarto/bin/quarto.js:13482:16)
at logError (file:///opt/quarto/bin/quarto.js:47557:17)
at file:///opt/quarto/bin/quarto.js:127568:13
I have a feeling this is because I have another Tex Live installed on my system due to TexStudio and installed via apt. I also tried tlmgr update --all --self
as well as installing marginnote
from within R but no use:
> tlmgr_install('marginnote')
tlmgr install marginnote
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
Unable to download the checksum of the remote TeX Live database,
but found a local copy, so using that.
You may want to try specifying an explicit or different CTAN mirror,
or maybe you need to specify proxy information if you're behind a firewall;
see the information and examples for the -repository option at
https://tug.org/texlive/doc/install-tl.html
(and in the output of install-tl --help).
tlmgr: package repository https://mirror.niser.ac.in/ctan/systems/texlive/tlnet (not verified: unknown)
How do I update TinyTex because I was assuming everything would be automatically taken care of inside R Studio.