[OpenIndiana-discuss] image-update fails with python mediator errors

Marcel Telka marcel at telka.sk
Tue Jul 5 14:56:47 UTC 2022


On Tue, Jul 05, 2022 at 02:28:52PM +0000, Philip Kime wrote:
> pkg update: The requested change to the system attempts to install multiple actions
> for link 'usr/share/man/man1/python3.1' with conflicting attributes:
> 
> 1 package delivers 'link mediator=python mediator-version=3.5 path=usr/share/man/man1/python3.1 target=python3.5.1':
> pkg://openindiana.org/runtime/python-35@3.5.10,5.11-2020.0.1.0:20201014T142618Z
> 1 package delivers 'link mediator=python mediator-version=3.7 path=usr/share/man/man1/python3.1 target=python3.7.1':
> pkg://openindiana.org/runtime/python-37@3.7.13,5.11-2022.0.0.0:20220317T204725Z
> 1 package delivers 'link mediator=python3 mediator-priority=vendor mediator-version=3.9 path=usr/share/man/man1/python3.1 target=python3.9.1':
> pkg://openindiana.org/runtime/python-39@3.9.13,5.11-2022.0.0.1:20220626T102514Z

The primary problem seems to be that update tries to install (broken)
runtime/python-39 at 3.9.13-2022.0.0.1 instead of correct
runtime/python-39 at 3.9.13-2022.0.0.2.  Not sure why.  To find the cause
it would require several commands to run and it is inconvenient to do
over mail.

As a workaround you could try following:

1) disable man pages:

# to actually do the change remove -n
pkg change-facet -n -v doc.man=False

2) Now try again your pkg update command (please note that
'image-update' was obsoleted long time ago; you could simply use
'update' instead).

3) reboot

4) do the update again (it should update python-39 and some other
packages too)

5) reboot

6) enable man pages back:

# to actually do the change remove -n
pkg change-facet -n -v doc.man=None


HTH.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the openindiana-discuss mailing list