Bug 49410 - Can't tell how much work to upgrade configs
Can't tell how much work to upgrade configs
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-07-19 03:34 EDT by kop
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-19 03:34:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description kop 2001-07-19 03:34:31 EDT
Description of Problem:

I'd be nice if there was a general way to use --test with -U and -F to see
what config files will be replaced or need to be upgraded.  This is
necessary to tell ahead of an upgrade how much work will be involved in
re-configuring the software the accomidate the upgrade.  I don't know the
conditions under which rpm makes an .rpmsave of a config file, (The doc is
not so good) but it'd be useful to know when there's any change in the
configs between the old and new packages so the "real" site-customized
configs can be updated.  (Being able to diff the old "standard" config, the
new "standard config" and the "real" current config would be key.  It's
what I do _after_ upgrading when things are already broken and the "real"
config winds up in a .rpmsave file.)
Comment 1 Jeff Johnson 2001-07-24 13:19:20 EDT
Providing a full blown interface that calculates diffs, and has a
"Mother may I" dialogue to manage changed configuration
files is outside the scope of a "batch orieneted" package
installer like rpm. 'Twould be nice to have, but rpm is not the

Meanwhile, there's a "warning" message that can be grepped
out of rpm install output and parsed without too much difficulty
if need be. A script to reproduce rpm's behavior wrto config
files wouldn't be too hard to write either, all the raw information
that is used to calculate a config files's disposition is available
through rpm queries, /bin/ls, and /usr/bin/md5sum output.

If you send me a script, I'll be happy to include in rpm sources

Note You need to log in before you can comment on or make changes to this bug.