[SOLVED] Having a problem since I filled up / and tried to uninstall trinity-kde.
DebianThis forum is for the discussion of Debian Linux.
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.
Having a problem since I filled up / and tried to uninstall trinity-kde.
TL;DR Tried removing trinity-kde and it got hung up at removing ksmserver-trinity and dpkg gave me "error code 1." Haven't logged out yet so I'm not sure if my x-session is broken or not but I'm thinking it might be. Don't want to do anything until I fix this error. **EDIT** I should mention, I use openbox on it's own primarily.
This all actually started when I tried to install java 8 from this debian compatible ppa and ran out of space on / and did the usual, apt-get clean, removing no longer needed packages, etc. That "removing packages" part is what got me in to trouble.
I forgot I had trinity installed to test it out for a friend. I don't need that, so I tried to get rid of it with "apt-get --purge remove trinity*" thinking it'd go off with out a hitch. This is the output from removing trinity
It got hung up at ksmserver-trinity. I ran apt-get --purge remove trinity* again hoping it'd clear out the ksmserver but all that happened was this which has some dpkg error and mentioned x-session-manager is broken. It was here that I checked my disk usage, and seeing that I had room finished installing java. I don't know if that's relevant, but figured I'd keep all things that happened in order. After this I tried explicitly removing ksmserver-trinity with apt-get remove ksmserver-trinity but that failed again, so I did apt-get check. It told me of some unmet dependencies with ksmserver (go figure) and to run apt-get -f install. I didn't want to but I tried it, and got this.
I am really stuck here. Can anyone tell me what's going on and/or help me fix it?
Use / to enter a search string, n to cycle through the results and b to find broken packages. It'll give you several solutions to fix the broken state, use the e, , and . keys to investigate each and ! to confirm your chosen solution. When you've selected a solution, cycle through the various packages marked for removal and mark them individually for purging. (press g exactly once, mark for purging, then press g again)
Use / to enter a search string, n to cycle through the results and b to find broken packages. It'll give you several solutions to fix the broken state, use the e, , and . keys to investigate each and ! to confirm your chosen solution. When you've selected a solution, cycle through the various packages marked for removal and mark them individually for purging. (press g exactly once, mark for purging, then press g again)
PS: next time you want to purge stuff, use
Code:
apt-get --purge <package>
not "--purge remove"
I actually thought --purge remove was the only way. Thanks.
So I followed your instructions, but got stuck at the "n" command. I didn't do anything. b e , and . didn't do anything either. Aptitude is a completely new interface for me, I never used it at all since I've been using debian based systems. When I typed in "ksmserver" it pulled up the package no problem, with a "Bp" next to it. When I selected the package and hit enter, I didn't see anything about repair options or anything other than dependencies (3 of which are listed as unavailable). So now what...?
---------- Post added 2014-07-14 at 02:02 ----------
Quote:
Originally Posted by Didier Spaier
Sorry to answer as I'm not a Debian user but... Isn't / still full or near full? Of course df can tell that.
It isn't still full. I cleared out the cache that apt had and that freed up about 12% (I'm only running about a 10Gb / part).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.