FC3 upgrade without booting off cd

Net Llama! netllama
Thu Nov 11 08:53:16 PST 2004


On Thu, 11 Nov 2004, Brad De Vries wrote:
> On Thu, 11 Nov 2004 21:21:20 +1100, James McDonald
> <james at jamesmcdonald.id.au> wrote:
> > Hey would it be possible to do something like
> >
> > new_rpms=`ls -1 fc3/RPMS/`
> >
> > old_rpms=`rpm -qa`
> >
> > for i in $new_rpms
> > do
> >     new_rpm=`echo $i | cut -f1 -d-`
> >
> >     for j in $old_rpms
> >     do
> >        old_rpm=`echo $j | cut -f1 -d-`
> >         if $new_rpm=$old_rpm
> >         then
> >             rpm -Uvh $i
> >         fi
> >     done
> >
> > done
> >
> > and upgrade everything to FC3 without doing any reboot?
>
> I think, besides the kernel problems mentioned by Tim, you would have
> problems with dependencies.  I would suggest that you build a list of
> RPMS to update and run one "rpm -Uvh" at the end.

That wouldn't turn out well, since some packages have been renamed in FC3,
and some dependencies have changed.  Plus some new packages are now
required (like udev)

Some folks on the fedora mailing list have reported success using yum to
do the upgrade.  I just used the CDs.  If you're against using the CDs for
whatever reason, you could dump all the RPMs onto a different box and run
apache, NFS or some kind of ftp daemon with the FC3 installer to perform
the upgrade over the network.
upgrade

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama at linux-sxs.org
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


More information about the Linux-users mailing list