vhost1:~# aptitude purge python Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done The following packages are BROKEN: alacarte alsa-utils bittorrent deskbar-applet foomatic-gui gconf2 gdebi gedit gnome-btdownload gnome-doc-utils gnome-menus hplip lsb-release policycoreutils printconf python-apt python-cairo python-central python-foomatic python-glade2 python-gmenu python-gnome2 python-gnome2-desktop python-gnome2-extras python-gtk2 python-ipy python-libxml2 python-newt python-numeric python-pyorbit python-qt3 python-selinux python-semanage python-sip4 python-support python-uno python-vte python-xdg reportbug rhythmbox selinux-policy-refpolicy-targeted update-manager update-notifier The following packages are unused and will be REMOVED: python-crypto python-serial python-zopeinterface The following packages will be REMOVED: python{p} 0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 2122kB will be freed. The following packages have unmet dependencies: update-manager: Depends: python (>= 2.4) but it is not installable python-gnome2: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-support: Depends: python (>= 2.3) but it is not installable printconf: Depends: python but it is not installable python-gnome2-extras: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable gdebi: Depends: python (>= 2.3) but it is not installable selinux-policy-refpolicy-targeted: Depends: python but it is not installable rhythmbox: Depends: python but it is not installable alacarte: Depends: python (>= 2.4) but it is not installable gedit: Depends: python but it is not installable python-libxml2: Depends: python (>= 2.3) but it is not installable Depends: python (< 2.5) but it is not installable gnome-menus: Depends: python (>= 2.3) but it is not installable python-newt: Depends: python (>= 2.3) but it is not installable Depends: python (< 2.5) but it is not installable python-numeric: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable reportbug: Depends: python (>= 2.4) but it is not installable hplip: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable gconf2: Depends: python (>= 2.4) but it is not installable Depends: python (< 3) but it is not installable python-semanage: Depends: python (>= 2.3) but it is not installable Depends: python (< 2.5) but it is not installable python-foomatic: Depends: python but it is not installable python-apt: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-pyorbit: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable update-notifier: Depends: python but it is not installable python-ipy: Depends: python (>= 2.3) but it is not installable gnome-btdownload: Depends: python (>= 2.4) but it is not installable python-qt3: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable foomatic-gui: Depends: python but it is not installable policycoreutils: Depends: python but it is not installable python-glade2: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-uno: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-sip4: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable python-xdg: Depends: python (>= 2.3) but it is not installable python-vte: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable bittorrent: Depends: python (>= 2.3) but it is not installable gnome-doc-utils: Depends: python (>= 2.1) but it is not installable alsa-utils: Depends: python but it is not installable python-central: Depends: python (>= 2.3.5-7) but it is not installable python-selinux: Depends: python (>= 2.4) but it is not installable Depends: python (< 2.5) but it is not installable python-gmenu: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable deskbar-applet: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-gnome2-desktop: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable lsb-release: Depends: python but it is not installable python-gtk2: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.4) but it is not installable python-cairo: Depends: python (< 2.5) but it is not installable Depends: python (>= 2.3) but it is not installable Resolving dependencies... The following actions will resolve these dependencies: Keep the following packages at their current version: python [2.4.4-2 (stable, now)] Score is -9997 Accept this solution? [Y/n/q/?] The following packages are unused and will be REMOVED: python-crypto python-serial python-zopeinterface 0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 1499kB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 82633 files and directories currently installed.) Removing python-crypto ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 943, in run runtimes = get_installed_runtimes(with_unsupported=True) File "/usr/bin/pycentral", line 196, in get_installed_runtimes supported = pyversions.supported_versions() File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions value = read_default('supported-versions') File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default value = config.get('DEFAULT', name) UnboundLocalError: local variable 'config' referenced before assignment dpkg: error processing python-crypto (--remove): subprocess pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 865, in run runtimes = get_installed_runtimes() File "/usr/bin/pycentral", line 196, in get_installed_runtimes supported = pyversions.supported_versions() File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions value = read_default('supported-versions') File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default value = config.get('DEFAULT', name) UnboundLocalError: local variable 'config' referenced before assignment dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Removing python-serial ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 943, in run runtimes = get_installed_runtimes(with_unsupported=True) File "/usr/bin/pycentral", line 196, in get_installed_runtimes supported = pyversions.supported_versions() File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions value = read_default('supported-versions') File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default value = config.get('DEFAULT', name) UnboundLocalError: local variable 'config' referenced before assignment dpkg: error processing python-serial (--remove): subprocess pre-removal script returned error exit status 1 Removing python-zopeinterface ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 943, in run runtimes = get_installed_runtimes(with_unsupported=True) File "/usr/bin/pycentral", line 196, in get_installed_runtimes supported = pyversions.supported_versions() File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions value = read_default('supported-versions') File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default value = config.get('DEFAULT', name) UnboundLocalError: local variable 'config' referenced before assignment dpkg: error processing python-zopeinterface (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: python-crypto python-serial python-zopeinterface E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: