Re: Failed: can't install package texlive-base-20240312-2

Scott Hannahs via Fink-users <[email protected]> Fri, 4 Apr 2025 12:11:48 -0400
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Apr 4, 2025, at 02:20, Franchetti, Giuliano Dr. <[email protected]> wrote:
> 
> Hello Scott, 
> hello Hanspeter, 
> 
> I followed step by step the instructions. Below you see what came out on my screen. 
> Something is still wrong. 
> 
> Giuliano
> 
> 
> 
> giuliano@strmac001:/Users/giuliano/src>
> giuliano@strmac001:/Users/giuliano/src> git clone https://github.com/fink/fink fink-upstream
> Cloning into 'fink-upstream'...
> remote: Enumerating objects: 36620, done.
> remote: Counting objects: 100% (395/395), done.
> remote: Compressing objects: 100% (126/126), done.
> remote: Total 36620 (delta 329), reused 303 (delta 269), pack-reused 36225 (from 4)
> Receiving objects: 100% (36620/36620), 12.48 MiB | 29.78 MiB/s, done.
> Resolving deltas: 100% (24023/24023), done.
> giuliano@strmac001:/Users/giuliano/src> 
> giuliano@strmac001:/Users/giuliano/src> cd fink-upstream
> giuliano@strmac001:/Users/giuliano/src/fink-upstream>
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> git pull
> Already up to date.
> giuliano@strmac001:/Users/giuliano/src/fink-upstream>
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> sudo cp perlmod/Fink/Services.pm /opt/sw2/lib/perl5/Fink/Services.pm
> giuliano@strmac001:/Users/giuliano/src/fink-upstream>
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> ./inject.pl
> .
> .
> .
> Clearing dependency_libs of .la files in /opt/sw2/lib ...
> Updating the list of locally available binary packages.
> Scanning dists/local/injected/binary-darwin-x86_64
> New package: dists/local/injected/binary-darwin-x86_64/fink_0.45.99.git-20250404.0610_darwin-x86_64.deb
> 
> Your Fink installation in '/opt/sw2' was updated with a new fink package.
> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> git remote -v
> origin  https://github.com/fink/fink (fetch)
> origin  https://github.com/fink/fink (push)
> giuliano@strmac001:/Users/giuliano/src/fink-upstream>
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> fink selfupdate
> 
> I will now run the git command to retrieve the latest package descriptions. The 'su' command will be used to run the git command as the user 'giuliano'. After that, the core packages
> will be updated right away; you should then update the other packages using commands like 'fink update-all'.
> 
> /usr/bin/su giuliano -c '/usr/bin/git fetch --quiet origin'
> /usr/bin/su giuliano -c '/usr/bin/git checkout --quiet master'
> /usr/bin/su giuliano -c '/usr/bin/git merge --ff-only --quiet origin/master'
> Scanning package description files..........
> Information about 15391 packages read in 1 seconds.
> No packages to install.
> 
> The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.
> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> fink selfupdate
> 
> I will now run the git command to retrieve the latest package descriptions. The 'su' command will be used to run the git command as the user 'giuliano'. After that, the core packages
> will be updated right away; you should then update the other packages using commands like 'fink update-all'.
> 
> /usr/bin/su giuliano -c '/usr/bin/git fetch --quiet origin'
> /usr/bin/su giuliano -c '/usr/bin/git checkout --quiet master'
> /usr/bin/su giuliano -c '/usr/bin/git merge --ff-only --quiet origin/master'
> Scanning package description files..........
> Information about 15391 packages read in 1 seconds.
> No packages to install.
> 
> The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.
> 
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> fink update-all
> Information about 15391 packages read in 1 seconds.
> 
> fink needs help picking an alternative to satisfy a virtual dependency. The candidates:
> 
> (1)     texlive-base: Base programs for a TeX Live installation
> (2)     texlive-nox-base: Base programs for a TeX Live installation
> 
> Pick one: [1] 
> Can't resolve dependency "system-perl5303" for package "intltool40-0.51.0-1204" (no matching packages/versions found)
> Exiting with failure.
> giuliano@strmac001:/Users/giuliano/src/fink-upstream> 
> 
> 
> 
>> 
>>> On 4. Apr 2025, at 03:59, Scott Hannahs <[email protected]> wrote:
>>> 
>>> 
>>> 
>>>> On Apr 3, 2025, at 1:53 PM, [email protected] wrote:
>>>> 
>>>> On 2025-04-03 11:51, Franchetti, Giuliano Dr. wrote:
>>>>> Hi Scott,
>>>>> following the procedure I get
>>>>> giuliano@FGs-MacBook-Pro:/Users/giuliano/src/fink-upstream>
>>>>> giuliano@FGs-MacBook-Pro:/Users/giuliano/src/fink-upstream> git pull
>>>>> Already up to date.
>>>>> giuliano@FGs-MacBook-Pro:/Users/giuliano/src/fink-upstream>
>>>>> The ./inject.pl yields this error
>>>>> Creating fink tarball...
>>>>> tar -cf /opt/sw2/src/fink-0.45.99.git.tar AUTHORS COPYING INSTALL
>>>>> INSTALL.html MANIFEST MANIFEST.SKIP Makefile NEWS README
>>>>> README.buildsystem README.html README.removing-fink-bld REVISION
>>>>> Release STYLE TODO USAGE USAGE.html VERSION bootstrap
>>>>> bootstrap-phase2.pl compiler_wrapper-10.6.in compiler_wrapper-10.7.in
>>>>> compiler_wrapper-10.9.in dpkg-checkall.sh fink-dpkg-status-cleanup.in
>>>>> fink-instscripts.in fink-scanpackages.in fink-virtual-pkgs.in
>>>>> fink.8.in fink.conf.5.in fink.csh fink.in fink.sh fink.shlibs
>>>>> g++-wrapper.in images/finkDoneFailed.png images/finkDonePassed.png
>>>>> images/finkPackageBuildFailed.png images/finkPackageBuildPassed.png
>>>>> images/finkPackageInstallationFailed.png
>>>>> images/finkPackageInstallationPassed.png
>>>>> images/finkPackageRemovalFailed.png
>>>>> images/finkPackageRemovalPassed.png inject.pl install.sh lockwait.in
>>>>> pathsetup.sh.in perlmod/Fink.pm.in perlmod/Fink/Base.pm
>>>>> perlmod/Fink/Bootstrap.pm perlmod/Fink/CLI.pm perlmod/Fink/Checksum.pm
>>>>> perlmod/Fink/Checksum/MD5.pm perlmod/Fink/Checksum/SHA1.pm
>>>>> perlmod/Fink/Checksum/SHA256.pm perlmod/Fink/Command.pm
>>>>> perlmod/Fink/Config.pm perlmod/Fink/Configure.pm
>>>>> perlmod/Fink/Engine.pm perlmod/Fink/Finally.pm
>>>>> perlmod/Fink/Finally/BuildConflicts.pm
>>>>> perlmod/Fink/Finally/Buildlock.pm perlmod/Fink/FinkVersion.pm.in
>>>>> perlmod/Fink/Mirror.pm perlmod/Fink/NetAccess.pm
>>>>> perlmod/Fink/Notify.pm perlmod/Fink/Notify/Growl.pm
>>>>> perlmod/Fink/Notify/QuickSilver.pm perlmod/Fink/Notify/Say.pm
>>>>> perlmod/Fink/Notify/Syslog.pm perlmod/Fink/Notify/XTerm.pm
>>>>> perlmod/Fink/Package.pm perlmod/Fink/PkgVersion.pm
>>>>> perlmod/Fink/Scanpackages.pm perlmod/Fink/SelfUpdate.pm
>>>>> perlmod/Fink/SelfUpdate/Base.pm perlmod/Fink/SelfUpdate/CVS.pm
>>>>> perlmod/Fink/SelfUpdate/git.pm perlmod/Fink/SelfUpdate/point.pm
>>>>> perlmod/Fink/SelfUpdate/rsync.pm perlmod/Fink/SelfUpdate/svn.pm
>>>>> perlmod/Fink/Services.pm perlmod/Fink/Status.pm
>>>>> perlmod/Fink/SysState.pm perlmod/Fink/Text/DelimMatch.pm
>>>>> perlmod/Fink/Text/ParseWords.pm perlmod/Fink/Tie/IxHash.pm
>>>>> perlmod/Fink/Validation.pm perlmod/Fink/VirtPackage.pm
>>>>> postinstall.pl.in pre-build-test.sh readme.en.html readme.es.html
>>>>> readme.fr.html readme.ja.html readme.pt.html readme.ru.html
>>>>> readme.zh.html setup.sh shlibs.default.in t/00compile.t
>>>>> t/10features/users_groups.t t/10features/volume.t t/Base/initialize.t
>>>>> t/Base/param.t t/Base/param_boolean.t t/CLI/capture.t t/Command/cat.t
>>>>> t/Command/chowname.t t/Command/commands.t t/Command/du_sk.t
>>>>> t/Command/exports.t t/Command/failure.t t/Command/touch.t
>>>>> t/Config/exports.t t/Config/failure.t t/Config/flag.t
>>>>> t/Config/load_save.t t/Config/options.t t/Config/param.t
>>>>> t/Config/verbosity_level.t t/Engine/fetch.t t/Engine/p0.info
>>>>> t/Engine/p1.info t/Engine/p2.info t/Engine/p3.info t/Engine/p4.info
>>>>> t/Finally/buildlocks.t t/Finally/finally.t t/FinkVersion/exports.t
>>>>> t/FinkVersion/version.t t/Mirror/exports.t t/Notify/exports.t
>>>>> t/Package/duplicate_fullname_trees/epoch1/finkinfo/duplicate-fullname.info
>>>>> t/Package/duplicate_fullname_trees/epoch1again/finkinfo/duplicate-fullname.info
>>>>> t/Package/duplicate_fullname_trees/epoch2/finkinfo/duplicate-fullname.info
>>>>> t/Package/duplicate_fullnames.t t/PkgVersion/get_perl.t
>>>>> t/PkgVersion/get_ruby.t
>>>>> t/PkgVersion/get_splitoffs-tree/finkinfo/p1.info
>>>>> t/PkgVersion/get_splitoffs-tree/finkinfo/p2.info
>>>>> t/PkgVersion/get_splitoffs-tree/finkinfo/p3.info
>>>>> t/PkgVersion/get_splitoffs.t t/PkgVersion/mp3-info-pm-1.01-1.info
>>>>> t/PkgVersion/non-consecutive-test.info
>>>>> t/PkgVersion/non-consecutive-test2.info
>>>>> t/PkgVersion/non_consecutive_source.t t/PkgVersion/opengl-rb18.info
>>>>> t/PkgVersion/sed-4.0.5-1.info
>>>>> t/PkgVersion/xml-parser-pm560-2.31-5.info t/SelfUpdate/last_done.t
>>>>> t/SelfUpdate/subclasses.t t/Services/eval_conditional.t
>>>>> t/Services/execute_nonroot_okay.t t/Services/expand_percent.t
>>>>> t/Services/prepare_script.t t/Services/spec2struct.t
>>>>> t/Services/version_cmp.t t/Text/DelimMatch/DelimMatch.t
>>>>> t/Text/ParseWords/ParseWords.t t/Text/ParseWords/taint.t
>>>>> t/Tie/IxHash/each-delete.t t/Tie/IxHash/ixhash.t
>>>>> t/Validation/_filename_versioning_cmp.t t/Validation/exports.t
>>>>> t/basepath/etc/fink.conf t/testmore.pl update-packages/README
>>>>> update/Makefile.in.in update/config.guess update/config.sub
>>>>> update/ltconfig update/ltmain.sh
>>>>> Copying package description(s)...
>>>>> /bin/mv /opt/sw2/fink/dists/local/injected/finkinfo/fink.info
>>>>> /opt/sw2/fink/dists/local/injected/finkinfo/fink.info.bak
>>>>> Modifying package description...
>>>>> /bin/chmod 644 /opt/sw2/fink/dists/local/injected/finkinfo/*.*
>>>>> Installing package...
>>>>> /usr/bin/perl /opt/sw2/bin/fink install fink-0.45.99.git-20250403.1648
>>>>> 14.7 does not match the expected value of 14.6. Please run `fink
>>>>> selfupdate` to download a newer version of fink at
>>>>> /opt/sw2/lib/perl5/Fink/Services.pm line 1450.
>>>>> ### execution of /usr/bin/perl failed, exit code 29
>>>> 
>>>> Confirm that you are using the right git repo:
>>>> 
>>>> cd /Users/giuliano/src/fink-upstream
>>>> git remote -v
>>>> 
>>>> Your list of commands above also doesn't show the `cp` command in Scott's instructions (this gets around the upgrade bug I noticed in the previous email)
>>>> 
>>>> cp perlmod/Fink/Services.pm /opt/sw/lib/perl5/Fink/Services.pm
>>>> This has to be done before running ./inject.pl in order to work around the bug.
>>>> 
>>>> Hanspeter
>>> 
>>> Giuliano,
>>> Yes, I listed the cp command as optional.  When tried it, I used the cp but wasn’t sure if it was necessary.   I never went back and tried it again.  So yes, it appears that the cp command is not optional and I will update my notes.
>>> 
>>> the following should update your fink installation:
>>>  mkdir -p ~/src
>>>  cd src
>>>  git clone https://github.com/fink/fink fink-upstream
>>>  cd fink-upstream
>>>  git pull
>>>  sudo cp perlmod/Fink/Services.pm /opt/sw/lib/perl5/Fink/Services.pm
>>>  ./inject.pl
>>> 
>>> -Scott

Giuliano,

I think we are almost there.  There is still the issue of updating fink itself.

Try the following three commands now that we have fixed the upgrade glitch.
   fink rebuild fink
   fink reinstall fink
   fink self-update

This *should* get the correct system-perl for your MacOS 14.  You can check by
fink list system-perl to check the version that Fink thinks is correct.

-Scott

_______________________________________________
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