Package Details: tllocalmgr-git v0.7.r3.gbbd8488-7

Git Clone URL: https://aur.archlinux.org/tllocalmgr-git.git (read-only, click to copy)
Package Base: tllocalmgr-git
Description: A shell and command-line utility to manage TeXLive on Arch Linux
Upstream URL: https://git.archlinux.org/users/remy/texlive-localmanager.git/
Keywords: texlive
Licenses: GPL
Conflicts: texlive-localmanager, texlive-localmanager-git
Provides: texlive-localmanager=v0.7.r3.gbbd8488
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 11
Popularity: 0.84
First Submitted: 2020-02-02 21:08
Last Updated: 2021-05-23 13:54

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

CaptainBern commented on 2020-02-05 15:59

Seems to me that the issue stems from lines 139-143 in tllocalmgr:

chomp(my @pacman = `pacman -Qs ^texlive- | egrep ^local | cut -d'/' -f2`);
my @localpacman = grep { /^texlive-local-/ } @pacman;
# To have the standard collections we get rid of 
# texlive-local-<pkg> and texlive-localmanager:
my @collpacman = grep { !/^texlive-local/ } @pacman;

Notice how the last line is supposed to filter out 'texlive-localmanager', but since this package's name is 'tllocalmgr', it fails to do so and supposes tllocalmgr is a (tex) package while it isn't.

I've tried changing the regex to:

my @collpacman = grep { !/^(texlive-local|tllocalmgr)/ } @pacman;

That makes the error go away on my end.

As a quick and dirty way to fix this I've created two patches, one for tllocalmgr itself and one for the PKGBUILD (to apply the tllocalmgr patch). So just apply the PKGBUILD.patch (and make sure fix_tllocalmgr.patch is in the same directory as the PKGBUILD file), run makepkg and you should be good to go.

alberto-santini commented on 2020-02-05 13:05

I am having the same problem as @azerrima - Fresh latex install + fresh ttlocalmgr-git install. Any ideas?

azerrima commented on 2020-02-05 10:18

I receive the following error when I try to run tllocalmgr:

Initializing ...
Cannot open /var/lib/texmf/arch/installedpkgs/texlive-tllocalmgr-git_v0.7.r3.gbbd8488-1.pkgs

The file doesn't exist in the directory. Any thoughts what might be wrong?