Upgrade devel/py-setuptools

Loic Capdeville lolox-freebsd at lolox.net
Wed Mar 27 16:37:18 UTC 2013


On 27/03/2013 17:30, Volodymyr Kostyrko wrote:
> 2013-03-27 15:33, Loic Capdeville wrote:
>> On 27/03/2013 14:27, Volodymyr Kostyrko wrote:
>>> 2013-03-27 15:06, Loic Capdeville wrote:
>>>> /usr/local/lib/python2.7/site-packages/easy-install.pth:
>>>>
>>>> import sys; sys.__plen = len(sys.path)
>>>> ../setuptools-0.6c11-py2.7.egg
>>>> ../Pygments-1.5-py2.7.egg
>>>> ../Babel-0.9.6-py2.7.egg
>>>> ../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
>>>> ../Jinja2-2.6-py2.7.egg
>>>> ../Sphinx-1.1.3-py2.7.egg
>>>> ../virtualenv-1.9.1-py2.7.egg
>>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
>>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
>>>> p+len(new)
>>>>
>>>>
>>>> /usr/local/lib/python2.7/site-packages/easy-install.pth.dist:
>>>>
>>>> import sys; sys.__plen = len(sys.path)
>>>> ../setuptools-0.6c11-py2.7.egg
>>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
>>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
>>>> p+len(new)
>>>
>>> Looks like py-distribute is not installed at all.
>>>
>>> what was the outcome of "portupgrade -fo devel/py-distribute
>>> devel/py-setuptools"? Can you try running that again?
>>>
>>
>> It hasn't printed anything since the first time I tried to run it...
>> and still print nothing.
>
> So here is a main problem. If it prints nothing it doesn't work.
>
> Do you have portupgrade or portmaster installed? Did it yield at least
> one line? Some errors? If it doesn't that's surely a sign that something
> is going wrong.
>
I use portupgrade regularly to upgrade my ports, and usually everything 
goes right.
If fails only with that particular operation (or these portupgrade options)
Do I have to install "devel/py-distribute" separately, or should the 
"portupgrade -fo" command do everything itself (uninstall py-setuptools 
and install py-distribute) ?


More information about the freebsd-questions mailing list