The easiest way to fix your problem (unless you know vi), is to reflash the ROM.
I STRONGLY recommend that you DO NOT start deleting directories like /usr/lib/ipkg. You will remove all your package data and most likely will want to reflash the ROM.
For your edification the UNIX approximation of deltree would be 'rm -rf'.
The problem you are having is a common occurance with ipkg. Since Cacko uses the same package manager as the Sharp ROM you will have the same luck there. This problem usually occurs by an error in one of the /usr/lib/ipkg/lists/* files for a package or you may have an erroroneous entry in /usr/lib/ipkg/status. My recommendation would be to edit the /usr/lib/ipkg/status file with vi. From the Konsole run:
sudo su -
vi /usr/lib/ipkg/status
Look for any partially installed entries at the bottom of the file and remove them.
A normal entry will look like this:
Package: FBReader
Status: install ok installed
Root: /
Version: 0.5-1
A bad entry should have an error status. If you are not familiar with vi it will be quite painful.
You may also want to look at a thread on this same subject:
https://www.oesf.org/forums/index.php?showtopic=7124Oh, and you can fix your problem with not being able to install to SD cards, by removing the /mnt/card/QtPalmtop directory from the SD card. This will DELETE any apps that you have installed to SD card, but you will now be able to install to SD.
If you are looking for a decent text editor try zeditor. It is in the Cacko feed.
I can assure you that the UNIX command line is quite powerful once you learn it. I've used both Wintel/DOS and various UNIX flavors professionally for many years. One of the best things about UNIX is the powerful command line. Learn it and you will love it.
Hope this helps.