FC3 upgrade without booting off cd

James McDonald james
Thu Nov 11 05:22:07 PST 2004


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?






More information about the Linux-users mailing list