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

Bug#220469: xserver-xfree86: dpkg-reconfigure should create the config file if it doesn't exist

Package: xserver-xfree86
Version: 4.2.1-12.1
Severity: minor


I like the idea protecting changes in the XF86Config-4 config file
by a md5-sum.
But if the config file doesn't exist dpkg-reconfigure should create
a new one instead of refusing to write it:

  # dpkg-reconfigure xserver-xfree86
  Note: not updating /etc/X11/XF86Config-4; file does not exist.

If you are playing around with different options or even different
graphic cards and want to start from scratch with a new config file
you have to remove and reinstall the xserver-package (or at least
with knowledge of package internals to recreate the md5-file).
Removing the config file would be the much easier way.


BTW: Getting the warning about a changed config file BEFORE going
     through all the config questions would be nice. But maybe the
     config mechanism doesn't have the ability to distinguish between
     the package installation and a run of dpkg-reconfigure?

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux coruba 2.4.21 #1 Sun Jun 15 03:15:21 CEST 2003 i686

Versions of packages xserver-xfree86 depends on:
ii  debconf                       1.3.15     Debian configuration management sy
ii  libc6                         2.3.2-9    GNU C Library: Shared libraries an
ii  xserver-common                4.2.1-12.1 files and utilities common to all 
ii  zlib1g                        1:1.1.4-16 compression library - runtime

Reply to: