Re: Can't reinstall missing init.d script
- From: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
- Date: Tue, 14 Mar 2006 20:06:01 -0300
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
- Follow-Ups:
- Re: Can't reinstall missing init.d script
- From: Winston Smith
- Re: Can't reinstall missing init.d script
- References:
- Can't reinstall missing init.d script
- From: Winston Smith
- Re: Can't reinstall missing init.d script
- From: Andrei Popescu
- Can't reinstall missing init.d script
- Prev by Date: Re: Can't reinstall missing init.d script
- Next by Date: Re: "make install" > debian package
- Previous by thread: Re: Can't reinstall missing init.d script
- Next by thread: Re: Can't reinstall missing init.d script
- Index(es):
Relevant Pages
|