I got an error when installing with yay --sync --editmenu texlive-full
:
receiving incremental file list
5,345,349,734 99% 8.89MB/s 0:09:33 (xfr#16590, to-chk=0/30815)
sent 359,937 bytes received 5,349,023,566 bytes 9,327,608.55 bytes/sec
total size is 5,345,743,792 speedup is 1.00
==> Starting pkgver()...
==> Updated version: texlive-full 1:2022.20230307-1
==> Sources are ready.
==> Making package: texlive-full 1:2022.20230307-1 (Tue 07 Mar 2023 07:04:20 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
Automated TeX Live installation using profile: /home/liblaf/.cache/yay/texlive-full/src/texlive.profile
/home/liblaf/.cache/yay/texlive-full/src/install-tl-20230307/install-tl: cannot find installation source at CTAN/tlnet.
==> ERROR: A failure occurred in package().
Aborting...
-> error making: texlive-full
The only change I made to PKGBUILD
was the mirror, since the original mirror was slow and tuna is blazing fast in my case.
_mirror='mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet'
Did I do something wrong? How should I fix that?
Pinned Comments
sukanka commented on 2022-02-20 07:17 (UTC) (edited on 2022-10-30 10:19 (UTC) by sukanka)
pandoc-bin
instead ofpandoc
.systems/texlive/tlnet/
)Users in mainland China are recommended to use
bfsu
mirror, set_syncdir
works as a localCTAN/telnet
mirror (about 4.5GiB). You can change it to a different place if yourBUILDDIR
is ontmpfs
, which may not have enough spaceMANPATH
INFOPATH
PATH
), they have been linked to the correct path already.checksum
is skipped as the shasum ofinstall-tl-unx.tar.gz
is varying. There is a directory calledinstall-tl-YYYYMMDD
(YYYYMMDD
is thepkgver
) and its contents are changing in every release.rsync
is added tomakedepends
for faster installation.pkgver
to be like2021_20220220
in future, where the first2021
means this is TeX Live 2021, and20220220
is frominstall-tl-unx.tar.gz
's contents. Currentpkgver
is not obvious enough. Especially when TeX Live 2022 has not been released yet, but we havepkgver=20220220
!