Have you looked to into using the command dpkg and one of its command line options "-f" to force it?
My Knoppix-Debian server has on it a package called KDEBLUETOOTH. I don't know why it's there; I assume it came with the basic Knoppix installation. There is no Bluetooth device on the server, nor ever likely to be.
Recently, every attempt to update anything on the machine fails with error messages about KDEBLUETOOTH. The problem is, I can't remove it either. This is what I get:
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 (--remove):
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)
RESULT=100
I've tried everything I can think of - including apt-get remove kdelock-knoppix, but that gives the same message that KDEBLUETOOTH needs something.
I don't want to have to wipe the machine and start again but it's soon going to be necessary. Even then, I can't use Knoppix because I fear I'll end up in the same place again.
HOW do I get rid of KDEBLUETOOTH?
Have you looked to into using the command dpkg and one of its command line options "-f" to force it?
I've tried dpkg --remove kdebluetooth and get the same error-message as above. I've not found a dpkg --force command to remove software - I'm not a guru in this sort of stuff. Linux is a bit like secret code - I have a folder with useful tips, getting fatter all the time, but it's a bit like pushing snowballs uphill.
I've browsed deeply, and found lots of other folks with this same problem. None of those seems to have found a fix, either. None reports "I cracked it!.
Sounds like it's a "feature" to live with, or go back to WIndows 2000.
I edited the file /var/lib/dpkg/info/kdebluetooth.postrm, commenting out the dpkg-divert lines (29 & 30). Seems to have done the trick.
"Sounds like it's a "feature" to live with, or go back to WIndows 2000."
How about trying one of the some hundred odd distros meant to be installed for desktop use:
http://shots.osdir.com/
search for all bluetooth and comment with # in those lines.
i deleted the file itself for installing new softwares.
probably knoppix intented it to be used as is live cd.
once that lock is removed it will do but problems can come with unoptimised installation.
I managed to fix the very same pb:
apt-get remove kdelock-knoppix kdebluetooth
you mentioned having tried a similar command
but the trick is to re-enter this 3 times so that it stops at different stages
and eventually succeeds!
good luck,
Jay
HyperX FURY DDR3 1600 MHz 2x 8GB PC3-12800 Desktop RAM Memory DIMM 240pins 16GB
$20.55
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$25.99
Corsair Vengeance RGB Pro 32GB (4x8GB) DDR4 RAM 3600MHz (CMW32GX4M4D3600C18)
$55.00
HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$31.36
HyperX FURY DDR3 16GB 2x 8GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pins
$18.85
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$25.99
HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin
$31.50
Lot of 10 x 8GB DDR4 Laptop RAM - Samsung, Hynix & More - Tested & Working
$75.00
SGIN 10.1" Tablet Android 13 128GB ROM 4GB RAM WIFI Quad-Core Tablet Dual Camera
$59.99