|
|

楼主 |
发表于 2007-9-16 11:26:33
|
显示全部楼层
已经解决了。解决方法如下:
root@Knoppix:~# dpkg-query -l|grep kdebluetooth
ii kdebluetooth 0.99+1.0beta2-2 KDE Bluetooth Framework
root@Knoppix:~# apt-get --purge remove kdebluetooth
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
kdebluetooth*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 5296kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 110752 files and directories currently installed.)
Removing kdebluetooth ...
dpkg-divert: mismatch on divert-to
when removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock_nobt by kdebluetooth'
found `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix'
dpkg: error processing kdebluetooth (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
kdebluetooth
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Knoppix:~# rm /usr/bin/kdesktop_lock
rm: remove regular file `/usr/bin/kdesktop_lock'? y
root@Knoppix:~# dpkg-divert --rename --remove /usr/bin/kdesktop_lock
Removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix'
root@Knoppix:~# apt-get --purge remove kdebluetooth
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
kdebluetooth
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 5296kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 110218 files and directories currently installed.)
Removing kdebluetooth ...
No diversion `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock_nobt by kdebluetooth', none removed
root@Knoppix:~# dpkg-query -l|grep kdebluetooth
rc kdebluetooth 0.99+1.0beta2-2 KDE Bluetooth Framework
root@Knoppix:~# dpkg -P kdebluetooth
(Reading database ... 110218 files and directories currently installed.)
Removing kdebluetooth ...
Purging configuration files for kdebluetooth ...
root@Knoppix:~# dpkg-query -l|grep kdebluetooth
root@Knoppix:~# dpkg-query -l|grep artwiz-cursor
ii artwiz-cursor 1.3-5 artwiz futuristic mouse cursor for x11
root@Knoppix:~# dpkg -P artwiz-cursor
(Reading database ... 110217 files and directories currently installed.)
Removing artwiz-cursor ...
dpkg-divert: mismatch on divert-to
when removing `diversion of /usr/share/fonts/X11/misc/cursor.pcf.gz to /usr/share/fonts/X11/misc/cursor.pcf.gz-artwiz by artwiz-cursor'
found `diversion of /usr/share/fonts/X11/misc/cursor.pcf.gz to /usr/share/doc/artwiz-cursor/cursor.pcf.gz-artwiz by artwiz-cursor'
dpkg: error processing artwiz-cursor (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
artwiz-cursor
root@Knoppix:~# rm /usr/share/fonts/X11/misc/cursor.pcf.gz
rm: cannot lstat `/usr/share/fonts/X11/misc/cursor.pcf.gz': No such file or directory
root@Knoppix:~# dpkg-divert --rename --remove /usr/share/fonts/X11/misc/cursor.pcf.gz
Removing `diversion of /usr/share/fonts/X11/misc/cursor.pcf.gz to /usr/share/doc/artwiz-cursor/cursor.pcf.gz-artwiz by artwiz-cursor'
root@Knoppix:~# dpkg -P artwiz-cursor
(Reading database ... 110213 files and directories currently installed.)
Removing artwiz-cursor ...
No diversion `diversion of /usr/share/fonts/X11/misc/cursor.pcf.gz to /usr/share/fonts/X11/misc/cursor.pcf.gz-artwiz by artwiz-cursor', none removed
Purging configuration files for artwiz-cursor ...
root@Knoppix:~# dpkg-query -l|grep artwiz-cursor
root@Knoppix:~# |
|