Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed the 'bootsplash' package using the normal 'apt-get install bootsplash' command, then decided I don't like it. So I tried removing it with 'apt-get remove bootsplash' as per normal, and when I do I get the following (as root):
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
bootsplash bootsplash-theme-deflorist bootsplash-theme-newlinux
0 upgraded, 0 newly installed, 3 to remove and 53 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 2183kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 87476 files and directories currently installed.)
Removing bootsplash-theme-deflorist ...
dpkg: error processing bootsplash-theme-deflorist (--remove):
subprocess pre-removal script returned error exit status 10
Removing bootsplash-theme-newlinux ...
dpkg: error processing bootsplash-theme-newlinux (--remove):
subprocess pre-removal script returned error exit status 10
dpkg: bootsplash: dependency problems, but removing anyway as you request:
bootsplash-theme-newlinux depends on bootsplash (>= 3.0.0).
bootsplash-theme-deflorist depends on bootsplash (>= 3.0.0).
Removing bootsplash ...
update-rc.d: /etc/init.d/bootsplash exists during rc.d purge (continuing)
Errors were encountered while processing:
bootsplash-theme-deflorist
bootsplash-theme-newlinux
E: Sub-process /usr/bin/dpkg returned an error code (1)
...and it doesn't uninstall properly. Why? I get similar messages when trying to reinstall it again. Can anyone help?
The way to fix it is to remove debian and install a distro that makes sense, like Slackware. I had the same problem, no one in debian community could help me, either. Apt-get breaks at the drop of a hat. Then you are in big trouble, as you can't do anything but install from source anyway. You might as well just start with Slack and avoid the headaches and stupid attitudes like in above post.
you should modify the prerm scripts located under
/var/lib/dpkg/info/bootsplash-theme-*.prerm and comment out the
line with db_unregister. after that you should do an apt-get remove
--purge ".*bootsplash.*"
Let me know if this solved it for you, otherwise we'll find your solution
@Slackhack: If you dislike the Debian community that much, stop bothering us with useless posts nobody is waiting for.
Thanks powadha, I did try that and it worked. I found the solution after a LOT of searching and it was the same one you just suggested. I probably should have posted my solution but I didn't get around to it...
The problem seems to be with the install/remove scripts in bootsplash, and not with apt-get as slackass seems to suggest... although I do happen to like slackware too.
@Slackhack: If you dislike the Debian community that much, stop bothering us with useless posts nobody is waiting for.
Funny how you say that to me after I offer constructive advice, but you don't say it to mrcheeks for his very "useful" post making fun of the first person that sat there for weeks without anyone saying anything.
That just proves to me how illogical and nasty the debian people are. One person makes fun of the original poster and no one says anything, then weeks later another person is attacked for offering some advice. You would never get that kind of response in the Slack forums. It seems like the only way to get help for weeks in debian is for someone to say something about debian.
As far as I know this is a public forum though, so as long as no one here offers anyone any help or suggestions for weeks, I will feel free to suggest they try Slackware, where they are 99% sure to get lots of help and no nasty attitudes.
First off, telling somebody to throw away there current distribution and install another one for a problem with such a simple solution is NOT constructive advice. Those kind of posts usually serve as nothing more then an annoyance to the person asking the question.
Secondly, both Slackhack and MrCheeks posts are equally worthless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.