[rhn-users] Upgrade 9.0 to RHEL 3.0

Knutsen, Mark Mark.Knutsen at nasdaq.com
Wed Dec 29 21:31:47 UTC 2004


Here's a nifty trick I just learned: if you ever did what Red Hat tells
you not to and upgraded from RHL9 (or prior) to RHEL3 (by using the
instructions below, for example), try this as root:

  rpm --verify --all --nofiles

For any lines of the form, "Unsatisfied dependencies for package-name:
...", the named package is probably a leftover from the earlier RHL and
may be safely removed (rpm -e package-name). You may verify this by
first searching for package-name in the RHEL3 channel at rhn.redhat.com.
If the package no longer exists in RHEL, get rid of it.

Because I just did this myself on my former RHL9 system, I probably
won't be reporting any more dependency problems like below in the
future.

> -----Original Message-----
> From: rhn-users-bounces at redhat.com
[mailto:rhn-users-bounces at redhat.com]
> On Behalf Of Knutsen, Mark
> Sent: Tuesday, December 28, 2004 9:55 AM
> To: Red Hat Network Users List
> Subject: RE: [rhn-users] Upgrade 9.0 to RHEL 3.0
> 
> The RHEL3 U4 updates produced one dependency problem with a leftover
> package from RHL9. To fix, do:
> 
>   rpm -e libxslt-python
> 
> before running up2date.
> 
> See below for the rest of the packages you should remove from a RHL9
> system before attempting an upgrade:
> 
> > -----Original Message-----
> > From: rhn-users-bounces at redhat.com
> [mailto:rhn-users-bounces at redhat.com]
> > On Behalf Of Knutsen, Mark
> > Sent: Friday, October 01, 2004 9:28 AM
> > To: Red Hat Network Users List
> > Subject: RE: [rhn-users] Upgrade 9.0 to RHEL 3.0
> >
> > Today's new ruby packages cause a dependency problem with two
packages
> > left over from RHL9. To fix, do:
> >
> >   rpm -e irb ruby-tcltk
> >
> > before running up2date.
> >
> > New alphabetized list of RHL9 packages to remove before attempting
> > RHL9 -> RHEL3 WS upgrade:
> >
> >   ddskk-xemacs desktop-printing galeon glibc-debug irb jdkgcj
koffice
> >   krb5-server mozilla-devel openssl-perl php-devel php-manual
php-snmp
> >   pwlib-devel qt-ODBC qt-PostgreSQL qtcups ruby-tcltk subversion
> >   subversion-devel
> >
> > ...and don't forget to remove old redhat-release and install new
> > redhat-release-3WS after the upgrade! See Step 4 below:
> >
> > -----Original Message-----
> > From: rhn-users-bounces at redhat.com
> [mailto:rhn-users-bounces at redhat.com]
> > On Behalf Of Knutsen, Mark
> > Sent: Tuesday, July 06, 2004 1:56 PM
> > To: Red Hat Network Users List
> > Subject: RE: [rhn-users] Upgrade 9.0 to RHEL 3.0
> >
> > This just in: Libraries in the new RHEL3 "httpd-" and
> > "httpd-devel-2.0.46-32.ent.3" packages conflict with those from
> > "subversion" and "subversion-devel" in RHL9, so add these to the
list
> of
> > packages to remove before upgrading if you want the later up2date to
> > succeed:
> >
> >   subversion subversion-devel
> >
> > This sort of thing happens periodically as Red Hat updates packages.
> > Conflicts are created with packages that used to exist in RHL9 and
no
> > longer exist in RHEL3 (at least not in the WS version that I use).
The
> > simple fix is to remove the older packages.
> >
> > Of course, if you really need Subversion (or Koffice, or Galeon,
etc.)
> > you'll either need to --force something, find a third-party package
> that
> > doesn't conflict, or compile from source.
> >
> > > -----Original Message-----
> > > From: rhn-users-bounces at redhat.com
> > > [mailto:rhn-users-bounces at redhat.com]On Behalf Of Knutsen, Mark
> > > Sent: Tuesday, July 06, 2004 10:18 AM
> > > To: Red Hat Network Users List
> > > Subject: RE: [rhn-users] Upgrade 9.0 to RHEL 3.0
> > >
> > >
> > > True, but I've been led to believe that "avoiding use of
> > > unnecessary --force" (sorry) is desirable.
> > >
> > > Note that in a followup I fixed duplicate package names in step 1.
> > > I think this is a minimal list of RHL9 packages that need to
> > > be removed before the upgrade:
> > >
> > >    rpm -e openssl-perl pwlib-devel krb5-server php-manual
> > >           mozilla-devel galeon koffice qtcups desktop-printing
> > >           ddskk-xemacs
> > >
> > > Also, there is no Step 5. It's intentionally left blank.
> > > I used to work for IBM ;-)
> > >
> > > > -----Original Message-----
> > > > From: rhn-users-bounces at redhat.com
> > > > [mailto:rhn-users-bounces at redhat.com]On Behalf Of Dan Wittenberg
> > > > Sent: Friday, July 02, 2004 6:27 PM
> > > > To: Red Hat Network Users List
> > > > Subject: RE: [rhn-users] Upgrade 9.0 to RHEL 3.0
> > > >
> > > >
> > > > This appears to be basically the same, except instead of
> > > doing a force
> > > > to over-write the redhat-release you just remove/install.
> > > Should work
> > > > the same either way unless I missed something else.
> > > >
> > > > Dan
> > > >
> > > > On Fri, 2004-07-02 at 10:27, Knutsen, Mark wrote:
> > > > > OK, I've been putting off posting this way too long...
> > > > >
> > > > > Here's an alternative procedure I developed for upgrading
> > > > to RHEL3 WS U2. This doesn't require use of the RPM "--force"
> > > > parameter, so it's probably safer than that method in the
> archives.
> > > > >
> > > > > 1) Prior to upgrade, remove packages that will cause
> > > > dependency problems. This command is one long line:
> > > > >
> > > > >    rpm -e openssl-perl pwlib-devel krb5-server php-manual
> > > > mozilla-devel
> > > > >           galeon koffice krb5-server php-manual
> > > > mozilla-devel galeon cups
> > > > >           redhat-lsb qtcups desktop-printing ddskk-xemacs
> > > > >
> > > > > I have a longer list of packages from earlier Red Hat
> > > > versions, but I think this will suffice for RHL9. It may not
> > > > work with systems that have been upgraded to RHL9 from
> > > > earlier Red Hat releases.
> > > > >
> > > > > 2) Perform upgrade by typing "linux upgradeany" after
> > > booting CD #1.
> > > > >
> > > > > 3) Your first boot after the upgrade should be to
> > > > single-user mode. Via GRUB, hit "e" to edit boot entry,
> > > > highlight "kernel" line and hit "e" again, add the word "
> > > > single" to the end of the line, hit Enter, hit "b". Don't
> > > > worry, this is a one-time change.
> > > > >
> > > > > 4) The redhat-release package has changed names. Pop in CD #1
> and:
> > > > >
> > > > >    mount /mnt/cdrom
> > > > >    rpm -e redhat-release
> > > > >    rpm -ivh /mnt/cdrom/RedHat/RPMS/redhat-release*
> > > > >    eject
> > > > >    shutdown -r now
> > > > >
> > > > > 6) In multiuser mode, register with RHN and attempt to run
> > > > up2date. If it fails with dependency problems, as it may if
> > > > your system has packages from older Red Hat releases, find
> > > > and remove them, then try again. The command "rpm -qf
> > > > /path/to/file" is handy for figuring out which package a
> > > > particular file came from.
> > > > >
> > > > > Please do let me know if this procedure works for you.
> > > > >
> > > > > --Mark Knutsen
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: rhn-users-bounces at redhat.com
> > > > > > [mailto:rhn-users-bounces at redhat.com]On Behalf Of Dan
> Wittenberg
> > > > > > Sent: Wednesday, June 30, 2004 2:10 PM
> > > > > > To: Red Hat Network Users List
> > > > > > Subject: Re: [rhn-users] Upgrade 9.0 to RHEL 3.0
> > > > > >
> > > > > > In the archives...
> > > > > >
> > > > > >
> https://www.redhat.com/archives/rhn-users/2004-May/msg00128.html
> > > > > >
> > > > > > Dan
> > > > > >
> > > > > > On Tue, 2004-06-29 at 13:38, Higareda, Robert wrote:
> > > > > > > Does anyone have the email posted about upgrading
> > > > RedHat Linux 9.0 to
> > > > > > > Redhat Enterprise Linux 3.0 if so can anyone forward it
> > > > to me thanks!
> 
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users







More information about the rhn-users mailing list