Bug#443004: dexconf: error: cannot generate configuration, file; shared/default-x-server not
On Thu, Sep 27, 2007 at 02:53:21PM +0200, Marc Haber wrote:
> On Thu, Sep 20, 2007 at 01:18:26AM +0200, Peter wrote:
> > I tested to edit directly
> >
> > /var/cache/debconf/config.dat
> >
> > I added at:
> > shared/default-x-server
> >
> > Value: xserver-xorg
> > Flags: seen
> >
> > And then dpkg-reconfigure xserver-xorg
> >
> > just fine wrote a xorg.conf file.
>
> Not for me, the Value was deleted again after re-executing
> dpkg-reconfigure xserver-xorg.
Just another data point:
I (actually a friend of mine) was also bitten by this bug today. We
solved the problem by editing /var/cache/debconf/config.dat and adding
"Value: vserver-xorg" line after "Template: shared/default-x-server"
line (but not adding the "Flags: seen" line), then executing
"dpkg-reconfigure -phigh xserver-xorg".
Before doing this, we messed around a bit, looking at the command line
history, I believe before changing the debconf database, we did the
following:
1. Copy an old xorg.conf into /etc/X11/.
2. Remove /etc/X11/X symlink.
3. Run "dpkg-reconfigure -phigh xserver-xorg"
Then we changed /var/cache/debconf/config.dat and re-ran
dpkg-reconfigure, and it worked.
Ming
2007.10.05
Reply to: