Re: Can't reinstall missing init.d script
On Tue, Mar 14, 2006 at 08:06:01PM -0300, Henrique de Moraes Holschuh wrote: On Wed, 15 Mar 2006, Andrei Popescu wrote: Maybe you could extract the file from the .deb manually. This is probably the best idea. Thanks. That worked. If I recall correctly, I did: dpkg-deb --extract \ /var/cache/apt/archives/initscripts_2.86.ds1-12_i386.deb tempdir mv tempdir/etc/init.d/checkfs.sh /etc/init.d rm -fr tempdir Win -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't reinstall missing init.d script
Hi. 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. Etch Package: initscripts Version: 2.86.ds1-12 Thanks for your help. Win -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can't reinstall missing init.d script
On Tue, 14 Mar 2006 14:32:48 -0500 Winston Smith [EMAIL PROTECTED] wrote: Hi. 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. Etch Package: initscripts Version: 2.86.ds1-12 Thanks for your help. Win -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Maybe you could extract the file from the .deb manually. Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]