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

Re: diff original .conf files in packages with the ones installed



On 07/01/11 at 08:50pm, alberto fuentes wrote:
> On Fri, Jul 1, 2011 at 8:03 PM, William Hopkins <we.hopkins@gmail.com>wrote:
> 
> > On 07/01/11 at 09:44am, alberto fuentes wrote:
> > > This would be handy to checkout messed up systems to be able to tell
> > apart
> > > easily whats has been touched.
> > >
> > > Is there already something that makes this?
> >
> > comparing dpkg --get-selections before and after is an easy way to see what
> > new
> > packages have been installed, which have been upgraded, etc. But you
> > *should*
> > be paying attention during the upgrade process.
> >
> > dpkg will already prompt you to view a diff of a config file that is to be
> > changed if you have a modified version installed.
> >
> > If you need anything more granular than this, perhaps install tripwire.
> >
> 
> I think you misunderstood what I was asking.
> 
> I wanted to check out the diff from the configuration file of a package from
> both its versions, installed and original packaged, to be able to tell whats
> been touched (added + deleted) :)

IF you've modified your local version and the file being installed by the deb
is a conffile, apt/dpkg will prompt you to overwrite, and one of your options
will be to view a diff. 

-- 
Liam

Attachment: signature.asc
Description: Digital signature


Reply to: