On Sun, Jun 10, 2001 at 02:53:24PM +0200, vester wrote:
> 
> 
> On 10 Jun 2001, Glyn Millington wrote:
>  
> > > you could simply delete the scripts but you shouldn't do that (because i
> > > did and now, on a reinstall of gdm i get an error that /etc/init.d/gdm
> > > doesn't exist...and if i create it again installation goes ok, but it
> > > doesn't reinstall the script either...)
> > > 
> > 
> > Ah yes - the magical incantation require to adjust the rc.d scripts is
> > 
> > update-rc.d         which will strip out the commands to start your display 
> > manager.
> > 
> >  update-rc.d  -f gdm  remove
> > 
> > Read man update-rc.d before you try it though!
> >
> 
> hey thanks! i didn't expect an answer on this one ;-)
> 
> i used update-rc.d -f gdm remove to remove all the symlinks...now, my
> problem is how to get the whole script back, i tried
> 
> apt-get install --reinstall gdm
> 
> but that gives me:
> 
> [...]
> update-rc.d: /etc/init.d/gdm: file does not exist
> dpkg: error processing gdm (--configure):
>  subprocess post-installation script returned error exit status 1
> [...]
> 
> it works fine if i first touch /etc/init.d/gdm only that doesn't do the
> job obviously because it doesn't recreate /etc/init.d/gdm --how can i get
> that file back???
> 
> (and i thorougly learnt my lesson: do not manually remove scripts! hehe)
> 

Have you tried -
# apt-get remove gdm
# apt-get install gdm
?

kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke


Reply via email to