On 11/6/07, Karel Kulhavy <[EMAIL PROTECTED]> wrote: > During upgrading between 4.1 and 4.2 I accidentally typed rm -rf /etc instead > of rm -rf etc in the /tmp directory. > > After fixing couple of vital things I continued normally with the upgrade, > unpacking the etc42.tgz and xetc42.tgz and reinstalling couple of programs > so that their /etc/ files are regenerated. I also did the post-installation > stuff from the "Installing 4.2" chapters. > > I got an idea that I could run the install process and somehow skip the > initial > part but it always told me it's going to destroy all data on the disk and then > I said no and it returned into the shell. > > Is there some way how I can re-generate the missing /etc files? I guess the > permissions matter for security and some files are probably machine generated.
Yeah it's easy to fix. tar xvfz TheBackupYouMadeBeforeTheUpgrade.tgz -C /