Announcement

Collapse
No announcement yet.

Help! I think I deleted a system folder

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help! I think I deleted a system folder

    Hi guys.
    I' m a noob in linux.
    I made a disaster. I deleted the "local" folder in /usr/ for error.
    How can I recover it?
    Is there a way to reinstall the linux system without loss any system preferences?
    I have no software installed in kubuntu beyond the kubuntu's preinstalled application.

    Thank in advance, I hope someone can help this poor noob

    #2
    Re: Help! I think I deleted a system folder

    Did you remove it from the command-line or (as root) in konqueror?

    If you removed it from konqueror, chances are the directory structure is still in (root) trashbin. Open konqueror with:
    Code:
    kdesu konqueror
    and type:
    trash:/
    into the address field to check root trashbin (from which you can restore the structure)

    If you have a rather clean installation, there probably isn't much if anything in usr/local (except a few empty directories) as it is 'reserved' for local scripts etc.
    The packages in the repositories shouldn't put anything there, so you probably haven't hosed your installation. If you can't restore it from the trashbin, the directory structure can be restored manually. (In that case let us know if you need a clean directory structure under /usr/local, I'm sure someone can post one )

    Comment

    Working...
    X