Trying to configure my unconfigured python culprits:
Code:
$ sudo dpkg --configure *python* dpkg: error processing python-pkg-resources (--configure): package python-pkg-resources is already installed and configured Setting up python-lxml (2.3.2-1) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-lxml (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-sip (--configure): package python-sip is already installed and configured dpkg: error processing python-usb (--configure): package python-usb is already installed and configured dpkg: error processing python-dbus (--configure): package python-dbus is already installed and configured dpkg: error processing python-tk (--configure): package python-tk is already installed and configured dpkg: error processing python-tz (--configure): package python-tz is already installed and configured dpkg: error processing python-pyparsing (--configure): package python-pyparsing is already installed and configured dpkg: error processing python-minimal (--configure): package python-minimal is already installed and configured dpkg: error processing python-zope.interface (--configure): package python-zope.interface is already installed and configured dpkg: error processing python-pip (--configure): package python-pip is already installed and configured Setting up python-reportlab (2.5-1.1build1) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-reportlab (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing libpython2.7 (--configure): package libpython2.7 is already installed and configured Setting up python-defer (1.0.2+bzr481-1) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-defer (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-qt4-dbus (--configure): package python-qt4-dbus is already installed and configured dpkg: error processing python-gnupginterface (--configure): package python-gnupginterface is already installed and configured Setting up python-gi (3.2.2-1~precise) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-gi (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-software-properties: python-software-properties depends on lsb-release; however: Package lsb-release is not configured yet. python-software-properties depends on unattended-upgrades; however: Package unattended-upgrades is not configured yet. dpkg: error processing python-software-properties (--configure): dependency problems - leaving unconfigured Setting up python-kde4 (4:4.9.4-0ubuntu0.1~ubuntu12.04.1~ppa3) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-kde4 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-configobj (--configure): package python-configobj is already installed and configured dpkg: error processing python (--configure): package python is already installed and configured dpkg: dependency problems prevent configuration of python-apport: python-apport depends on lsb-release; however: Package lsb-release is not configured yet. dpkg: error processing python-apport (--configure): dependency problems - leaving unconfigured dpkg: error processing python-matplotlib-data (--configure): package python-matplotlib-data is already installed and configured dpkg: error processing python-pexpect (--configure): package python-pexpect is already installed and configured dpkg: error processing python-gdbm (--configure): package python-gdbm is already installed and configured dpkg: error processing python-xkit (--configure): package python-xkit is already installed and configured dpkg: error processing python-lazr.uri (--configure): package python-lazr.uri is already installed and configured dpkg: error processing python-support (--configure): package python-support is already installed and configured dpkg: error processing python-dbus-dev (--configure): package python-dbus-dev is already installed and configured dpkg: error processing python2.7 (--configure): package python2.7 is already installed and configured dpkg: error processing python-pycurl (--configure): package python-pycurl is already installed and configured Setting up python-gpgme (0.2-1) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-gpgme (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-cairo (--configure): package python-cairo is already installed and configured Setting up python-keyring (0.9.2-0ubuntu0.12.04.2) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-keyring (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-scipy (--configure): package python-scipy is already installed and configured dpkg: dependency problems prevent configuration of plasma-scriptengine-python: plasma-scriptengine-python depends on python-kde4 (>= 4:4.6.80); however: Package python-kde4 is not configured yet. dpkg: error processing plasma-scriptengine-python (--configure): dependency problems - leaving unconfigured dpkg: error processing python2.7-minimal (--configure): package python2.7-minimal is already installed and configured dpkg: error processing python-gobject-2 (--configure): package python-gobject-2 is already installed and configured dpkg: error processing python3.2 (--configure): package python3.2 is already installed and configured dpkg: error processing python-smbc (--configure): package python-smbc is already installed and configured dpkg: error processing python-serial (--configure): package python-serial is already installed and configured dpkg: error processing python-glade2 (--configure): package python-glade2 is already installed and configured dpkg: error processing python3.2-minimal (--configure): package python3.2-minimal is already installed and configured dpkg: error processing python-cups (--configure): package python-cups is already installed and configured Setting up python-problem-report (2.0.1-0ubuntu17.4) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site dpkg: error processing python-problem-report (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing python-dateutil (--configure): package python-dateutil is already installed and configured dpkg: error processing python-gtk2 (--configure): package python-gtk2 is already installed and configured dpkg: dependency problems prevent configuration of python-gobject: python-gobject depends on python-gi (>= 3.2.2-1~precise); however: Package python-gi is not configured yet. dpkg: error processing python-gobject (--configure): dependency problems - leaving unconfigured dpkg: error processing python-central (--configure): package python-central is already installed and configured dpkg: error processing python-chardet (--configure): package python-chardet is already installed and configured dpkg: error processing python-simplejson (--configure): package python-simplejson is already installed and configured dpkg: too many errors, stopping Errors were encountered while processing: python-pkg-resources python-lxml python-sip python-usb python-dbus python-tk python-tz python-pyparsing python-minimal python-zope.interface python-pip python-reportlab libpython2.7 python-defer python-qt4-dbus python-gnupginterface python-gi python-software-properties python-kde4 python-configobj python python-apport python-matplotlib-data python-pexpect python-gdbm python-xkit python-lazr.uri python-support python-dbus-dev python2.7 python-pycurl python-gpgme python-cairo python-keyring python-scipy plasma-scriptengine-python python2.7-minimal python-gobject-2 python3.2 python-smbc python-serial python-glade2 python3.2-minimal python-cups python-problem-report python-dateutil python-gtk2 python-gobject python-central python-chardet python-simplejson Processing was halted because there were too many errors. reg@DesktopOffice:~$
Comment