FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Posts
    3

    Which one to keep .rpmnew/.rpmsave/.rpm?

    I have upgraded FC10 to FC 11 using Preupgrade, everything when fine. I am trying to clean my .rpmnew and .rpmsave files.
    I found a very good reference on Howto here: http://www.linux.com/archive/feed/121476
    But it is not clear which files is FC11 expecting .rpm or.rpmnew or .rpmsave?

    I am under the impression that .rpm is what it will be using. But after verifying the differences and merge into one file, what should be its extension?

    Thanks
    SP

  2. #2
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,307

    Re: Which one to keep .rpmnew/.rpmsave/.rpm?

    Moved to "EOL".

    V

  3. #3
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,629

    Re: Which one to keep .rpmnew/.rpmsave/.rpm?

    Why bother removing anything? The files won't be "in the way" at all.
    Glenn
    The Bassinator

  4. #4
    Join Date
    Jul 2005
    Age
    57
    Posts
    1,187

    Re: Which one to keep .rpmnew/.rpmsave/.rpm?

    The live file should be the one without the .rpm*. For example, after an upgrade you might have

    httpd.conf the file that is actually being used

    httpd.conf.rpmsave what was there if the system had to write a new httpd.conf because there were too many changes from the last one.

    httpd.conf.rpmnew what the new F* file would look like if you'd made changes to the original and the system chose to leave your original in place.

    All changes need to be merged into the live httpd.conf - whether they were your changes from the old original in .rpmsave, or new features in a .rpmnew that you need to add back into your untouched original.

    I find it's easiest to move .rpmnew files to .f14 for example so I can compare the next .rpmnew to the previous releases .f14 and see what changed to merge into the original.

    If you end up with a .rpmnew, you might not have to do anything. If you end up with a .rpmsave, you will probably have to do something as it wrote a clean original and any changes you made are not in the current running configuration.

    Occasionally, there is a .rpmsave, and they've moved the entire functionality for configuration elsewhere like in the recent dovecot upgrade. You had a .rpmsave, but there was a whole new dovecot configuration directory that you had to sort your settings into before you were up and running again.

  5. #5
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,568

    Re: Which one to keep .rpmnew/.rpmsave/.rpm?

    Have you read this? *.rpmnew files are unmodified configuration files from an update, which didn't replace an existing modified configuration file. It is generally safe to remove *.rpmnew files, unless, the new configuration files contains added options that need to be configured over previous version configuration file. In which case, merging the two would seem to be the best choice.

    *.rpmsave configuration files are copies of the older version config file, which was replaced with the updated config file. Chances are high that you don't need those in most cases either. All of the *.rpmnew and *.rpmsave files should be found somewhere under the /etc/ directory. There are no configuration files from an update that are suffixed with ".rpm". *.rpm files are rpm package files.

  6. #6
    Join Date
    Feb 2006
    Posts
    46

    Re: Which one to keep .rpmnew/.rpmsave/.rpm?

    Quote Originally Posted by spolavar
    I have upgraded FC10 to FC 11 using Preupgrade, everything when fine. I am trying to clean my .rpmnew and .rpmsave files.
    I found a very good reference on Howto here: http://www.linux.com/archive/feed/121476
    But it is not clear which files is FC11 expecting .rpm or.rpmnew or .rpmsave?

    I am under the impression that .rpm is what it will be using. But after verifying the differences and merge into one file, what should be its extension?

    Thanks
    SP
    use rpmconf

    rpm -q rpmconf
    rpmconf-0.3.3-2.fc17.noarch

Similar Threads

  1. Dealing with .rpmnew and .rpmsave files
    By foolish in forum News
    Replies: 0
    Last Post: 21st November 2007, 06:59 PM
  2. .rpmnew files
    By sheep in forum Using Fedora
    Replies: 1
    Last Post: 29th June 2006, 06:07 AM
  3. What to do about .rpmnew warnings
    By amiwhere in forum Using Fedora
    Replies: 5
    Last Post: 3rd May 2006, 05:31 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •