Re: Upgrade devel/py-setuptools

2013-03-28 Thread Loic Capdeville

On 27/03/2013 17:43, Volodymyr Kostyrko wrote:

2013-03-27 18:37, Loic Capdeville wrote:

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) ?


This command should forcefully deintsall second package and replace it
with first one. I'm not using portupgrade, I switched to portmaster long
time ago so I can't help you with it.

If you want to make the switch by hand I think you should:

pkg_delete -f py27-setuptools-0.6c11_3
# now write down the whole list of dependent packages

cd /usr/ports/devel/py-distribute ; make install clean
portupgrade -f ..list of packages that require setuptools..



If finally did it by hand.
Note: upgrading packages that require setuptools isn't necessary, since 
py-distribute is backward compatible with py-setuptools.


Thanks for your help.

Loic

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

Hi !

I'm trying to update devel/py-setuptools which has been replaced by 
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo 
devel/py-distribute devel/py-setuptools since I'm using ports, but 
nothing happens.


Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?

Thanks.

Loic



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Jerry
On Wed, 27 Mar 2013 13:22:19 +0100
Loic Capdeville articulated:

 I'm trying to update devel/py-setuptools which has been replaced by 
 devel/py-distribute.
 As mentioned in /usr/ports/UPDATING I did portupgrade -fo 
 devel/py-distribute devel/py-setuptools since I'm using ports, but 
 nothing happens.
 
 Output of pkg_version -vIL= :
 py27-setuptools-0.6c11_3   succeeds index (index has
 0.6.35)
 
 I already tried to fix the package registry using pkgdb -F.
 
 I've been trying to fix this for days, but still can't find a
 solution.

I have the same problem. However, since everything is apparently
working I just chose to ignore it. It probably should get corrected
though.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of 
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 13:50, Volodymyr Kostyrko wrote:

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?



Thanks for your quick response.
Here is what you requested:

-rw-r--r--  1 root  wheel  395 Mar 13 04:50 
/usr/local/lib/python2.7/site-packages/easy-install.pth
-rw-r--r--  1 root  wheel  215 Dec 30 15:04 
/usr/local/lib/python2.7/site-packages/easy-install.pth.dist



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 14:00, Loic Capdeville wrote:

On 27/03/2013 13:50, Volodymyr Kostyrko wrote:

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has
0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?



Thanks for your quick response.
Here is what you requested:

-rw-r--r--  1 root  wheel  395 Mar 13 04:50
/usr/local/lib/python2.7/site-packages/easy-install.pth
-rw-r--r--  1 root  wheel  215 Dec 30 15:04
/usr/local/lib/python2.7/site-packages/easy-install.pth.dist


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


... and the files content:

/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)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

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?


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

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.


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

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) ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 18:37, Loic Capdeville wrote:

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) ?


This command should forcefully deintsall second package and replace it 
with first one. I'm not using portupgrade, I switched to portmaster long 
time ago so I can't help you with it.


If you want to make the switch by hand I think you should:

pkg_delete -f py27-setuptools-0.6c11_3
# now write down the whole list of dependent packages

cd /usr/ports/devel/py-distribute ; make install clean
portupgrade -f ..list of packages that require setuptools..

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade devel/py-setuptools

2013-03-27 Thread Peter Boosten

On 27-3-2013 17:37, Loic Capdeville wrote:




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) ?


I had some problems with this one as well. I eventually ended up by 
pkg_deleting -f the package, delete manually some file portinstall 
complaints about, and after that it worked.


Peter

--
http://www.boosten.org


-
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2013.0.2904 / Virusdatabase: 2641/6206 - datum van uitgifte: 03/26/13

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org