I've done this very stupid thing in my Sarge
. I've installed bootsplash package from:
deb .bootsplash.de/files/debian unstable main
deb-src .bootsplash.de/files/debian unstable main
then installed some themes and then I decided to uninstall all themes and to install only the one I liked the most. But bootsplash depends on bootsplash-theme-newlinux... which I also removed. So I tried to install newlinux theme and debian-mist theme again, and now there's quite a problem:
1. bootsplash is "install ok half-configured"
2. bootsplash-theme-newlinux and bootsplash-theme-debian-mist are "purge ok installed"
bootsplash can't be reconfigured, removed or installed, theme packages also can't be removed. I get an error about unmet dependencies. I tried using dselect, KPackage, apt-get -f install, dpkg-reconfigure bootsplash, dpkg --purge bootsplash, dpkg --purge bootsplash-theme-debian-mist and all the time I get errors from pre-removal scripts. I also can't install anything, couse all the time I get sth like this:
< export DEBIAN_FRONTEND; apt-get install --yes 'libgd2' ;echo RESULT=$?
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bootsplash-theme-debian-mist: Depends: bootsplash (>= 3.0.0) but it is not installable
bootsplash-theme-newlinux: Depends: bootsplash (>= 3.0.0) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
It seems as if the only way to fix this is to remove these packages manualy, but I don't know how.
EDIT: Ok, a little update. It seems that I can remove bootsplash (although it gives me errors), but I can't remove theme packages. When I try to install bootsplash again I get errors from pre-instalation and post-instalation scripts (error code: 10)