Entfernen von hplip schlaegt fehl



Wie kann ich bei untigen Fehlermeldungen in Debian Etch das Paket
hplip entfernen?

dsr3:~# 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:

Mit "aptitude purge" ging es auch nicht...

RL
.



Relevant Pages

  • Some issues with sarge kernel-image-2.6-amd64-k8
    ... Reading Package Lists... ... Building Dependency Tree... ... Reading extended state information... ...
    (Debian-User)
  • Re: How to install PHP5 using aptitude?
    ... Reading Package Lists... ... Building Dependency Tree ... Initializing package states... ... Writing extended state information... ...
    (Debian-User)
  • hplip cannot be removed
    ... how could I possibly remove the packet hplip in Etch while getting ... Reading package lists... ... Initializing package states... ... Writing extended state information... ...
    (Debian-User)
  • Re: How to install PHP5 using aptitude?
    ... Reading Package Lists... ... Reading extended state information ... Initializing package states... ... Writing extended state information... ...
    (Debian-User)
  • bsdgames emacs package conflict
    ... The other consideration is if I don't even attempt to install bsdgames and say do something like apt-get -q install emacs planner-el the planner-el package which is an emacs add-on looses the fight. ... Reading package lists... ... Building dependency tree... ... Reading extended state information... ...
    (Debian-User)