LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-01-2005, 08:33 AM   #1
killy9999
Member
 
Registered: Feb 2005
Location: Poland
Distribution: openSUSE 11.3/11.4 x64
Posts: 114

Rep: Reputation: 15
removing package with unmet dependencies in Sarge


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:

Code:
< 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).
RESULT=100
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)

Last edited by killy9999; 07-01-2005 at 08:58 AM.
 
Old 07-01-2005, 06:57 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
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.
 
Old 07-02-2005, 03:43 AM   #3
killy9999
Member
 
Registered: Feb 2005
Location: Poland
Distribution: openSUSE 11.3/11.4 x64
Posts: 114

Original Poster
Rep: Reputation: 15
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
 
Old 07-27-2005, 03:30 PM   #4
cleberadriani
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
tks for the tip Xian. This save my day!
 
Old 08-19-2005, 05:28 PM   #5
hwouters
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
I have also the same problem as killy9000 to install the themes again.

Greetings Hendrik
 
Old 09-07-2005, 10:49 PM   #6
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
I have the same problem as the two other posters about reinstall bootsplashes again.
 
Old 09-08-2005, 01:42 PM   #7
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Heres the solution.

Open a teminal and as root
Code:
rm /var/lib/dpkg/info/bootsplash*
Then edit these two files :
Code:
kwrite /var/cache/debconf/config.dat
and
Code:
kwrite /var/cache/debconf/templates.dat
Remove all entries related to bootsplash.

Now you can reinstall and everyhing will be right as rain.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get unmet dependencies, etc. knappster Linux - Software 13 12-14-2005 11:06 PM
unmet dependencies kpachopoulos Debian 3 11-23-2005 11:35 AM
apt-get unmet dependencies jeffbarish Debian 9 10-27-2005 01:19 AM
...packages have unmet dependencies? stribas Linux - Newbie 1 09-29-2004 10:55 AM
Video-DVDRip has unmet dependencies... GreenerLinux Mandriva 9 12-23-2003 03:32 AM


All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration