[Python-modules-team] Bug#524303: Can't remove python-elementtree

Юрий Юрий
Mon Apr 20 13:09:51 UTC 2009


I want to reinstall python-elementtree, when I try to remove it, I encounter
an error

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

update-python-modules: error:
/usr/share/python-support/python-elementtree.public is not a directory
dpkg: error processing python-elementtree (--remove):
 subprocess pre-removal script returned error exit status 2
Usage: update-python-modules [-v] [-c] package_directory [...]
  update-python-modules [-v] [-c] package.dirs [...]
  update-python-modules [-v] [-a|-f|-p]

update-python-modules: error:
/usr/share/python-support/python-elementtree.public is not a directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 python-elementtree
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090420/7124ccb1/attachment.htm>


More information about the Python-modules-team mailing list