[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmnew files



On 09-10-20 17:49:28, nodata wrote:
> Hi,
> 
> What's with the extra rpmnew files on an upgrade?
> 
> Some examples:
> # md5sum  /etc/pki/tls/openssl.cnf.rpmnew /etc/pki/tls/openssl.cnf
> 7c8f8d809c5b618e1604207525161101  /etc/pki/tls/openssl.cnf.rpmnew
> 7c8f8d809c5b618e1604207525161101  /etc/pki/tls/openssl.cnf
 ...

Let me tell you about the `cmp` command.  In my case:

    # cmp /etc/yum.repos.d/rpmfusion-free.repo*
    # cmp /usr/lib/security/classpath.security*
    /usr/lib/security/classpath.security /usr/lib/security/
    classpath.security.rpmnew differ: byte 1874, line 39

:-)


> /var/lib/games/same-gnome.Small.scores.rpmnew
> /var/log/mail/statistics.rpmnew
> 
> Not sure why we would ever need an rpmnew file for that: should these
> be labelled as something other than config files?

Or perhaps not make .rpmnew files for empty config files.


> Another one:
> 
> # md5sum /usr/share/info/dir.rpmnew /usr/share/info/dir
> 91ba35a21c163a55982bedaab076bc7f  /usr/share/info/dir.rpmnew
> 0737290f14a0ce86986de276d1083783  /usr/share/info/dir
> # wc -l /usr/share/info/dir.rpmnew /usr/share/info/dir
>     22 /usr/share/info/dir.rpmnew
>   2127 /usr/share/info/dir
>   2149 total
> 
> I didn't change this file. That's weird. Same case here:
 ...

It's actually a sort of database for the info command.

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson georgeanelson com>
      '                              <http://www.georgeanelson.com/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]