rm /usr/ folders

Managed to run rm -r /usr/* now im only in command line.

some /usr/bin /usr/sbin files was deleted.

My only media is opensuse live disk and internett.

I want to repair this mess.

The proper answer is load a backup if it is that much of concern of course you’ll have one but as I suspect you don’t…

I can’t give a specific answer but to start with you need to be looking at commands based around the rpm database i.e Using RPM to Verify Installed Packages

Good Luck
Perhaps if you suceed post back the solution as it may help someone else.

On Fri, 04 Sep 2009 20:46:02 +0000, ros2468 wrote:

> I want to repair this mess.

I’d be inclined to boot a rescue system or do a non-destructive
reinstall. You should be able to preserve the existing /home structure
if it’s a separate partition.


Jim Henderson
openSUSE Forums Moderator

> I want to repair this mess.

reinstall from your backup, or:

i do not know if the live CD has a “Repair Installed System” on either
of these install steps, if it does you can TRY it, it won’t make it
worse than it is



Mounted live cd and did some repairs using rpm -V, now running normal runlevel.