python issues

Norbert Augenstein lists at
Tue Mar 8 00:31:17 UTC 2011

On Mon, Mar 07, 2011 at 06:56:09PM +0000, AN wrote:
> After a recent portupgrade that included updating python from 2.6 to
> 2.7 I have a few problems remaining.  I did the following as per
> /usr/ports/UPDATING:
> portsnap fetch update
> pkgdb -vFf
> portupgrade -a
> portupgrade -o lang/python27 lang/python26

    there is no 'portupgrade -a' in UPDATING there is 'portupgrade -R
    python' and this is incorrect.
    you have rebuild everything first and changed python version
    afterwards. It should go the other way, changing pyhton versions

    fix your pkgdb
    force to rebuild all ports python27 is 'required by'
    (note the 'date', when you start updateing'

    # portupgrade -rf lang/python27 -x lang/python27 
    this updates quite a number of ports, if it does not run
    through, you need to fix this manually, and restart portupgrade
    to rebuild the rest.

    # portupgrade -rf lang/python27 \
    -x '>=2011-MM-DD HH:MM' -x lang/python27 lang/python27


> If using portupgrade:
>   # cd /usr/ports/lang/python && make upgrade-site-packages

    this should finally show nothing:)

> Everything completed successfully, however the following still is a
> porblem:
> # gnome-about
> bash: /usr/local/bin/gnome-about: /usr/local/bin/python2.6: bad
> interpreter: No such file or directory
> How do I check to see if any programs need to be rebuilt against
> python 2.7?  I thought that was what make upgrade-site-packages is
> for.  What else do I need to do?  Thanks for any help.
> # uname -a
> FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Mon Mar  7
> 14:51:41 IST 2011     root at
> amd64
> pkg_info |grep py2*
> compizconfig-python-0.8.4_2 Python bindings for the compizconfig library
> py27-cairo-1.8.10   Python bindings for Cairo
> py27-dbus-0.83.2    Python bindings for the D-BUS messaging system
> py27-gdata-2.0.13   GData Python Client Library
> py27-gnome-2.28.1_2 A set of Python bindings for GNOME 2
> py27-gnome-desktop-2.32.0_1 A set of Python bindings used by modules
> in the GNOME Deskt
> py27-gobject-2.26.0 Python bindings for GObject
> py27-gstreamer-0.10.21 A set of Python bindings for gstreamer
> py27-gtk-2.22.0_2   A set of Python bindings for GTK+
> py27-libxml2-2.7.8_1 Python interface for XML parser library for GNOME
> py27-openssl-0.11   Python interface to the OpenSSL library
> py27-orbit-2.24.0   Python bindings for ORBit2
> py27-papyon-0.5.4   A fork of pymsn to support the telepathy MSN
> connection man
> py27-pycrypto-2.3   The Python Cryptography Toolkit
> py27-setuptools-0.6c11_1 Download, build, install, upgrade, and
> uninstall Python pac
> py27-simplejson-2.1.3 Simplejson is a simple, fast, extensible JSON
> encoder/decod
> py27-sqlite3-2.7.1_1 Standard Python binding to the SQLite3 library
> py27-telepathy-butterfly-0.5.15_1 MSN Connection Manager for
> Telepathy Framework
> py27-telepathy-python-0.15.19_1 Python bindings for the Telepathy
> framework
> py27-xdg-0.19       A python library to access standards
> pyrex-0.9.9         Programming Language for writing Python
> extension modules
> python27-2.7.1_1    An interpreted object-oriented programming language
> ruby18-bdb-0.6.5_1  Ruby interface to Sleepycat's Berkeley DB
> revision 2 or lat
> xdpyinfo-1.1.0      Display information utility for X
> # pkg_info |grep gnome2
> gnome2-2.32.1_2     The "meta-port" for the GNOME 2 integrated X11 desktop
> _______________________________________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"

More information about the freebsd-ports mailing list