apt-get remove python-libxml2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED alacarte gnome-core gnome-doc-utils gnome-user-guide python-libxml2 yelp 0 upgraded, 0 newly installed, 6 to remove and 1 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 41.4MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 156713 files and directories currently installed.) Removing gnome-user-guide ... Removing gnome-core ... Removing yelp ... Removing gnome-doc-utils ... Removing alacarte ... Removing python-libxml2 ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 348, in ? post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.5/bootconfig/__init__.py' dpkg: error processing python-libxml2 (--remove): subprocess pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in ? bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.5/bootconfig/__init__.py' dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: python-libxml2 E: Sub-process /usr/bin/dpkg returned an error code (1) clientname:/home/sam#