Re: Failed: can't batch-install packages: /opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/text/texlive_20210325-8_darwin-x86_64.deb /opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/text/texlive-base_20210325-8_darwin-x86_64.deb
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 3/29/23 12:18 PM, Scott Hannahs via Fink-users wrote: > > >> On Mar 29, 2023, at 07:38, Hanspeter Niederstrasser <[email protected]> wrote: >> >> I think I found the problem. I always thought that the issue was in texlive-texmf-2021 having files wrongly cased compared to what was listed in its updmap.cfg. That's why we have the perl-pie in PatchScrpt to make them match. >> However, the problem seems to be that the files changed case between texlive-texmf-2017 and texlive-texmf-2021. In both cases, they're listed correctly *for their version* in updmap.cfg >> >> This is not a problem in case-sensitive systems, becase AlgolRevived.map is not the same as algolrevived.map, and the file will be replaced upon upgrading. However, in a case insensitive system (most macOS installs), a new package carrying AlgolRevived.map will install the file as algolrevivied.map if the file already exists in the lowercase mode. >> >> So the fix needs to be to make sure the files that changed case are truly replaced and not just overwritten. Working on that. >> >> Hanspeter > > Ah, so the installer, needs to detect the existence of the files and remove them if they are there so the new ones will be written with the correct case? Or actually it can do a “rm -f” for those files before installing? > > I suppose technically a ‘mv <file in existing case> <file in correct case>’ would do it as well. Turns out that mv was needed. For unknown reasons, deleting the files wasn't changing the case (even though the replacement deb had them correct), but moving worked, both for an update and a clean install. Hanspeter -- ........\|/......\|/........ ........~@-/ oO \-@~........ ......../_( \__/ )_\........ ...........\__U_/........... ....NEENER NEENER NEENER.... _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users