Re: -Upgrading RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you all for the help.

--- James Olin Oden <joden@xxxxxxxxxxxxxxxxxxxxx>
wrote:
> On Wed, 5 Nov 2003, puneet puri wrote:
> 
> > a) If A-1-1 needs B-1-1 and we want to Upgrade
> only
> > B-1-1  , then would the RPM allow to upgrade B-1-1
> ? 
> >
> It depends on the exact requirement A-1-1 has for
> B-1-1.  For instance:
> 
> 	Requires:  A >= 1-1
> 
> Would be fine, but if it instead:
> 
> 	Requires:  A = 1-1
> 
> Then you would have to update A-1-1 also, as A-1-1
> explicitly requieres
> a specific version (note really should be using
> epochs in these examples).
>  
> > b) If we are not aware of what packages need B-1-1
> can
> > we still simply go ahead and upgrade only B-1-1 ?
> > using the -Upgrade command
> >
> You can find out what is needed by B-1-1, by doing
> the following:
> 
> 	rpm -q B-1-1 --requires
> 
>  
> > For e.g   rpm -Uvh B-2-2.rpm
> >
> If you try and it does not work, then you know (-;. 
> 
> 
> Cheers...james
>  
> > Thanks
> > Puneet
> > 
> > --- James Olin Oden <joden@xxxxxxxxxxxxxxxxxxxxx>
> > wrote:
> > > On Tue, 4 Nov 2003, puneet puri wrote:
> > > 
> > > > a) Can the -U option be used to upgrade a
> > > installed
> > > > package when dependencies( pre-requisite )
> exist
> > > on it
> > > > ?
> > > > 
> > > Yes, but you want to include the the
> prerequisite in
> > > the same transaction.
> > > For instance if rpm A-1-1 is installed, and
> A-1-2
> > > needs B-1-2, you would 
> > > do:
> > > 
> > > 	rpm -Uvh A-1-2.noarch.rpm B-1-2.noarch.rpm
> > > 
> > > > b) Does the Upgrade of an RPM remove the
> already
> > > > existing files if they are not a part of the
> new
> > > RPM ?
> > > > ( or its has to be handled manually using the
> > > > preinstall section of the spec file)
> > > >
> > > Its automatically handled.  An upgrade is an
> > > implicit install followed by 
> > > an implicit erase.  The trick is that it only
> erases
> > > files not belonging 
> > > to the new package.
> > > 
> > > Cheers...james 
> > > > -Thanks
> > > > Puneet
> > > > 
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Protect your identity with Yahoo! Mail
> > > AddressGuard
> > > > http://antispam.yahoo.com/whatsnewfree
> > > > 
> > > > 
> > > >
> _______________________________________________
> > > > Rpm-list mailing list
> > > > Rpm-list@xxxxxxxxxx
> > > >
> https://www.redhat.com/mailman/listinfo/rpm-list
> > > > 
> > > 
> > > 
> > > _______________________________________________
> > > Rpm-list mailing list
> > > Rpm-list@xxxxxxxxxx
> > > https://www.redhat.com/mailman/listinfo/rpm-list
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail
> AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> > 
> > 
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/rpm-list
> > 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux