LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-16-2007, 08:15 AM   #1
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
Yum package removal


I have FC7_64 installed and I was wondering if there is any way to tell yum to remove the i386 version of various packages? It was always want to remove both versions.

Keith
 
Old 12-16-2007, 08:41 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, but one needs to be extremely careful or you will kill your system, it is better to use rpm for this;

rpm -e packagename.i386 --test

Keep expanding this until you have no more dependency errors then remove the test (--test) switch. Once again be very careful, some 32-bit packages are needed depending on what is installed. For example you will need the 32-bit packages required for say the flash-plugin and Adobe reader.
 
Old 12-16-2007, 09:37 AM   #3
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
I am mainly looking to remove a lot of the i386 devel packages. Now with rpm, if I try to remove a package that has dependancies it should not remove the package and list the dependancies right?

Keith
 
Old 12-16-2007, 12:48 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You still should use rpm for removing the devel packages, some are important and some are needed if you are building your own packages. The kernel-devel rpm packages are useful for many so it would be a good idea not to remove this package.

In general it is OK to remove the devel packages and their dependent devel rpm packages, one can use either yum or rpm for this, just be careful not to remove any wanted/ needed packages. Example yum command;

yum remove foo-devel.i386

Yes, if you attempt to remove a package or packages that has dependencies it will not remove the package and will list what is dependent on the package(s).
 
  


Reply



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
yum - Package Conflicts revof11 Fedora 5 04-24-2007 06:28 AM
forced removal of a package n8flieg Ubuntu 2 02-20-2007 07:05 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM
need guidence on indivisual package removal and download accelerator corelover Fedora 14 03-08-2005 10:46 AM
Diskset package removal PDock Slackware 0 08-10-2004 08:02 AM

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

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