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

Re: Sarge + kernel-2.6.8



On Friday, 08.04.2005 at 12:32 +0200, Cs?nyi P?l wrote:

> On Thu, Apr 07, 2005 at 08:37:22PM -0400, Xinjiang Lu wrote:
> > 
> > > I try apt-get install --reinstall xserver-xfree86, but the XF86Config-4
> > > file still missing.
> > > 
> > > How can I get back the XF86Config-4 file?
> > > 
> > I think you have to dpkg --reconfigure, something like that. Don't remember
> > exactly.
>  
> # dpkg-reconfigure xsever-xfree86
> still don't create the deleted XF85Config-4 file. 

Try:

touch /etc/X11/XF86Config-4
chown root.root /etc/X11/XF86Config-4
chmod 644 /etc/X11/XF86Config-4
md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
dpkg-reconfigure xsever-xfree86

The md5sum statement will make dpkg-reconfigure believe that it must
update the file.  Make sure that you use the FULL PATH in the md5sum
statement, so that '/etc/X11/XF86Config-4' gets put into the .md5sum
file, and not just 'XF86Config-4'

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Attachment: signature.asc
Description: Digital signature


Reply to: