You are not logged in.
Hi,
with the TeX Live package reorganization, I switched (or at least I'm trying to) from tllogalmgr to tlmgr. So at first I tried to install everything in the usermode (looked nice at first). But some packages (like glossaries) are non relocatable and it seems they need to be installed in /usr/share/...
With this, I checked the non-usermode of tlmgr which told me glossaries is already installed. Thus, I checked with
tlmgr show --only-installed what's already installed.
And this is what's my issue, the command returned an enormous amount of packages which I didn't install. So I thought maybe they are installed via some arch-package (not probable as I only installed texlive-basic) but I didn't find anything (see below). Also note that I read the wiki and edited the tlmgr.pl file accordingly.
Any guess what I might have done wrong? Or any thoughts about this?
PS: Just to clarify what I'm trying to achieve in general. I want to avoid the difficulties of installing texlive by hand, so I install the most basic texlive from the repos as possible. Then in order to be more flexible regarding installing latex packages/classes (and keeping them up-to-date) I used tllocalmgr. And now I'm trying to switch to tlmgr.
# an example package which was listed as installed (stripped output)
$ tlmgr show ucbthesis
package: ucbthesis
category: Package
shortdesc: Thesis and dissertation class supporting UCB requirements
installed: Yes
revision: 51690
relocatable: No
# check if I somehow can find the file (there should be a .cls file somewhere)
$ sudo find / -iname "*ucbthesis*"
find: ‘/run/user/1000/gvfs’: Permission denied
find: ‘/proc/1745880’: No such file or directory
# check if "latex" can find it for us
$ kpsewhich ucbthesis
# nothingLast edited by Attius_Sullivan (2023-07-02 16:28:37)
Offline
tlmgr doens't know about packages installed from the Arch repos. What you are trying to do isn't possible and, in general, it is advised to either use texlive from the repos or a locally installed version, but don't mix them up.
ucbthesis is available in the texlive-publishers package.
Offline
Alright, then I'll have to think about how to handle my situation. But I've got two questions:
1) Why is tlmgr bundled with texlive-basic if one should not use it?
2) I didn't install the texlive-publishers either. So tlmgr shouldn't show the package to be installed, should it?
Offline
And one additional question: If I was to use the manual TeXLive installation, wouldn't I get in trouble when installing Arch packages which depend on latex? (as pacman doesn't know latex is already present, it would try to install the arch packaged texlive which is bad in that case) xournalpp or sagetex for instance have this problem.
Last edited by Attius_Sullivan (2023-07-02 15:24:52)
Offline
1) Why is tlmgr bundled with texlive-basic if one should not use it?
'tlmgr info' does work and is useful.
2) I didn't install the texlive-publishers either. So tlmgr shouldn't show the package to be installed, should it?
As said above: tlmgr doesn't know whether repo packages are installed or not. They always show as installed.
If I was to use the manual TeXLive installation, wouldn't I get in trouble when installing Arch packages which depend on latex? (as pacman doesn't know latex is already present, it would try to install the arch packaged texlive which is bad in that case) xournalpp or sagetex for instance have this problem
The is some AUR package around that basically is just an empty provider for Arch texlive packages so you can trick pacman into believing it's installed.
Offline
2) I didn't install the texlive-publishers either. So tlmgr shouldn't show the package to be installed, should it?
As said above: tlmgr doesn't know whether repo packages are installed or not. They always show as installed.
Ah ok that makes sense partly (marking everything as installed is a weird default I think). Thanks.
The is some AUR package around that basically is just an empty provider for Arch texlive packages so you can trick pacman into believing it's installed.
texlive-installer seems to do the trick. Thanks for the hint.
Offline