On 11/28/2025 6:37 PM, Ken Brown via Cygwin wrote:
On 11/28/2025 12:23 PM, Ken Brown via Cygwin wrote:
[Please don't top-post on this list.  It makes it very difficult for people who might try to follow this discussion in the mailing list archives in the future.]

On 11/27/2025 9:32 PM, Ganesh S wrote:
hi Ken,
     Thanks for the email.

1) I would probably ask the question, "why is cygwin looking for
tl_1015 and tl_basic_2025", when I'm trying to install texlive version
2024 ?

Because you requested a mixture of 2025 and 2024 packages.  This is clearly visible in the Resolving Dependencies box.
2) The reason I tried to install 2024 version is because the 2025
installation was throwing an error message, and latex did not work for
me.
    In order to reproduce the problem, I've tried to reinstall 2025
version, and am attaching all the files you mentioned a) postinstall
snapshot b) setup.log, c) setup_full.log and d) cygcheck.out (after
removing sensitive info).

It's going to be a while until I have time to look at all the attachments.  In the meantime, you could try to diagnose the problem yourself.  I would start by trying to figure out why the postinstall scripts are failing.  There might be helpful error messages in setup.log.full.  Alternatively, try to run the scripts manually, as the same user that runs the setup program.  Run the commands in them line by line if necessary.  Also check to see if any of the preremove scripts are failing, and try to figure out why.

If this doesn't help, try again to install TeX Live 2024, this time picking the 2024 versions of all relevant packages.  The Resolving Dependencies box will tell you if you're still trying to install some 2025 packages.

If you still get postinstall/preremove scripts failing, you might have to completely remove TeX Live from your system and start from scratch. Don't forget to look at /var/lib/texmf, /etc/texmf, /usr/share/tlpkg, and /usr/share/texmf*, and remove them manually if necessary.  I hope I haven't forgotten anything.

When I said "remove them manually if necessary", I meant remove them if they don't automatically get removed when you run the setup program to uninstall TeX Live.

Here are a few other possibly relevant directories that may or may not exist, depending on your setup: ~/.local/share/texmf, ~/.cache/texmf, ~/.config/texmf.  Here ~ is the home directory of the user running the setup program.

I've looked at your attachments now, and several things jumped out:

1. You've got an old version of the cygwin package installed.

2. You've got an old version of perl installed, and it's incomplete.

When you run the setup program, are you deliberately choosing to retain old versions of some packages? This is asking for trouble.

3. Your installation of texlive-collection-mathscience is incomplete. (This is probably not relevant to your problem, but it should be fixed anyway.)

4. The failing preremove and postinstall scripts are failing with exit code 127. A Google search suggests that this probably means "command not found". You'll have to run the postinstall scripts line by line to try to figure out which command is not found. If it's actually a DLL that's not found, running the command under strace sometimes shows you which DLL.

Ken

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to