deleting corrupt application file

Discussion in 'macOS' started by musikman_ie, Mar 17, 2006.

  1. musikman_ie macrumors newbie

    Joined:
    Jul 17, 2002
    #1
    hi ,

    looking for some help

    Upgraded Neo Office durning the week which is working fine , forgot the order of things but

    Left with a corrupt application file which i can't delete from the trash , hangs the finder when trying to

    Have tried permission repair , and info on file is set to read write , tried both system and current user access

    is there a way to delete via terminal , file size is about 186 Mb

    thanks in advance
     
  2. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #2
    Well, read through this and then maybe this. Does this help? :)
     
  3. musikman_ie thread starter macrumors newbie

    Joined:
    Jul 17, 2002
    #3
    will try tommorrow when I'm back at the mac

    Cheers
     
  4. musikman_ie thread starter macrumors newbie

    Joined:
    Jul 17, 2002
    #4
    didn't work , tried something else off apples website aswell

    goign to try and creat a new user and move to trash from there
     
  5. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #5
    it should have worked.

    Try this:
    Code:
    sudo rm -rf 
    with a space after it
    Then drag the file you're trying to delete. Be very careful. Don't hit enter, and watch out :) If somehow you do hit it without meaning it, just hit control+c as fast as you can.

    Sudo will ask you for an administrator password. It's perfectly normal for it to display messages like "We trust you have received a lecture from your local System Administrator..." or something like that.
     
  6. musikman_ie thread starter macrumors newbie

    Joined:
    Jul 17, 2002
    #6
    tried that sudo command from apple support

    tried with item in trash and on desktop and other locations

    just hangs everything

    tried repairing permissions again

    waht has changed now is the size if the file , the package was and is still corrupt but is now 2.6 mb as opposed to 150 mb plus which i can live with

    Thanks to everyone for suggestions
     
  7. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #7
    that's bizarre...disk utility? run fsck on the machine?
    probably doesn't annoy you, but that sounds just bizarre..
     
  8. musikman_ie thread starter macrumors newbie

    Joined:
    Jul 17, 2002
    #8
    fsck ?

    is that similar to chkdesk for Windows ?

    how does one run it ?

    its not annoying me but more curious now as I repair PC for a living etc
     
  9. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #9
    restart, go into single user mode, and type in
    Code:
    /sbin/fsck -yf
    and let it run.

    Code:
    man fsck
    for more info on it, in a Terminal.app window (it's in /Applications/Utilities)
     
  10. musikman_ie thread starter macrumors newbie

    Joined:
    Jul 17, 2002
  11. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #11
    i don't remember the details...it's either just "S" or command+s at startup...go google?

    you'll get tossed into a command line interface where you just type that /sbin/fsck -yf stuff and let it run.
     
  12. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #12
    The fsck according to Apple. Single user mode can be enabled by starting up whilst holding COMMAND-S. :)
     

Share This Page