python 2.4

Thomas Sandford freebsduser at paradisegreen.co.uk
Mon Oct 9 16:05:45 PDT 2006


"B Briggs" <rcbdyndns at bellsouth.net> wrote:
> 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.
>> # pkgdb -uf && cd /usr/ports/lang/python && make upgrade-site-packages
>> pkgdb: Command not found.
>>
>> So must I install portupgrade?
>> Or should I just ignore the error run make upgrade-site-packages ?
>>
>
> All of a sudden, I have these:
> python 2.4.3_1
> python-2.5
> python25-2.5
>
> All installed.
>
> No. I do not have portupgrade installed.
>
> I tried portmanager with the -o option.
>
> Which do I need? python-2.5 or python 25-2.5?
> That's just hypothetical. I'm going to stick with 2.4.3_1 until this is 
> resolved.

I think the python changes, or specifically the modification of "python" to 
be a dummy port with dependency python25 should be backed out until they 
have been though through a bit better, or at least until the ports (eg 
mailman, py-spambayes, etc) that use python have had a chance to catch up 
with the new system.

It is now impossible to install/portupgrade, eg py-spambayes to run against 
python-2.4, the version it was ported and tested against, since it pulls in 
python as a dependency.

POLA has been badly infringed here guys...

(yes - I've read UPDATING. But I don't _want_ to update to python-2.5 
yet-a-while. I wanted to update python to 2.4.3 because of the 
vulnerability, but Oh no - I can't do that because it breaks all my ports 
that depend on python).

-- 
Thomas Sandford 




More information about the freebsd-ports mailing list