Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How can I upgrade to python 2.6 or 3.1??

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      belikeyeshua
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        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
        

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.