Zbigniew Szalbot wrote:
I am relatively new to FreeBSD. I use FreeBSD 6.1 stable release. I have
enabled portaudit and as a result now get reports about known
vulnarabilities. The problem I have encountered is this. I am trying to
update php and python and do it by first refreshing the ports tree by
using cvsup and then I cd to the appropriate port and issue portupgarde.
However, in both cases (php and python) I get an error. example pasted
$ sudo portupgrade
---> Upgrading 'python-2.4.3' to 'python-2.4.3_1' (lang/python)
---> Building '/usr/ports/lang/python'
===> Cleaning for python-2.4.3_1
===> python-2.4.3_1 has known vulnerabilities:
=> python -- buffer overrun in repr() for unicode strings.
=> Please update your ports tree and try again.
*** Error code 1
Stop in /usr/ports/lang/python.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.95983.0 env PORT_UPGRADE=yes make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/python (python-2.4.3) (unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
I would really appreciate if someone told me where I go wrong and what I
should do to upgrade both software pieces. I understand that the problem
is somewhere around not really getting the python version I should, but
what can I do to fix it?
I just csup'ed my ports tree and ran make on python without any problem.
portupgrade is a convenient tool but sometimes it fail for whatever
reason, no idea in your case.
You can always upgrade manually with:
# make && make deinstall && make install clean
I always run make before deinstalling, it's quite inconvenient to
deinstall if you then have problems building the new version.
Ph: +34.666334818 web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"