Package: dpkg
Version: 1.13.18
Severity: normal
While packaging simba i had the following situation:
/etc/simba/simba.cfg was in the package as a confile.
The postinst was creating via dbconfig-common a new file called
/etc/simba/simba-db.cfg. At every upgrade we got the following prompt:
Configuration file `/etc/simba/simba-db.cfg'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
S : show the side-by-side differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** simba-db.cfg (Y/I/N/O/D/Z) [default=N] ?
[...]
That file does not exist neither in the package or on the filesystem. If
i hit D:
--- /dev/null 2006-04-10 13:15:48.167259456 +0300
+++ /tmp/dbconfig-generate-include.lo0pUi 2006-04-11
17:10:28.215596400 +0300
@@ -0,0 +1,7 @@
+# local database configuration file:
+
+_db_config => {
+ dsn => 'dbi:mysql:database=simba;host=localhost;port=3306',
+ user => 'simba',
+ pass => 'pass',
+}
If i changed the filename from simba-db.cfg to simbadb.cfg (without '-')
everything worked out ok.
Thanks,
Radu Spineanu
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.93-5 The GNU core utilities
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii textutils 5.93-5 The GNU text file processing utili
dpkg recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]