LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-12-2014, 06:21 PM   #1
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Rep: Reputation: 3
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?

Last edited by slacker_; 07-12-2014 at 07:51 PM.
 
Old 07-13-2014, 02:36 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Sorry to answer as I'm not a Debian user but... Isn't / still full or near full? Of course df can tell that.
 
Old 07-13-2014, 04:18 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Try aptitude interactively:
Code:
aptitude
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"
 
Old 07-14-2014, 01:02 AM   #4
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Dutch Master View Post
Try aptitude interactively:
Code:
aptitude
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 View Post
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).
 
Old 07-14-2014, 07:32 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

it seems the problem is that the alternatives are broken. From checking the update-alternatives man page you might be able tofix them with:
Code:
 yes '' | update-alternatives --force --all
If this fails with some errror, please post it here.

If it works try to remove the trinity packages again.

Evo2.
 
Old 07-21-2014, 05:48 AM   #6
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Wound up getting it working with a very similar solution to evo2. Thanks for all the help everyone!
 
  


Reply

Tags
apt-get, debian, purge, trinity



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
Trinity (KDE) 3.5.12 Woodsman Slackware 84 04-30-2020 06:22 AM
KDE Trinity is good newbiesforever LinuxQuestions.org Member Success Stories 6 03-02-2013 11:21 PM
Using KDE or Trinity in Xephyr Raevyn Linux - Desktop 2 01-31-2012 08:45 PM
where are the KDE Trinity repositories? newbiesforever Linux - General 22 01-11-2012 12:03 AM
LXer: Trinity KDE: KDE 3 Zombified or Resurrected? LXer Syndicated Linux News 0 06-30-2010 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04: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
Open Source Consulting | Domain Registration