LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-04-2009, 10:25 PM   #1
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Rep: Reputation: 15
finding depencies


ok so i would like to know in fedora is there a standard way of finding a packages dependency so you can erase it. ive used bash ie. tab twice found packages but when i use yum erase it says no packages availble. so is there any easy way of erasing the packages you dont want
 
Old 05-04-2009, 11:12 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If the package was installed via yum (or rpm), then yes yum can remove the package that way. If it was installed via make install or as a bin then no yum cannot remove it. It would help if you listed a real example.
 
Old 05-04-2009, 11:50 PM   #3
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
oh sry um, like i want to get rid of kopete instant messenger. but when i use "yum erase kopete" then it says package not installed. but it is because i use it and it shows up when use bash

Last edited by SSJGoku; 05-04-2009 at 11:51 PM.
 
Old 05-05-2009, 12:04 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
How did you install it?

It looks like it is part of kde:

Quote:
kdenetwork-3.5.4-8.el5.x86_64 : K Desktop Environment - Network Applications
Matched from:
Filename : /usr/bin/kopete

Last edited by lazlow; 05-05-2009 at 12:07 AM.
 
Old 05-05-2009, 12:09 AM   #5
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
either the package manager or yum, don't really remember. But how do you find the main package that it came from or its dependencies.
sry im a bit new to all this
 
Old 05-05-2009, 01:51 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
As I said above use 'yum provides whatever'. In this case yum provides */kopete. Which (on my system) shows that it comes from the kdenetwork package(as noted above).
 
Old 05-05-2009, 01:55 AM   #7
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
sry im tired didnt see that lol. anyways so theres no way of getting rid of certain packages that come with kde by default, without getting rid of KDE. thanks for the trouble
 
Old 05-05-2009, 02:06 AM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You can just remove kdenetwork which will take kopete with it. It should not remove kde itself.
 
Old 05-05-2009, 02:17 AM   #9
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
i tried that though and it made my entire KDE environment invisible except for the windows i had up, i reinstalled it and logged out and it was fine. Although i had to reinstall flash and stuff because apparently that got erased.

is this supposed to happen or do i have a bug on my system
 
Old 05-05-2009, 02:59 AM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Assuming you used yum: it tells you exactly what it is going to remove before it removes it and ask y/n. You should always look to see what is being removed.

It will depend on how the rpms were built. If KDE-base required kdenetwork as a dependency then it will be removed with it. On my system Centos/RHEL5.3 it did not.
 
Old 05-05-2009, 03:05 AM   #11
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
ok thanks for the tip
anyways here is what it gave me

[Sloan@Nexus ~]$ su
Password:
[root@Nexus Sloan]# yum erase kdenetwork
Loaded plugins: fastestmirror, refresh-packagekit, tmprepo
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package kdenetwork.i386 7:4.2.2-1.fc10 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== ==
Package Arch Version Repository Size
==================================================================================================== ==
Removing:
kdenetwork i386 7:4.2.2-1.fc10 installed 16 M

Transaction Summary
==================================================================================================== ==
Install 0 Package(s)
Update 0 Package(s)
Remove 1 Package(s)

Is this ok [y/n]

this is all that will be removed. KDE base isnt in there as a dependecy
 
  


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
xmms depencies SBN Linux - General 1 02-05-2008 05:43 PM
Mplayer library depencies red_hax0r Linux - Software 6 07-03-2006 12:44 AM
mplayerplug-in 2.66 - failed depencies Micro420 Linux - Software 2 08-07-2004 04:59 PM
finding rpm depencies nakkaya Linux - Software 3 04-19-2003 11:41 PM
depencies what for :) tricky nakkaya Linux - General 3 02-19-2003 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration