Re: dill-py310 does not install

Scott Hannahs via Fink-users <[email protected]> Wed, 25 Sep 2024 14:29:44 -0400
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Sep 25, 2024, at 1:13 PM, Scott Hannahs via Fink-users <[email protected]> wrote:
> 
> 
> 
>> On Sep 25, 2024, at 05:14, Hanspeter Niederstrasser <[email protected] <mailto:[email protected]>> wrote:
>> 
>> On 9/23/24 9:23 PM, Scott Hannahs via Fink-users wrote:
>>> It seems to build fine, but there is an install error.  Have rebuilt the package, but there is an issue with “alternatives”??  I was trying to update pytlint but this is one of the dependencies.
>>> Preparing to unpack .../dill-py310_0.3.8-1_darwin-x86_64.deb ...
>>> Unpacking dill-py310 (0.3.8-1) over (0.3.8-1) ...
>>> Setting up dill-py310 (0.3.8-1) ...
>>> update-alternatives: error: alternative path /opt/sw/bin/dill-py3.10 doesn't exist
>>> dpkg: error processing package dill-py310 (--install):
>>> subprocess installed post-installation script returned error exit status 2
>>> Errors were encountered while processing:
>>> dill-py310
>>> ### execution of /opt/sw/bin/dpkg-lockwait failed, exit code 1
>>> Failed: can't install package dill-py310-0.3.8-1
>>> I think he dot-info file creates that file so I am not sure why it does not exist.
>> 
>> Fixed. update-alternatives was looking for dill-pyX.YZ when it should have been undill-pyX.YZ.
>> 
>> Hanspeter
> 
> Hanspeter,
> Thanks, I would never have found the difference between dill and undill!
> 
> -Scott

Spoke too soon, tried to update dill (dependency from pylint?)

There is still a problem with the alternatives?
Preparing to unpack .../dill-py310_0.3.8-2_darwin-x86_64.deb ...
update-alternatives: error: no alternatives for dill
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
update-alternatives: error: no alternatives for dill
dpkg: error processing archive /opt/sw/fink/dists/stable/main/binary-darwin-x86_64/libs/pythonmods/dill-py310_0.3.8-2_darwin-x86_64.deb (--install):
 subprocess new pre-removal script returned error exit status 2
update-alternatives: error: no alternatives for dill
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 /opt/sw/fink/dists/stable/main/binary-darwin-x86_64/libs/pythonmods/dill-py310_0.3.8-2_darwin-x86_64.deb
### execution of /opt/sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package dill-py310-0.3.8-2

-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