LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-24-2009, 03:10 PM   #1
allele
Member
 
Registered: May 2009
Posts: 42

Rep: Reputation: 16
yum and packagekit - list installed packages and dependencies


In Fedora 11, does yum keep track of packages added by the Add/Remove Software tool (is this PackageKit?) and vice versa? What about applications not in the yum repository that I install myself do I have to keep track of those?

If I uninstall a package which had dependencies installed specifically for it, are the dependencies removed as well?
 
Old 06-24-2009, 03:24 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
PackageKit is a front end.. in fedora it uses Yum as the backend..

http://packagekit.org/pk-faq.html




http://www.phy.duke.edu/~rgb/General..._HOWTO-11.html

Quote:
Deleting Packages with Yum

One should always exercise care when removing packages. This is because of dependencies - if you remove a package upon which other installed packages depend (to use a shared library, read a configuration file, even invoke a binary) then those packages are left "dangling" and will be left in a partly or completely dysfunctional state. Yum will try to help you avoid possibly devastating side effects associated with package removal, but as is always the case with something like this, it does require that the user think carefully when using it. It is therefore most unwise to use yum non-interactively when removing packages.

Since it is yum's basic design philosophy to never leave the system in an inconsistent/broken state (yum contains no support for --force -like options) if you ask yum to remove a package, it will insist on also removing all packages that depend on that package.


I do not have an answer on manually installed packages.
 
Old 06-24-2009, 03:31 PM   #3
lukeiamyourfather
Member
 
Registered: Jul 2007
Distribution: Ubuntu, LFS, Fedora
Posts: 30

Rep: Reputation: 15
Yes, yes, I think so, and no.

The Add/Remove Software tool is a Gnome app that manages yum and apt repositories. So it and yum will mirror each other.

As for those that you install yourself, I am 90% sure RPMs you install yourself don't show up in the tool or yum, as I can't find them in there. So, yes, you do have to keep track of them.

Also, if you uninstall a package that had dependencies specifically for it, you have to track those other packages down and uninstall them manually.

Hope I helped.
Chris
 
  


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
updating yum packages list bakhanbeigi Linux - Networking 3 08-24-2008 01:47 AM
Is there a list of all installed packages? AgentD Slackware 6 05-28-2008 01:36 AM
Sources list and Packages dependencies varaonsite Debian 2 07-31-2006 04:43 PM
failed dependencies to installed packages?? mandrakemikael Linux - Newbie 1 09-10-2004 04:26 PM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration