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

X Strike Force SVN commit: rev 627 - in trunk/debian: . local



Author: branden
Date: 2003-10-03 17:49:19 -0500 (Fri, 03 Oct 2003)
New Revision: 627

Modified:
   trunk/debian/changelog
   trunk/debian/local/FAQ
Log:
Add new entry to the Debian X FAQ: "I've customized my /etc/X11/X,
/etc/X11/Xwrapper.config, and/or /etc/X11/XF86Config-4 files so the
packages don't automatically update them anymore.  I'd like them
automatically managed again, though; how can I achieve that?".

- debian/local/FAQ


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2003-10-03 22:33:06 UTC (rev 626)
+++ trunk/debian/changelog	2003-10-03 22:49:19 UTC (rev 627)
@@ -10,8 +10,14 @@
     and clarify x-window-system's extended description.
     - debian/control
 
- -- Branden Robinson <branden@debian.org>  Fri,  3 Oct 2003 17:27:40 -0500
+  * Add new entry to the Debian X FAQ: "I've customized my /etc/X11/X,
+    /etc/X11/Xwrapper.config, and/or /etc/X11/XF86Config-4 files so the
+    packages don't automatically update them anymore.  I'd like them
+    automatically managed again, though; how can I achieve that?".
+    - debian/local/FAQ
 
+ -- Branden Robinson <branden@debian.org>  Fri,  3 Oct 2003 17:47:55 -0500
+
 xfree86 (4.2.1-12.1) unstable; urgency=low
 
   * Fix typo in xlibs preinst.  Closes: #213774, #213776

Modified: trunk/debian/local/FAQ
===================================================================
--- trunk/debian/local/FAQ	2003-10-03 22:33:06 UTC (rev 626)
+++ trunk/debian/local/FAQ	2003-10-03 22:49:19 UTC (rev 627)
@@ -101,6 +101,10 @@
 *) Why am I not able to run "startx" as a non-root user?
 *) How do the XFree86 packages manage their non-conffile configuration files
    like /etc/X11/X, /etc/X11/Xwrapper.config, and /etc/X11/XF86Config-4?
+*) I've customized my /etc/X11/X, /etc/X11/Xwrapper.config, and/or
+   /etc/X11/XF86Config-4 files so the packages don't automatically update them
+   anymore.  I'd like them automatically managed again, though; how can I
+   achieve that?
 *) How do I add custom sections to a dexconf-generated XF86Config or
    XF86Config-4 file?
 
@@ -1472,6 +1476,53 @@
 of the /etc/X11/X and /etc/X11/XF86Config-4 files in the absence of stored
 checksum files will prevent them from being overwritten by maintainer scripts.
 
+*) I've customized my /etc/X11/X, /etc/X11/Xwrapper.config, and/or
+   /etc/X11/XF86Config-4 files so the packages don't automatically update them
+   anymore.  I'd like them automatically managed again, though; how can I
+   achieve that?
+
+Please be aware that your local customizations will be *LOST* if you do this!
+Don't say you weren't warned...
+
+You can "trick" the packages into thinking that the versions of the
+configuration files on disk were written by them by replacing the MD5 checksum
+that they have associated with the file.  /etc/X11/X is a bit of a special
+case because it is a symbolic link, not a file with contents.
+
+For /etc/X11/X, do the following as root:
+
+# readlink /etc/X11/X | md5sum > /var/lib/xfree86/X.md5sum
+# dpkg-reconfigure xserver-xfree86
+
+(You may have xserver-xfree86-dbg installed instead, in which case, run
+dpkg-reconfigure on that package instead.)
+
+For /etc/X11/XF86Config-4, do the following as root:
+
+# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
+# dpkg-reconfigure xserver-xfree86
+
+(You may have xserver-xfree86-dbg installed instead, in which case, run
+dpkg-reconfigure on that package instead.)
+
+For /etc/X11/Xwrapper.config, do the following as root:
+
+# md5sum /etc/X11/Xwrapper.config > /var/lib/xfree86/Xwrapper.config.md5sum
+# dpkg-reconfigure xserver-common
+
+Another way to accomplish the above is to purge the packages from your system
+and reinstall them, but that can be considerably more disruptive.
+Nevertheless, here's an example (like the commands above, it must be run as
+root):
+
+# dpkg --purge xserver-common xserver-xfree86 xserver-xfree86-dbg
+# apt-get install xserver-common xserver-xfree86 xserver-xfree86-dbg
+
+Omit one or more of the package names in these commands if you only want to
+use this method on some of the configuration files.  xserver-common deals with
+/etc/X11/Xwrapper.config, and xserver-xfree86 and xserver-xfree86-dbg share
+/etc/X11/X and /etc/X11/XF86Config-4.
+
 *) How do I add custom sections to a dexconf-generated XF86Config or
    XF86Config-4 file?
 



Reply to: