LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2005, 04:43 PM   #1
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Rep: Reputation: 31
kde dependencies


Fast little question :

When uninstalling some apps, like amarok, dependencies are not removed, had to do that manually.

After installing kde games I decided to uninstall it, but wait, it wants take the whole kde with it ?

How do I get around this ?


I'm on Debian


btw : I of course understand that if I removed kde, then kdegames wouldn't need to be there anymore, but the other way around ? this one struck me by suprise..
 
Old 11-24-2005, 04:56 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
You are using apt to do this? Can you post the message it gives you when running apt-get remove kde-games...
 
Old 11-24-2005, 04:59 PM   #3
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Original Poster
Rep: Reputation: 31
output from apt-get :

sar:/home/happyhd# apt-get remove -s kdegames
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
kde kde-amusements kdegames
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Remv kde [5:45]
Remv kde-amusements [5:45]
Remv kdegames [4:3.4.2-1]
sar:/home/happyhd#
 
Old 11-24-2005, 05:06 PM   #4
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Debian terminology is "install" and "remove."

It would be helpful for you to include the commands you used. You definitely should consult the APT How To:
http://www.debian.org/doc/manuals/ap.../index.en.html

It would also make sense to post Debian-specific questions in Debian, though you may get attention here quicker.

Here's how I would do it if I were unsure:

First, I check out the package.
Code:
$ apt-cache policy kdegames
kdegames:
  Installed: 4:3.3.2-1
  Candidate: 4:3.4.2-1
  Version Table:
     4:3.4.2-1 0
        990 ftp://debian.ethz.ch testing/main Packages
 *** 4:3.3.2-1 0
        500 cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 ( 20050607)] unstable/main Packages
        500 ftp://debian.ethz.ch stable/main Packages
        100 /var/lib/dpkg/status
Next, I would test it, using the -s switch to simulate the removal. (Done as root.)
Code:
# apt-get -s remove kdegames
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  kde kde-amusements kdegames
0 upgraded, 0 newly installed, 3 to remove and 794 not upgraded.
Remv kde (5:45 Debian:testing)
Remv kde-amusements (5:45 Debian:testing)
Remv kdegames (4:3.4.2-1 Debian:testing)
Notice it didn't actually start removing anything, or asking me if I'm sure, it just simulated the process.

Sure enough, it wants to remove kde, not sure why. Obviously KDE the desktop environment does not depend on kdegames. However, keep in mind that the package kde is more than the core of KDE. In fact, there is a package called kde-core. Try this:

$ apt-cache show kde-core

I realize I'm not offering a definitive answer here, I don't have enough experience with the rather complex package that KDE is...
 
Old 11-24-2005, 05:08 PM   #5
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Looks like I was just a little too long with my answer.

I'll interested to see what a good answer is.
 
Old 11-24-2005, 05:11 PM   #6
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Original Poster
Rep: Reputation: 31
lol

but thanks man ! replies are appreciated.

I've cruised man pages without success so far..
 
Old 11-24-2005, 05:23 PM   #7
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
In your place I would
a) leave the games for a rainy day, or
b) do a quick Google on kde dependencies in Debian packaging

I don't think the man pages will say anything about package dependencies.
 
Old 11-24-2005, 05:23 PM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Ok, I think figured it out...

Have a look at this page:
http://packages.debian.org/stable/kde/kde

So 'kde' is a meta package that installs _all_ the major kde packages.
When apt says it is removing 'kde' it is just saying that you no longer want all of them.

It am not sure if this will actually remove all the kde packages (forcing you to install them again individually), or just let apt know that you want to deal with the packages separately...
 
Old 11-24-2005, 05:28 PM   #9
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
This is what I was hinting at.

For kicks, you could just go ahead and apt-get remove kdegames, and let it remove whatever it wants. I'd be more than willing to bet that KDE will still be on your box. Right after the remove, give in "apt-cache policy kde-core".

If KDE gets screwed, you can always just reinstall it -- that's the nice thing about Debian. I don't know whether it keeps profiles stored, probably so if you don't do a purge remove.
 
Old 11-24-2005, 05:39 PM   #10
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Original Poster
Rep: Reputation: 31
You know what ? I'll just dive into it ! Live and learn..

I'll post back here to everybodys learning (hopefully not amusement)

Thanks for the fast replies ppl !
 
Old 11-24-2005, 05:43 PM   #11
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
I have KDE installed but it's not my main DE, so I tried it with you. Sure enough, it left KDE intact. Unfortunately, since I've installed KDE I've added a testing to my sources.lst, so it now wants to add a whole huge list of new packages and download for 20 minutes. lol

I'll do it tomorrow, case closed.
 
Old 11-24-2005, 06:16 PM   #12
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Original Poster
Rep: Reputation: 31
Yup! I tested it too, kde still intact !

well, that's one thing less to think about
 
  


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
unmet dependencies after kde upgrade esteeven Debian 3 09-30-2005 02:31 PM
Dependencies blues with KDE 3.4 mebrelith Linux - Software 1 03-19-2005 12:12 PM
Failed dependencies in KDE Kpackage. sxa Linux - Software 5 08-31-2004 10:21 PM
Upgrading to KDE-3.2.2, getting around dependencies mikeyt_333 Linux - Software 6 06-05-2004 03:01 AM
Trouble with KDE 3.2 (QT Dependencies) edawad Fedora 7 02-10-2004 07:30 PM


All times are GMT -5. The time now is 07:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration