Dealing with 94 rpmnew files on new FC4 install after yum update

Tony Nelson tonynelson at georgeanelson.com
Fri May 5 00:30:31 UTC 2006


At 6:26 PM -0400 5/4/06, Mauricio Vergara Ereche wrote:
>Hi Roger!
>
>El Jueves, 4 de Mayo de 2006 18:13, Roger escribio:
>[...]
>> Because this is a new installation (I have customized my monitor
>> settings and made a static IP address), a guess is that I just want all
>> the .rpmnew files installed -- and maybe the existing files renamed to
>> .rpmold just in case.
>
>Maybe you can use a bash-script to do that... Something like:
>for file in $(find / -name '*.rpmnew'); do
>    cp ${file/rpmnew} ${file/rpmnew/rpmold} ; # to do the backup
>    mv $file ${file/rpmnew};                  # to use the .rpmnew
>done
 ...

Another WAG:  are those .rpmnew files different from the base files?
Sometimes they're identical.  Use diff to find out.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list