Hi, how could I possibly remove the packet hplip in Etch while getting error messages like these?
# aptitude remove hplip Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages have been kept back: acroread libquicktime0 lilo skype The following packages will be REMOVED: hplip 0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded. Need to get 0B of archives. After unpacking 2662kB will be freed. Writing extended state information... Done (Reading database ... 107041 files and directories currently installed.) Removing hplip ... usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f] update-python-modules: error: /usr/share/python-support/hplip does not exist dpkg: error processing hplip (--remove): subprocess pre-removal script returned error exit status 2 Errors were encountered while processing: hplip E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: # mkdir /usr/share/python-support/hplip # aptitude remove hplip 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 have been kept back: acroread libquicktime0 lilo skype The following packages will be REMOVED: hplip 0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded. Need to get 0B of archives. After unpacking 2662kB will be freed. Writing extended state information... Done (Reading database ... 107041 files and directories currently installed.) Removing hplip ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 227, in ? do_dirs_b+=dirlist_file(arg) File "/usr/sbin/update-python-modules", line 178, in dirlist_file return [ l.rstrip('\n') for l in file(f) if len(l)>1 ] IOError: [Errno 21] Is a directory dpkg: error processing hplip (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: hplip E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: # rmdir /usr/share/python-support/hplip # touch /usr/share/python-support/hplip # aptitude remove hplip Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages have been kept back: acroread libquicktime0 lilo skype The following packages will be REMOVED: hplip 0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded. Need to get 0B of archives. After unpacking 2662kB will be freed. Writing extended state information... Done (Reading database ... 107041 files and directories currently installed.) Removing hplip ... usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f] update-python-modules: error: /usr/share/python-support/hplip is not a directory dpkg: error processing hplip (--remove): subprocess pre-removal script returned error exit status 2 Errors were encountered while processing: hplip E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: I tried "aptitude purge" as well, but this didn't work either. Best regards, RL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]