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/3/23 3:23 PM, Scott Hannahs via Fink-users wrote:
> 
> 
>> On Mar 1, 2023, at 23:06, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> On 3/1/23 10:49 AM, Scott Hannahs via Fink-users wrote:
>>>> On Jan 31, 2023, at 02:13, Franchetti, Giuliano Dr. <[email protected]> wrote:
>>>>
>>>> This other method worked well
>>>>
>>>> An alternative is to rename the files back to their expected case, then try reinstalling texlive:
>>>> algolrevived/algolrevived.map
>>>> baskervillef/baskervillef.map
>>>> montserrat/montserrat.map
>>>> countriesofeurope/CountriesOfEurope.map
>>>>
>>>>> On 31. Jan 2023, at 00:38, Hanspeter Niederstrasser <[email protected]> wrote:
>>>>>
>>>>> On 1/27/23 8:36 AM, Franchetti, Giuliano Dr. wrote:
>>>>>> On 27. Jan 2023, at 13:29, Hanspeter Niederstrasser <[email protected]> wrote:
>>>>>> On 1/16/23 12:50 PM, Franchetti, Giuliano Dr. wrote:
>>>>>> somehow texlive has an error. All dependencies have complied.
>>
>>> It would be nice to have the installer work on the first install instead of renaming the files and then installing a second time.
>>> -Scott
>>
>> Shouldn't need to do that. The package at issue is texlive-texmf that installed the 4 incorrectly cased files. In theory, that got fixed in texlive-texmf-20210325-3. And texlive-20210325-8 depends on the theoretically fixed version of texlive-texmf.
>>
>> According to the fix, the actual file "algolrevived.map" is all lowercase (but was listed in CamelCase in updmap.cfg). The fix updated updmap.cfg to match the file (and similarly for the other 3 files affected).
>>
>> So if the cases are now backwards from the fix, something else is going on.
>>
>> Hanspeter
> 
> I just tried to install texlive….
> 
> I did
> % fink install texlive-texmf
> % fink install texlive-nox
> 
> and I got the following error again:
> updmap [WARNING]: resetting $HOME value (was /Users/sth) to root's actual home (/var/root).
> updmap will read the following updmap.cfg files (in precedence order):
>    /opt/sw/share/texmf-dist/web2c/updmap.cfg
> updmap may write changes to the following updmap.cfg file:
>    /opt/sw/etc/texmf-config/web2c/updmap.cfg
> Missing map files found, disabling
> 	CountriesOfEurope.map (in /opt/sw/share/texmf-dist/web2c/updmap.cfg)
> 	algolrevived.map (in /opt/sw/share/texmf-dist/web2c/updmap.cfg)
> 	baskervillef.map (in /opt/sw/share/texmf-dist/web2c/updmap.cfg)
> 	montserrat.map (in /opt/sw/share/texmf-dist/web2c/updmap.cfg)
> in /opt/sw/etc/texmf-config/web2c/updmap.cfg
> Do you really want to continue (y/N)?
> 
> The files are actually in CamelCase
> % find /opt/sw/share/texmf-dist -iname algolrevived.map
> /opt/sw/share/texmf-dist/fonts/map/dvips/algolrevived/AlgolRevived.map
> 
> and the same for the others.  I have the correct version installed?
> % fink list texlive-texmf
> Information about 14360 packages read in 8 seconds.
>   i   texlive-texmf                               20210325-3                       Main texmf tree for a TeX Live installation

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



_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.