[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



severity 220469 wishlist
thanks

On Wed, Nov 12, 2003 at 11:05:07PM +0100, Uwe Storbeck wrote:
> Package: xserver-xfree86
> Version: 4.2.1-12.1
> Severity: minor
> 
> Hi,
> 
> 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:

Why?  dpkg works the same way.  If you delete a conffile it will respect
your (apparent) wishes.

>   # 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.

If you are playing around with different options or even different
graphic cards and want to start from scratch with a new config file,
save the pre-created one in a safe location, and move it back when
you're done.

> 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?

I plan to revisit the xserver-xfree86 debconfage after 4.3.0-1 is
released to unstable.

-- 
G. Branden Robinson                |     It just seems to me that you are
Debian GNU/Linux                   |     willfully entering an arse-kicking
branden@debian.org                 |     contest with a monstrous entity
http://people.debian.org/~branden/ |     that has sixteen legs and no arse.

Attachment: signature.asc
Description: Digital signature


Reply to: