Package Details: tllocalmgr-git v0.8.r2.67e838e-1

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://github.com/hv15/tllocalmgr
Keywords: perl texlive tlmgr
Licenses: GPL
Conflicts: texlive-localmanager, texlive-localmanager-git, tllocalmgr
Provides: texlive-localmanager
Submitter: hv15
Maintainer: None
Last Packager: hv15
Votes: 20
Popularity: 0.000001
First Submitted: 2020-02-02 21:08 (UTC)
Last Updated: 2022-12-02 13:35 (UTC)

Pinned Comments

hv15 commented on 2023-06-18 14:02 (UTC)

This is unfortunate, I had no idea about the changes being done by the ArchLinux community to the TexLive packages. A quick look shows there are some considerable difference which make adapting tllocalmgr difficult; per https://bbs.archlinux.org/viewtopic.php?id=286197 it seems that texlive-localmanager tools (which I forked) will not be further developed, it is suggested to use tlmgr instead.

I will have a go over this week to see what is possible, but I'm not promising that I can make it work.

hv15 commented on 2022-11-29 11:07 (UTC) (edited on 2022-11-29 11:08 (UTC) by hv15)

Hi all, I've forked the project and applied all patches. A stable release is now available at https://aur.archlinux.org/packages/tllocalmgr, I strongly urge everyone to switch to it!

The git package has also been updated to follow the fork, which means version numbers have changed again (sorry if this causes issues). Thanks everyone!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

elzaphod commented on 2020-02-19 16:06 (UTC)

@azerrima I just had the same problem. The installation of texlive-moderncv-git via aur caused the error. I uninstalled it together with it's dependencies via 'pacman -Rs texlive-moderncv-git' and now it tllocalmgr works...

sharethewisdom commented on 2020-02-11 13:38 (UTC)

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 (UTC)

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 (UTC)

@sharethewisdom: thanks, added!

sharethewisdom commented on 2020-02-07 16:02 (UTC)

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 (UTC)

@azerrima @hv15 You're welcome! :)

hv15 commented on 2020-02-05 22:38 (UTC)

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 (UTC)

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

CaptainBern commented on 2020-02-05 15:59 (UTC) (edited on 2020-02-05 16:43 (UTC) by CaptainBern)

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 (UTC)

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