[CentOS] Yum curiosity: --obsoletes with update, useful or not?

Johnny Hughes mailing-lists at hughesjr.com
Fri Apr 28 15:30:52 UTC 2006


On Thu, 2006-04-27 at 09:29 -0400, William L. Maltby wrote:
> On Thu, 2006-04-27 at 14:12 +0100, Karanbir Singh wrote:
> > William L. Maltby wrote:
> > ><snip>
> 
> > >        If the --obsoletes flag is present yum will include package
> > >        obsoletes in its calculations - this  makes it better for distro-
> > >        version changes, for example: upgrading from somelinux 8.0 to
> > >        somelinux 9.
> > > 
> > > Hmmm. Cell number 2 doesn't forget much. I recall several admonitions
> > > that major upgrade should take the form of a new install. E.g. CentOS 3*
> > > to CentOS 4*. The paragraph above *seems* to indicate that a major
> > > upgrade might be doable? Moreover, it prompts the questions:
> > > 
> > > 1) "What are the downsides, if any?"
> > > 2) "Has anybody tried it recently?"
> > > 3) "Have any results to report?"
> > > 
> > > No pressing need, just curious.
> > > 
> > 
> > yum will upgrade pkgs, but not all pkgs like that - eg. moving from
> > kernel2.4 to 2.6 the 'centos way' - moving from devfs to udev, major
> > python + rpm upgrade in itself.
> > 
> > check list history from early 2005, this move from centos3 -> centos4
> > was documented and thrashed out a few times.
> > 
> > plus, packages change - not everything from el3 made it to el4 - and
> > what about non core installed pkgs and install from source pkgs!
> 
> Thanks for taking the time. I had forgotten about those. I was mostly
> hoping that use of plugins, yum improvements... might have resolved some
> of the issues and maybe someone had tried more recently.

NOPE ... one should NEVER (IMHO) upgrade from EL3 to EL4 ... Even using
the CDs and "linux upgradeany" is not really recommended.

See this link:
http://www.centos.org/modules/smartfaq/faq.php?faqid=27
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060428/6fbb1116/attachment.sig>


More information about the CentOS mailing list