Hi,
I somehow tried to install some python module and got something like
whenb i tried to just launch Python from bash. Then I thought i'd just purge it and reinstall it and that's when my issues started.
Since I have done apt-get dist-upgrade, apt-get update, apt-get upgrade and aapt-get -f install. And the last one gives me a bunch of lines like:
and then
and and when I try and ap-get dist upgrade I get:
How can I get this fixed? I don't know how I got here...
Thanks!!!
I somehow tried to install some python module and got something like
Code:
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
Since I have done apt-get dist-upgrade, apt-get update, apt-get upgrade and aapt-get -f install. And the last one gives me a bunch of lines like:
Code:
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: dependency problems prevent configuration of python-aptdaemon: python-aptdaemon depends on python-defer; however: Package python-defer is not configured yet. python-aptdaemon depends on python-gi; however: Package python-gi is not configured yet. python-aptdaemon depends on python-software-properties; however: Package python-software-properties is not configured yet. dpkg: error processing python-aptdaemon (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of userconfig: userconfig depends on python-kde4 (>= 4:4.7.0-0ubuntu2~); however: Package python-kde4 is not configured yet. dpkg: error processing userconfig (--configure): dependency problems - leaving unconfigured Processing triggers for libreoffice-common ... No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already Errors were encountered while processing:
Code:
language-selector-common nvidia-common lsb-release command-not-found python-gi update-manager-core python-problem-report python-keyring python-launchpadlib python-apport apport apt-xapian-index apturl-common python-kde4 unattended-upgrades python-software-properties software-properties-kde apturl-kde gimp hplip-data hugin-data hugin-tools jockey-common kde-config-touchpad language-selector-kde launchpad-integration plasma-scriptengine-python plasma-scriptengines python-cupshelpers system-config-printer-common printer-applet python-crypto python-gobject python-gpgme python-lxml python-matplotlib python-reportlab python-uniconvertor python-uno system-config-printer-kde system-config-printer-udev update-manager-kde usb-creator-kde virtualbox python-defer python-aptdaemon userconfig E: Sub-process /usr/bin/dpkg returned an error code (1) root@DesktopOffice:~#
Code:
# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: plasma-scriptengines : Depends: plasma-scriptengine-python (>= 4:4.11.0-0ubuntu1~ubuntu12.04~ppa1) but 4:4.10.5-0ubuntu0.1~ubuntu12.04~ppa2 is installed E: Unmet dependencies. Try using -f. root@DesktopOffice:~#
Thanks!!!
Comment