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

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: 4
Popularity: 3.12
First Submitted: 2020-02-02 21:08
Last Updated: 2020-02-09 19:36

Latest Comments

sharethewisdom commented on 2020-02-11 13:38

As XZS is unresponsive, I suspect that the update (a small pkgver change) was automatically pushed with XZS's own tool (https://github.com/dffischer/git-makepkg-templates). Please keep maintaining this package for now.

hv15 commented on 2020-02-09 19:43

Hey all, https://aur.archlinux.org/packages/texlive-localmanager-git/ was recently updated, meaning that it now tracks upstream 100%. The enhancement patch applied on this package (adding package group 'textlive-local' and checking for https://aur.archlinux.org/packages/texlive-tlpdb) are not included though. With this in mind though, is it worth while maintaining two very similar packages?

hv15 commented on 2020-02-09 19:37

@sharethewisdom: thanks, added!

sharethewisdom commented on 2020-02-07 16:02

I had to change the git reference in the source array to

"${_pkgname}::git+https://git.archlinux.org/users/remy/texlive-localmanager"

because makepkg stalled fetching sources. (probably something wrong on my end)

CaptainBern commented on 2020-02-05 22:51

@azerrima @hv15 You're welcome! :)

hv15 commented on 2020-02-05 22:38

Thanks @CaptainBern, I completely missed that issue, thanks for spotting it and for providing a fix. I've added this to the latest revision of the package.

azerrima commented on 2020-02-05 17:41

Thanks @CaptainBern for looking into this. Confirming that the corrected line fixes the problem.

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?