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

Bug#296023: "Fix" that breaks Xorg



This happened to me, too, just now. I had installed Testing on a laptop, was 
converting it into Unstable and attempted to install XFree86. Dexconf just 
died without any output and didn't write a byte into XF86Config-4.

It turned out the following change fixed the issue -- for XFree86:

--- dexconf-old	2005-07-25 02:44:19.698301256 +0300
+++ /usr/bin/dexconf	2005-07-25 02:44:45.612361720 +0300
@@ -457,7 +457,7 @@
 # XXX: This is some new template Ubuntu added.  Probably better solved by 
just
 # making empty entries for sync ranges syntatically valid, as Sven Luther
 # suggested.
-db_get $TEMPLATE_BASE/config/monitor/use_sync_ranges
+fetch $TEMPLATE_BASE/config/monitor/use_sync_ranges
 MONITOR_SYNC_RANGES="$RET"
 
 exec 4>"$DEXCONFTMPDIR/Monitor"


Unfortunately, the change also broke Xserver-xorg installation, making dexconf 
complain about the missing use_sync_ranges variable and aborting dpkg.

(Note that this "fix" was just a semi-random test; I didn't really dig into 
differences between fetch and db_get. Anyway, I hope this observation helps
someone who knows the functions better.)

- Jarno



Reply to: