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

Bug#236468: marked as done (apt: --reinstall should allow to renew configuration files)

Your message dated Tue, 9 Mar 2004 09:00:36 +0100
with message-id <20040309080036.GK10832@wiggy.net>
and subject line Bug#236468: apt: --reinstall should allow to renew configuration files
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 6 Mar 2004 10:26:31 +0000
>From kju@mail.keleos.net Sat Mar 06 02:26:30 2004
Return-path: <kju@mail.keleos.net>
Received: from zeus.keleos.net (mail.keleos.net) [] (qmailr)
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1AzZ0o-0003v3-00; Sat, 06 Mar 2004 02:26:30 -0800
Received: (qmail 29420 invoked by uid 1000); 6 Mar 2004 10:27:22 -0000
Message-ID: <20040306102722.29419.qmail@mail.keleos.net>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Michael Holzt <kju@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt: --reinstall should allow to renew configuration files
X-Mailer: reportbug 2.37
Date: Sat, 06 Mar 2004 11:27:22 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_05 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 

Package: apt
Version: 0.5.21
Severity: wishlist

Currently a "apt-get install <package> --reinstall" invocation will not
touch the configuration files, and does not ask when a configuration file
was changed or is missing.

So if by accident one deletes or wracks havoc one of his configuration
files, it is not possible to recover from this problem by reinstall. Only
current solution is to manually extract the configuration file in question
from the package archive  - or downgrading and upgrading again. Both options
are not very comfortable for the user.

Please consider asking the user about changed/missing configuration files,
like an package upgrade would also do.

-- Package-specific info:

-- (no /etc/apt/preferences present) --

-- (/etc/apt/sources.list present, but not submitted) --

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zeus 2.4.19 #2 Fri Dec 6 03:45:09 CET 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages apt depends on:
hi  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-0pre2 GCC support library
ii  libstdc++5                 1:3.3.3-0pre2 The GNU Standard C++ Library v3

-- no debconf information

Received: (at 236468-done) by bugs.debian.org; 9 Mar 2004 08:00:38 +0000
>From wichert@levante.wiggy.net Tue Mar 09 00:00:38 2004
Return-path: <wichert@levante.wiggy.net>
Received: from levante.wiggy.net (mx1.wiggy.net) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B0cAH-0000cK-00; Tue, 09 Mar 2004 00:00:38 -0800
Received: from wichert by mx1.wiggy.net with local (Exim 4.30)
	id 1B0cAG-0006q2-O2; Tue, 09 Mar 2004 09:00:36 +0100
Date: Tue, 9 Mar 2004 09:00:36 +0100
From: Wichert Akkerman <wichert@wiggy.net>
To: Matt Zimmerman <mdz@debian.org>, 236468-done@bugs.debian.org,
Subject: Re: Bug#236468: apt: --reinstall should allow to renew configuration files
Message-ID: <20040309080036.GK10832@wiggy.net>
References: <20040306102722.29419.qmail@mail.keleos.net> <20040309050359.GM28592@alcor.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040309050359.GM28592@alcor.net>
User-Agent: Mutt/
Sender: Wichert Akkerman <wichert@levante.wiggy.net>
Delivered-To: 236468-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_08 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 

Previously Matt Zimmerman wrote:
> This behaviour is managed by dpkg, and apt does not override it.  You are
> correct that by default, dpkg does not do anything about a missing
> configuration file (this is considered a configuration change by the
> administrator, and preserved).  You can override that with --force-confmiss
> (a dpkg option, not an apt option).

So indeed dpkg has already supported this for some time. This can be
combined with a -o option to apt-get to call dpkg with --force-confmiss
to get the behaviour the bugreporter wants.


Wichert Akkerman <wichert@wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

Reply to: