[OmniOS-discuss] Python conflicts in upgrade from 20 to 22

Michael Talbott mtalbott at lji.org
Sat Jul 8 21:52:49 UTC 2017


I ran into this as well. Turns out if you update the publisher to the new version and then do a: 

pkg update entire

it'll fail with that error. But... if you just do a

pkg update

it'll succeed without error (and update all 379 packages instead of 377 in my case). I'm guessing there's some dependency incorrectly specified somewhere that is causing this specific issue. But I'm not a package maintainer so I can't say for certain.

Hope this helps!

Michael
Sent from my iPhone

> On Jul 8, 2017, at 8:34 AM, qutic development <mailinglists at qutic.com> wrote:
> 
> I do have the same issues. The upgrade to r151022 fails with the described python conflict.
> 
> Any hint how to fix it is appreciated :)
> 
>> Hello,
>> 
>> I’m doing upgrade from version 20 to 22 LTS, and when I run pkg updade (after changing Publisher), I’m receiving many conflicts between Python 2.6 and 2.7 which prevents me in upgrade.
>> Can anyone please help me, how to correctly do upgrade with replacing Python 2.6 with Python 2.7?
>> 
>> Thank you very much,
>> Filip
>> 
>> ----
>> pkg update: The requested change to the system attempts to install multiple actions
>> for link 'usr/bin/amd64/python-config' with conflicting attributes:
>> 
>>    1 package delivers 'link path=usr/bin/amd64/python-config target=python2-config':
>>        pkg://omnios/runtime/python-27@2.7.13,5.11-0.151022:20170511T005259Z
>>    1 package delivers 'link path=usr/bin/amd64/python-config target=python2.6-config':
>>        pkg://omnios/runtime/python-26@2.6.8,5.11-0.151020:20161102T021635Z
>> 
>> These packages may not be installed together.  Any non-conflicting set may
>> be, or the packages must be corrected before they can be installed.
>> 
>> The following packages all deliver file actions to usr/bin/smtpd.py:
>> 
>>  pkg://omnios/runtime/python-27@2.7.13,5.11-0.151022:20170511T005259Z
>>  pkg://omnios/runtime/python-26@2.6.8,5.11-0.151020:20161102T021635Z
>> 
>> …and many more
>> ---
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list