Re: Can't reinstall missing init.d script



On Wed, 15 Mar 2006, Andrei Popescu wrote:
I would like to recover the /etc/init.d/checkfs.sh script that came
with it's package, which according to 'dpkg -S' is initscripts. I hid
the current checkfs.sh and ran

apt-get --reinstall install initscripts

seemingly successfully, but no new checkfs.sh was created.

I also tried 'dpkg-reconfigure initscripts' but that didn't do anything.

You'd have to *purge* the initscript packages (which will *delete* all
configuration files, so back any changes you did to them first!) then
reinstall.

/etc files are not regular files, and they get treated differently. dpkg and
even an apt-get -­reinstall won't resurrect a deleted conffile (/etc file).

Maybe you could extract the file from the .deb manually.

This is probably the best idea.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: sshfs installation error
    ... and 'initscripts' was mentioned there too but a reinstall didn't ... the post/pre-installation scripts for fuse-utils to do its job. ... If it was my work server I might be worried but this is a ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cant reinstall missing init.d script
    ... with it's package, which according to 'dpkg -S' is initscripts. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: sshfs installation error
    ... and 'initscripts' was mentioned there too but a reinstall didn't ... the post/pre-installation scripts for fuse-utils to do its job. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: 2.6.9-rc2-mm3: swsusp horribly slow on AMD64
    ... >> disk. ... >> Not explicitly, but it's used by SuSE initscripts to set IDE DMA, AFAICS. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Is there a complete log to the bootup messages?
    ... ...you'll need version 2.85-9 of sysvinit / initscripts. ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)