FC3 upgrade without booting off cd

Brad De Vries devriesbj
Thu Nov 11 08:44:22 PST 2004


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.


More information about the Linux-users mailing list