python issues

AN andy at
Mon Mar 7 19:08:48 UTC 2011

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 

portsnap fetch update
pkgdb -vFf
portupgrade -a
portupgrade -o lang/python27 lang/python26
If using portupgrade:
   # cd /usr/ports/lang/python && make upgrade-site-packages

Everything completed successfully, however the following still is a 

# 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 
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 
py27-telepathy-python-0.15.19_1 Python bindings for the Telepathy 
py27-xdg-0.19       A python library to access standards
pyrex-0.9.9         Programming Language for writing Python extension 
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

More information about the freebsd-ports mailing list