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

Bug#241532: xserver-xfree86: dpkg-reconfigure not writing XF86Config-4 file on NFS mounted /etc



Hi,

Here's something to check:

The postinst script only regenerates /etc/X11/XF86Config-4 if it is
unaltered since the previous dpkg upgrade. This is achieved by keeping the
md5 checksum of /etc/X11/XF86Config-4 in /var/lib/xfree86/XF86Config-4.md5sum.

Is it possible that either (1) /etc/X11/XF86Config-4 has been customised
manually since the last upgrade; or (2) /var/lib/xfree86/XF86Config-4.md5sum
has been removed?

If either is true, you can force the dpkg upgrade to regenerate XF86Config-4
by doing:
   "md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum"
and then doing dpkg-reconfigure again.

This will write the latest md5 signature into the checksum file and trick
dpkg-reconfigure into proceeding with overwriting XF86Config-4.

Regards,
Frank Chung



Reply to: