How can I upgrade to python 2.6 or 3.1??
-
I've concluded that videocache must not be working right because of the version of python that I have… and I need to upgrade. However, pkg_add does not work because it pulls in the 2.5 version.
How can I upgrade?
-
pkg_delete -f the version you have and then pull them from a better URL.
If you are on pfSense 1.2.3-RELEASE, then it will probably be pulling packages from a URL like this:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/
You probably want that to be:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
You can visit that URL in a browser to find the exact URL for the python version you want, as there are several:
lrwxr-xr-x 1 1006 1006 23 Dec 3 16:10 python.tbz -> ../All/python-2.6,2.tbz lrwxr-xr-x 1 1006 1006 27 Dec 3 11:25 python24.tbz -> ../All/python24-2.4.5_5.tbz lrwxr-xr-x 1 1006 1006 27 Dec 3 11:25 python25.tbz -> ../All/python25-2.5.4_3.tbz lrwxr-xr-x 1 1006 1006 25 Dec 3 12:17 python26.tbz -> ../All/python26-2.6.4.tbz lrwxr-xr-x 1 1006 1006 27 Dec 4 00:51 python31.tbz -> ../All/python31-3.1.1_1.tbz