[CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
gebser at mousecar.com
Mon Nov 29 17:10:30 EST 2010
On 11/29/2010 04:29 PM Jim Perrin wrote:
> On Mon, Nov 29, 2010 at 12:39 PM, ken <gebser at mousecar.com> wrote:
>> rpm -Vv $package 2>&1|grep -e ^........" c"
> Or the slightly easier (and per the rpm documentation)
> rpm -qc packagename
"rpm -qvc $package" gives more info-- the files' permissions and owners.
But the ridiculously long one (at top) tells-- among other things--
which files have changed from their initially installed versions-- key
info for what the OP was wanting to know. (I wrapped it in a bash
script so it's easier to type.)
More information about the CentOS