removing package with unmet dependencies in Sarge
I've done this very stupid thing in my Sarge :rolleyes: . 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: Code:
< export DEBIAN_FRONTEND; apt-get install --yes 'libgd2' ;echo RESULT=$? 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) |
You should modify the prerm scripts located under /var/lib/dpkg/info bootsplash-theme-*.prerm and comment out the line with db_unregister. Do this for each installed theme if applicable. After that you should do an apt-get remove --purge ".*bootsplash.*" to remove all bootsplash related packages.
|
Well OK, now I can remove bootsplash packages so they won't cause any conflicts, but after removing them I can't install them again on the system. When I try to do that I get:
<splash' 'bootsplash-theme-newlinux' ;echo RESULT=$? Reading Package Lists... Done Building Dependency Tree... Done Suggested packages: kernel-patch-bootsplash Recommended packages: sysv-rc-bootsplash The following NEW packages will be installed: bootsplash bootsplash-theme-newlinux 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/1094kB of archives. After unpacking 2036kB of additional disk space will be used. Setting up bootsplash-theme-newlinux (0.5-5) ...nfiguring packages ... bootsplash failed to preconfigure, with exit status 10 Selecting previously deselected package bootsplash-theme-newlinux. (Reading database ... 81951 files and directories currently installed.) Unpacking bootsplash-theme-newlinux (from .../bootsplash-theme-newlinux_0.5-5_all.deb) ... Selecting previously deselected package bootsplash. Unpacking bootsplash (from .../bootsplash_3.1-11_i386.deb) ... dpkg: error processing bootsplash-theme-newlinux (--configure): subprocess post-installation script returned error exit status 10 dpkg: dependency problems prevent configuration of bootsplash: bootsplash depends on bootsplash-theme-newlinux | bootsplash-theme; however: Package bootsplash-theme-newlinux is not configured yet. Package bootsplash-theme is not installed. Package bootsplash-theme-debian3 which provides bootsplash-theme is not installed. Package bootsplash-theme-debian2 which provides bootsplash-theme is not installed. Package bootsplash-theme-newlinux which provides bootsplash-theme is not configured yet. Package bootsplash-theme-debian-tux which provides bootsplash-theme is not installed. Package bootsplash-theme-debian-sarge which provides bootsplash-theme is not installed. Package bootsplash-theme-debian which provides bootsplash-theme is not installed. Package bootsplash-theme-debian-tux-gnulinex which provides bootsplash-theme is not installed. Package bootsplash-theme-debian-wave which provides bootsplash-theme is not installed. dpkg: error processing bootsplash (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: bootsplash-theme-newlinux bootsplash E: Sub-process /usr/bin/dpkg returned an error code (1) RESULT=10 |
tks for the tip Xian. This save my day!
|
I have also the same problem as killy9000 to install the themes again.
Greetings Hendrik |
I have the same problem as the two other posters about reinstall bootsplashes again.
|
Heres the solution.
Open a teminal and as root Code:
rm /var/lib/dpkg/info/bootsplash* Code:
kwrite /var/cache/debconf/config.dat Code:
kwrite /var/cache/debconf/templates.dat Now you can reinstall and everyhing will be right as rain. |
All times are GMT -5. The time now is 09:24 PM. |