LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-25-2005, 12:34 AM   #1
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130

Rep: Reputation: 15
question about fc3 "install or remove packages" tool


I just started the "install or remove packages: thing from the 'applications > system settings' menu. I tried to install k3b. i was told that there were a number of dependecy packages I neede to install first.

So the question is:
If I UNinstall a package, will it automatically uninstall anything that package depended on but is no longer needed? I assume that since it wasn't smart enought to aotomatically install necessary dependencies, that it would laso not uninstall unnecessary dependencies.

If it wil not, then I guess I'm not achieving a clean removal. Is there a way that I can find a packages dependencies and remove them if they're no longer neded?

Thanks for any help. My Linux knowledge is next to none, so I really appreciate it.

-Travis
 
Old 07-25-2005, 06:53 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
No, if you uninsall a package, that does not automaticlly uninstall its dependencies. There are ways to remove a package and all of its dependencies using package managers like yum, apt and even rpm.
 
Old 07-25-2005, 03:12 PM   #3
kurtdriver
Member
 
Registered: May 2005
Location: Vancouver, Canada
Distribution: Fedora 18, Puppy Linux, various others
Posts: 107

Rep: Reputation: 15
Travis
I would second the use of yum, which processes dependacies for removal as well as installation To test this, I typed yum remove xmms this is the output:
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xmms.i386 1:1.2.10-16 set to be erased
--> Running transaction check
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
--> Processing Dependency: xmms = 1:1.2.10 for package: xmms-mp3
--> Processing Dependency: xmms for package: xmms-skins
--> Processing Dependency: xmms = 1:1.2.10 for package: xmms-cdread
--> Processing Dependency: libxmms.so.1 for package: xmms-flac
--> Processing Dependency: libxmms.so.1 for package: xmms-mp3
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xmms-skins.noarch 1:1.2.10-15 set to be erased
---> Package xmms-mp3.i386 1:1.2.10-11.1.1.fc3.rf set to be erased
---> Package xmms-cdread.i386 0:0.14-6.a set to be erased
---> Package xmms-flac.i386 0:1.1.2-24 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
xmms i386 1:1.2.10-16 installed 5.2 M
Removing for dependencies:
xmms-cdread i386 0.14-6.a installed 74 k
xmms-flac i386 1.1.2-24 installed 122 k
xmms-mp3 i386 1:1.2.10-11.1.1.fc3.rf installed 174 k
xmms-skins noarch 1:1.2.10-15 installed 2.7 M

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 5 Package(s)
Total download size: 0
Is this ok [y/N]:
To learn more about yum, type: man yum
Happy computing, Kurt
 
Old 07-28-2005, 07:13 PM   #4
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130

Original Poster
Rep: Reputation: 15
okay, thanks to both of you. I'm sorry I took so long to respond. As a linux noob, I only work up the courage to try anything with it very raely, so sometimes it takes me a while to get back.

If I was to use yum, I would probably have to reinstall that package I uninstalled, and then remove it again with yum? Unfortunately, I need the fc3 install disc to install that package again, and I don't have it.

One more question about yum: is it possible for it to remove a dependeciy that is also needed by other programs, thereby making these other programs useless?

thanks again.

Last edited by trempel; 07-28-2005 at 07:50 PM.
 
Old 07-29-2005, 04:17 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If removing a package will affect others, then rpm will let you know and the default action is to prevent the removal of that dependency. Read the rpm manual or take a look at rpm.org for more information.

Last edited by reddazz; 07-29-2005 at 05:49 AM.
 
Old 07-30-2005, 11:22 PM   #6
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130

Original Poster
Rep: Reputation: 15
okay, that's reassuring. Also, I just found a book, "fc3 for dumbies", which includes the fedora distro on DVD, so I should be able to get by for a while.
 
Old 07-31-2005, 04:19 AM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Re: question about fc3 "install or remove packages" tool

Quote:
Originally posted by trempel
I just started the "install or remove packages: thing from the 'applications > system settings' menu.
As a good recommendation, stay away from that application unless you know how to work around its deficiences. It works well for adding/removing package groups right after a fresh installation. But it does not know about online updates or dependencies due to packages installed from online repositories. So, an updated installation can confuse the application to a degree where it complains about packages not being available (because it doesn't know where to get them). This is a known issue and will be improved in a future release of Fedora Core. Meanwhile, use "yum" or one of its graphical front-ends (e.g. yumex or kyum).
 
Old 07-31-2005, 04:38 PM   #8
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130

Original Poster
Rep: Reputation: 15
I've heard a bit about a program called synaptic. is this inferior to yum? I've found a wiki about installing apt and synaptic, but if the general consencus is that yum os better, I won't continue.
 
Old 07-31-2005, 06:01 PM   #9
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
"synaptic" is fundamentally different from Yum, since it is a graphical front-end to Apt-RPM's "apt-get". Apt-RPM in turn is only in Fedora Extras and is not officially supported by the Fedora Project (because Yum and up2date are the preferred package resolvers and because the primary Apt-RPM developer has switched to developing SmartPM), which means there are no official Apt repositories for Fedora Core or Fedora Extras. You can find a few mirrors who are Apt-enabled, though. Apt-RPM doesn't work correctly in x86_64 multilib installations.
 
Old 07-31-2005, 09:40 PM   #10
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130

Original Poster
Rep: Reputation: 15
wel, I just discoverd it's on my computer, after typing rpm -qa | grep apt, it showed synaptic as being installed. Can I use it? I thought it required apt to run? Since apt didn't show up, I probably can't use it. Also, it's not on the application menu.
 
Old 08-01-2005, 05:10 AM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
You probably didn't look close enough and saw "synaptics" not "synaptic" being listed. Synaptic would require at least an apt libraries package, and since apt-get is a command-line program, it won't appear in the menus.

For FC4, "yum install synaptic".
For FC3: http://fedoraproject.org/wiki/Extras/UsingExtras

Apt repository for Core, Extras, Updates, Test Updates and Freshrpms extra packages here: http://ayo.freshrpms.net/fedora/linux/4/i386/
 
  


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
FC4: enhancing fresh install, "must have" packages? TokyoYank Fedora 7 06-02-2006 06:35 AM
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
FC3 halts at "Installing packages" diina Fedora - Installation 4 09-28-2005 07:21 AM
yast "Install and Remove Software" won't start? lnebrown Suse/Novell 19 02-07-2005 08:26 AM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM


All times are GMT -5. The time now is 09:23 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