Package Details: tllocalmgr-git r84.bbd8488-5

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://gitlab.archlinux.org/remy/texlive-localmanager.git
Keywords: perl texlive tlmgr
Licenses: GPL
Conflicts: texlive-localmanager, texlive-localmanager-git
Provides: texlive-localmanager
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 20
Popularity: 0.53
First Submitted: 2020-02-02 21:08 (UTC)
Last Updated: 2022-04-30 11:02 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

hv15 commented on 2022-04-30 11:33 (UTC)

@croyleje, yup totally fine so long as you only update to 2022, otherwise how the CTAN packages are installed will conflict with TL2021/2022.

@cphyc, thanks, updated!

croyleje commented on 2022-04-29 22:11 (UTC)

I had the same issue and have no issue patching the files just wanted to know if I build and install the package locally will this cause an issue later down the road when package is updated.

cphyc commented on 2022-04-29 09:55 (UTC) (edited on 2022-04-29 10:00 (UTC) by cphyc)

With the recent update of texlive, the package is preventing the upgrade from happening with the following error:

$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing texlive-core (2022.63035-1) breaks dependency 'texlive-core<2022' required by tllocalmgr-git

This can be fixed with the following patch

diff --git a/.SRCINFO b/.SRCINFO
index 462f583..12d452a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,7 @@ pkgbase = tllocalmgr-git
    license = GPL
    makedepends = git
    depends = texlive-core>=2016
-   depends = texlive-core<2022
+   depends = texlive-core<2023
    depends = perl-libwww
    depends = perl-term-shellui
    depends = perl-term-readline-gnu
@@ -17,7 +17,7 @@ pkgbase = tllocalmgr-git
    conflicts = texlive-localmanager
    conflicts = texlive-localmanager-git
    source = texlive-localmanager::git+https://gitlab.archlinux.org/remy/texlive-localmanager.git
-   source = tllocalmgr-2021.patch
+   source = tllocalmgr-2022.patch
    source = tllocalmgr-enhance.patch
    source = tllocalmgr-fix-texlive-local-match.patch
    source = tllocalmgr-pkgs-nicer-error.patch
diff --git a/PKGBUILD b/PKGBUILD
index 2164f9a..12c48f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ provides=("texlive-localmanager=$pkgver")
 conflicts=('texlive-localmanager'
            'texlive-localmanager-git')
 depends=('texlive-core>=2016'
-         'texlive-core<2022'
+         'texlive-core<2023'
          'perl-libwww'
          'perl-term-shellui'
          'perl-term-readline-gnu'
@@ -25,13 +25,13 @@ depends=('texlive-core>=2016'
 makedepends=('git')

 source=("${_pkgname}::git+https://gitlab.archlinux.org/remy/texlive-localmanager.git"
-        'tllocalmgr-2021.patch'
+        'tllocalmgr-2022.patch'
         'tllocalmgr-enhance.patch'
         'tllocalmgr-fix-texlive-local-match.patch'
         'tllocalmgr-pkgs-nicer-error.patch'
         'tllocalmgr-mirror-opt.patch')
 sha256sums=('SKIP'
-            'cd12f1927fa9d950855aab91b30039d0cbb328a8c7899382286d3ace16bb6a3b'
+            '474851828cbe68564109d16abb10104e1cbbd2e6970161fd992fb082e6740ee8'
             '22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236'
             'a7698d0076f4e1a7ef401899c174ed9a290674a7e89e9c818ba078e17548c6e7'
             '23f103c606eb595d8c114aee2ca3006a09588370087b959419f86a4a8ce25a43'
@@ -48,8 +48,8 @@ pkgver() {
 prepare() {
   cd "$_pkgname"

-  # update to handle texlive-2021 releases
-  patch -p1 < "$srcdir/tllocalmgr-2021.patch"
+  # update to handle texlive-2022 releases
+  patch -p1 < "$srcdir/tllocalmgr-2022.patch"

   # enhances the tllocalmgr script a bit
   # thanks: @sharethewisdom and @cobaltspace
diff --git a/tllocalmgr-2022.patch b/tllocalmgr-2022.patch
index 35a52c1..a7b64cf 100644
--- a/tllocalmgr-2022.patch
+++ b/tllocalmgr-2022.patch
@@ -7,7 +7,7 @@ index e27f70b..b6e5101 100644
  # the year of our release, will be used in the location of the
  # network packages, and in menu names, and other places.
 -$ReleaseYear = 2019;
-+$ReleaseYear = 2021;
++$ReleaseYear = 2022;

  # users can upgrade from this year to the current year; might be the
  # same as the release year, or any number of releases earlier.

and renaming tllocalmgr-2021.patch to tllocalmgr-2022.patch.

gustaphe commented on 2021-10-27 07:45 (UTC)

@hv15 Ah, so it's just a case of a misleading error message?

Error: command install is not defined

should have probably been

No package "extdash" found

Thanks, problem solved!

hv15 commented on 2021-10-26 18:46 (UTC) (edited on 2021-10-26 18:47 (UTC) by hv15)

@gustaphe I pushed a fix for this; suffice it to say the 'extdash' sty is part of the 'ncctools' CTAN package. You can install it on ArchLinux through the 'texlive-latexextra' package.

gustaphe commented on 2021-10-26 17:48 (UTC)

Trying to install a package (extdash):

Initializing ...
Cannot open /var/lib/texmf/arch/installedpkgs/texlive-most-doc_20211026-1.pkgs!
-- Likely the package texlive-most-doc does not create the 'pkgs' file.
Use of uninitialized value in numeric lt (<) at /usr/bin/tllocalmgr line 234.
Argument "20211026-1" isn't numeric in numeric lt (<) at /usr/bin/tllocalmgr line 234.
Error: command install is not defined

I've seen this before, it looks like it's when some package has a version that's not just a number.

I don't know Perl.

hongy19 commented on 2021-08-12 08:52 (UTC)

@hv15 thanks! the fix works.

hv15 commented on 2021-08-12 08:16 (UTC)

@shackra what CTAN package were you trying to install/build?

hv15 commented on 2021-08-12 08:14 (UTC)

@hongy19, fixed!

shackra commented on 2021-08-12 00:09 (UTC)

Hi!

getting this error

==> Iniciando build()...
Checking if your kit is complete...
Looks good
JSON::PP 2.27300 is not available
 at /usr/share/perl5/core_perl/CPAN/Meta.pm line 616.

thought that installing perl-json would solve it but is not the case