tag 207268 + pending thanks On Tue, Aug 26, 2003 at 12:15:36PM -0500, Branden Robinson wrote: > Hmm. Purging and reinstalling should definitely put the files in > question under automatic management, if they do not already exist. > > I'll check into it. Thanks for your report.
This has been fixed in the X Strike Force Subversion repository, revision 444, and will appear in the next release. If you're curious, here's the new logic that handles this: # if performing a fresh install, place config files under management if they # do *not* already exist if [ "$1" = "install" ]; then # only proceed if config file auxiliary directory exists if [ -d "$CONFIG_AUX_DIR" ]; then # first, create and checksum the X server symlink if [ ! -e "$SERVER_SYMLINK" ]; then # $THIS_SERVER is just a default; could as easily be /bin/true ln -s "$THIS_SERVER" "$SERVER_SYMLINK" readlink "$SERVER_SYMLINK" | md5sum > "$SERVER_SYMLINK_CHECKSUM" fi # next, XF86Config-4 if [ ! -e "$XF86CONFIG" ]; then # cheap, fork()-free version of "touch" : > "$XF86CONFIG" md5sum "$XF86CONFIG" > "$XF86CONFIG_CHECKSUM" fi fi fi As a workaround, you can do what the new script will do after purging but before reinstalling the package: # dpkg --purge xserver-xfree86 # ln -s /usr/bin/X11/XFree86 /etc/X11/X # readlink /etc/X11/X | md5sum > /var/lib/xfree86/X.md5sum # : > /etc/X11/XF86Config-4 # md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum # apt-get install xserver-xfree86 -- G. Branden Robinson | It may be difficult to to determine Debian GNU/Linux | where religious beliefs end and [EMAIL PROTECTED] | mental illness begins. http://people.debian.org/~branden/ | -- Elaine Cassel
pgp00000.pgp
Description: PGP signature