www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Tell yum that a package is installed
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Red Hat Forum  
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Tue Aug 26, 2008 11:36 pm    Post subject: Tell yum that a package is installed Reply with quote

I just built and installed iptables from source, and now I want to use
yum to install some other packages that depend on iptables. But yum
doesn't recognize that iptables is already installed, and it's wants
to install over it. Is there a way I can force yum to know it's
already there?

Thanks,
-Brian
Back to top
Allen Kistler
Guest






PostPosted: Wed Aug 27, 2008 5:06 am    Post subject: Re: Tell yum that a package is installed Reply with quote

mearns.b@gmail.com wrote:
Quote:
I just built and installed iptables from source, and now I want to use
yum to install some other packages that depend on iptables. But yum
doesn't recognize that iptables is already installed, and it's wants
to install over it. Is there a way I can force yum to know it's
already there?

1. Build iptables into an rpm and install the rpm (recommended)
2. Use rpm to install your other package and force nodeps

Ignoring dependencies is exactly contrary to the philosophy of yum, so
there's nothing you can do with yum that will change that, unless you
hack yum itself or, maybe, write a plugin.
Back to top
Guest







PostPosted: Wed Aug 27, 2008 12:28 pm    Post subject: Re: Tell yum that a package is installed Reply with quote

Thanks, Allen. I'll look into your suggestion; I've be wanting to
learn how to create an rpm anyway.

-Brian
Back to top
noi ance
Guest






PostPosted: Thu Aug 28, 2008 12:02 am    Post subject: Re: Tell yum that a package is installed Reply with quote

On Wed, 27 Aug 2008 05:28:59 -0700, mearns.b typed this message:

Quote:
Thanks, Allen. I'll look into your suggestion; I've be wanting to learn
how to create an rpm anyway.

-Brian

I think there is an option -t for tolerate command line errors, and a
yum plugin yum-skip-broken for a yum --skip-broken install

Worse case rpm --nodeps -Uhv
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Red Hat Forum  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum