<p>I want to reinstall python-elementtree, when I try to remove it, I encounter an error<br></p><p>debian-amd64:/home/yuriy# LC_ALL=C apt-get remove python-elementtree -y  <br>
Reading package lists... Done  <br>Building dependency tree  <br>
Reading state information... Done<br>The following packages were automatically installed and are no longer required:<br>Â abiword-plugin-goffice gnome-network-admin gnome-power-manager libwpd8c2a gtk2-engines-smooth planner espeak ekiga update-notifier-common gedit-common<br>
 gcalctool gthumb libpt-1.10.10-plugins-v4l gnome-accessibility gnome-backgrounds libaiksaurus-1.2-data unattended-upgrades libopenraw1 abiword-help<br> update-notifier libpt-1.10.10-plugins-alsa libgoffice-0-common libgtkhtml-editor0 xsane libgtk-vnc-1.0-0 python-4suite-xml gtk2-engines<br>
 gnome-volume-manager gucharmap zenity libosp5 totem-plugins gnome-games link-grammar-dictionaries-en evolution-plugins cheese gdebi libgoffice-0-4<br> libgoffice-0-8 libots0 gnome-app-install evolution hardinfo gthumb-data gparted python-pyatspi lzop gnome-desktop-environment ggzcore-bin gnome-mag<br>
 rhythmbox gedit libnm-util1 bogofilter-bdb python-gnome2-extras libplot2c2 python-software-properties abiword gnome-themes-extras evolution-exchange<br> libcolorblind0 abiword-common transmission-gtk seahorse libwps-0.1-1 libggzmod4 python-apt python-gtksourceview2 gdebi-core gnome-pilot vinagre<br>
 xsane-common evolution-common evolution-webcal gnome-cards-data libgtkhtml-editor-common libgalago3 gnuchess-book gnome-nettool transmission-common<br> dasher update-manager update-manager-core libportaudio2 gnome-games-extra-data libalut0 libpstoedit0c2a gconf-editor gnome-accessibility-themes libdmx1<br>
 abiword-plugin-grammar finger libgnome-mag2 libxevie1 liblink-grammar4 libgdl-1-common libgail-gnome-module gdm-themes gnome-orca pstoedit python-brlapi<br> gnome-system-tools bogofilter-common libepc-ui-1.0-1 eog gdm libwv-1.2-3 libavahi-ui0 dasher-data gok libgdome2-0 python-xdg gnome-spell w3c-dtd-xhtml<br>
 espeak-data libnm-glib0 libggz2 libaiksaurusgtk-1.2-0c2a python-gtkmozembed at-spi software-properties-gtk tsclient libspeexdsp1 libiptcdata0<br> libexchange-storage1.2-3 libgoffice-0-8-common sound-juicer libgsf-gnome-1-114 vino mousetweaks libwmf-bin libgtkmathview0c2a bogofilter libgda3-common<br>
 abiword-plugin-mathview libespeak1 libpt-1.10.10 libopal-2.2 python-gtkspell python-eggtrayicon libepc-1.0-1 libiw29 gnome-pilot-conduits xserver-xephyr<br> python-gtkhtml2 libgnomevfs2-bin gnumeric-common dmz-cursor-theme libgnome-speech7 liferea gtk2-engines-pixbuf gnome-screensaver gnome-themes-more<br>
 python-gdbm gnome-core libgda3-bin python-gst0.10 libopenrawgnome1 gnumeric libgda3-3 libatspi1.0-0 rss-glx gnome-games-data libgtksourceview2.0-0<br> gstreamer0.10-tools totem-gstreamer libggzcore9 libgmyth0 liferea-data libwpg-0.1-1 libaiksaurus-1.2-0c2a python-gdata gnome-office gnuchess libgsl0ldbl<br>
 python-4suite-doc fast-user-switch-applet totem unace libloudmouth1-0 totem-mozilla perlmagick gnome-themes inkscape libgnome-pilot2 totem-common<br> swfdec-gnome libgdl-1-0 file-roller serpentine libpisync1 libgtkhtml2-0 libgtksourceview2.0-common libgdome2-cpp-smart0c2a<br>
Use 'apt-get autoremove' to remove them.<br>The following packages will be REMOVED:<br>Â python-elementtree<br>0 upgraded, 0 newly installed, 1 to remove and 65 not upgraded.<br>1 not fully installed or removed.<br>
After this operation, 156kB disk space will be freed.<br>(Reading database ... 291884 files and directories currently installed.)<br>Removing python-elementtree ...<br>Usage: update-python-modules [-v] [-c] package_directory [...]<br>
 update-python-modules [-v] [-c] package.dirs [...]<br> update-python-modules [-v] [-a|-f|-p]<br><br>update-python-modules: error: /usr/share/python-support/python-elementtree.public is not a directory<br>dpkg: error processing python-elementtree (--remove):<br>
 subprocess pre-removal script returned error exit status 2<br>Usage: update-python-modules [-v] [-c] package_directory [...]<br> update-python-modules [-v] [-c] package.dirs [...]<br> update-python-modules [-v] [-a|-f|-p]<br>
<br>update-python-modules: error: /usr/share/python-support/python-elementtree.public is not a directory<br>dpkg: error while cleaning up:<br>Â subprocess post-installation script returned error exit status 2<br>Errors were encountered while processing:<br>
 python-elementtree<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br><br></p>