[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Oops, no more /usr.



I have a Sarge system where I tried to move /usr to a separate partition. To make a long story short, I accidently copied the Knoppix cd's /usr, not the deb system's /usr.

I actually saved /usr as /usrold on the original partition, but deleted it once everything seemed to be working. End result: I have to regenerate /usr.

I'm thinking I'll have to use dpkg and apt to reinstall any debs that are already installed (maybe get/set-selections), but this leads me to two questions.

1: Should I tar /etc before this and overwrite it again afterwards? If so, are there any other directories I should do the same to?

2: Is there a way to only reinstall packages with files in /usr? For example, kernel-sources* has files placed in /usr, but kernel-image* do not.

Any other ideas or suggestions would be appreciated.

PaulNM



Reply to: