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

Re: What happens when you upgrade a package with modified config files?



On 08/01/13 19:25, David Guntner wrote:
Karl E. Jorgensen grabbed a keyboard and wrote:
On Tue, Jan 08, 2013 at 06:29:02PM +0000, David Guntner wrote:
You mean there will be a bunch of .diff files for you to have to look
through?  Or something else?

No - it will prompt interactively during installation. There are
options on apt/dpkg to avoid the prompts by always doing either (a)
install the new version or (b) leave the config file untouched.

I could see where that could become problematic during a full system
upgrade, especially if you've got a number of config files that you've
needed to modify for one reason or another....

If, as someone else replied, it at least leaves a copy of the new config
file behind with a .new extension or whatever, then I guess I can at
least go through the process manually.  What fun!<grin>

It does. If you choose to retain your customised file it will save the new version with a ".dpkg-new" extension (iirc), and if you choose to replace your config it'll save your version with ".dpkg-old" on the end.

(I think I got those the right way around)

--
Dom


Reply to: