Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken symlinks in texlive-bin #3835

Open
smaslovski opened this issue May 20, 2019 · 7 comments
Open

broken symlinks in texlive-bin #3835

smaslovski opened this issue May 20, 2019 · 7 comments
Labels
enhancement help wanted Help is wanted in order to solve the issue inactive No activity in a certain period of time

Comments

@smaslovski
Copy link

Problem description

After installing texlive-bin there is 183 broken symlinks associated with it. To see them all issue this command:

$ for n in find -L $PREFIX/bin -type l; do echo "Broken symlink in pkg dpkg -S $n"; done

Steps to reproduce
See above.

Expected behavior
Clean install without such a broken symlink mess.

Additional information

$ termux-info Updatable packages: All packages up to date Subscribed repositories: https://dl.bintray.com/xeffyr/x11-packages-24 x11/main https://dl.bintray.com/grimler/science-packages-24 science/stable https://dl.bintray.com/grimler/termux-root-packages-24 root/stable https://its-pointless.github.io/files/24 termux/extras https://its-pointless.github.io/files/24 termux/extras https://dl.bintray.com/grimler/game-packages-24 games/stable https://dl.bintray.com/termux/termux-packages-24 stable/main System information: Linux localhost 3.18.71-15759240 #1 SMP PREEMPT Thu Apr 4 14:01:51 KST 2019 aarch64 Android Termux-packages arch: aarch64 Android version: 8.0.0 Device manufacturer: samsung Device model: SM-T820

Depending on problem, additional information may be requested:

  1. Android warning/error log: logcat -d "*:W".
  2. Output of strace: strace -fv -s 2048 -o strace.log {program name}.
  3. If program write it's own log files, you may need to attach them.
@smaslovski
Copy link
Author

Moreover, where are the related binaries, ex. epspdf? I cannot find:

$ epspdf
The program 'epspdf' is not installed. Install it by executing:
pkg install texlive-bin
$
$ pkg list-installed | grep texlive-bin
texlive-bin/stable,now 20190410-3 aarch64 [installed,automatic]

@Grimler91
Copy link
Member

Grimler91 commented May 20, 2019

We could move the symlinks to the texlive-* packages and texlive-tlmgr, we'll then have the same problem if user installs texlive-tlmgr but doesn't install additional packages through tlmgr.
I guess that would be better than current package split though.

About epspdf, I don't know why you can't find it, try reinstalling texlive-bin. The symlink is present in 20190410-3 on aarch64 for me.
Edit: ah, no, alright, you get that error if the symlink doesn't lead anywhere. epspdf is a symlink to $PREFIX/share/texlive/texmf-dist/scripts/epspdf/epspdf.tlu, which is part of texlive's epspdf package (can be found with tlmgr search --global --file epspdf.tlu), which is part of the texlive-pictures package

@smaslovski
Copy link
Author

I have a suggestion: why don't you look, for example, on how texlive is split into packages in Debian? You can even just copy their approach.

@Grimler91
Copy link
Member

Closing this as I have no intention to change how the symlinks are packaged

@smaslovski
Copy link
Author

smaslovski commented May 1, 2020 via email

@Grimler91
Copy link
Member

Grimler91 commented May 2, 2020

@smaslovski feel free to open a PR with a fix then. Reopening and adding help wanted tag.

Moving the symlinks to subpackages will be messy of we want to support both texlive-full and texlive-installer. Having the symlinks, albeit broken, also makes command-not-found find them

@Grimler91 Grimler91 reopened this May 2, 2020
@Grimler91 Grimler91 added the help wanted Help is wanted in order to solve the issue label May 2, 2020
@stale
Copy link

stale bot commented Nov 18, 2021

This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Issue won't be fixed label Nov 18, 2021
@stale stale bot closed this as completed Dec 2, 2021
@xtkoba xtkoba reopened this Dec 24, 2022
@xtkoba xtkoba removed the wontfix Issue won't be fixed label Dec 24, 2022
@stale stale bot added the inactive No activity in a certain period of time label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Help is wanted in order to solve the issue inactive No activity in a certain period of time
Projects
None yet
Development

No branches or pull requests

3 participants