python 2.4

Doug Barton dougb at FreeBSD.org
Mon Oct 9 17:16:09 PDT 2006


Mark Foster wrote:
> Jose Alonso Cardenas Marquez wrote:
>> The lang/python port was updated, please update your port tree and try
>> again. you don't forget to read of ports/UPDATING note.
> Regarding the recent python changes... UPDATING states:
>   After upgrading of lang/python, you must rebuild all its consumer
>   ports to make them get ready to Python 2.5.
> 
>   To do this, you will need to:
>     pkgdb -uf && cd /usr/ports/lang/python && make upgrade-site-packages
> 
> 
> Please correct me if I'm wrong, but don't these instructions rely on
> pkgdb which is a component of portupgrade which I do not use.

You are not wrong. :) However, given that there are now several ports 
management packages out there, and given that portupgrade is the most 
commonly used, you may consider it reasonable that most sets of 
instructions are written for that tool. What should probably also be 
done is to give instructions that do not depend on a particular 
package that any user could follow.

> So must I install portupgrade?
> Or should I just ignore the error run make upgrade-site-packages ?

[doug@ /usr/ports/lang/python]
  4$ make upgrade-site-packages
Please install sysutils/portupgrade.
*** Error code 1
Stop in /usr/space/ports/lang/python.

So, yes and no. :)

Seriously though, you could probably use portmaster (which has no 
overhead of extra scripting languages or databases) to do the same 
thing, but since I am not familiar with the python changes I wouldn't 
want to tell you for sure what options to use. Your safest bet is 
probably to pkg_delete everything python, and everything that depends 
on it, and reinstall everything. but of course, that's a big pita ...

Doug


-- 

     This .signature sanitized for your protection


More information about the freebsd-ports mailing list