/Library/Receipts folder almost empty?

Discussion in 'MacBook Pro' started by macuser1232, Aug 31, 2012.

  1. macuser1232 macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #1
    Hey guys I was going through some folders in my Library and I noticed my Receipts folder was almost empty and only had 5 python packages, a BSD package, and a db folder that is empty. Plus the Install History. Not too long ago I changed my Account name on accident(the one under /Users) and lost all my data so I had to rename it to get all my files back. When I try to open Microsoft Office applications it said I didn't have the Licenses. So, I was forced to reinstall. Anyway, because of this I was curious if my Receipts folder was supposed to have a lot more application things in it. Also if you have any idea why my Microsoft Office licenses were gone after I fixed the problem please let me know.
     
  2. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #2
    Try repairing permissions. Sounds like /Library might be messed up. Office licenses are not stored in /Receipts or they weren't last time I had to nuke an install that way.
     
  3. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #3
    I've repaired Permissions tons of times! So your saying my Library messed up!!
     
  4. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #4
    "might be". Permissions repair should sort it out. You could also just re-install the OS. Takes like less than 30 min. It will fix /System and /Library folders. It will not fix ~/Library folders.
     
  5. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #5
    But if I reinstall OS X won't that delete all my files? I don't have any back ups.
     
  6. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #6
    No, your files will be intact unless you go through an erase and install.
    And you should have backups. Don't do anything until you do. I am probably not the only person to have said this to you;)
     
  7. calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #7
    It isn't permissions, i wish people would stop recommending that all the time. Apple has shifted receipts around quite a big in the last few releases.

    They should be in /var/db/receipts if I remember correctly.
     
  8. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #8
    Repairing permissions repairs permissions on the System and root folders. If you can't save something to a root folder be it an installer, receipt or .plist change etc. repairing them "could" sort it out. Yes it does not help most things BUT it helps these things. I don't blindly send out repair permissions requests dude. I am pro.
     
  9. calderone, Aug 31, 2012
    Last edited: Aug 31, 2012

    calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #9
    Haha. This was definitely a blind cast, there is little to no chance this is permissions. Read the OP again.

    And really? Jump to a reinstall with no reasoning? Pro my arse.
     
  10. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #10
    Yeah I had another guy tell me to reinstall without really knowing why on the IRC chat. I figured out that on Mountain Lion everything is stored in the history.plist file in the Receipt folder. I just happen to have some Python packages that aren't.

    ----------

    What I do want to know is why when I changed my Account name and then recovered files I wasn't able to access Microsoft Office because of missing License files.
     
  11. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #11
    It sounds like when you were recovering some files you copied over the plist files MS stores the registration info in. Just reenter the serial numbers and you should be good to go.
     
  12. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #12
    Yeah I did. So then what other files could this have effected? Is there a location to where these files were changed so I can know if anything else was effected?
     
  13. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #13
    This shows where all the various MS files are kept. It looks like the license plist is at /Library/Preferences

    If everything else is running fine, you are probably okay. Most Mac apps are not to picky about these registration issues like MS is.
     
  14. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #14
    I hope your right!
     
  15. derbothaus, Sep 1, 2012
    Last edited: Sep 1, 2012

    derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #15
    I rest my case kids. diskutil resets access on this. If you delete them or they are not written properly you will have to keep entering your serial each time. Crayola simple. So re-enter the serial. If the license file does not show up check permissions on the folder as an Account name change can alter more than you think.
     
  16. derbothaus, Sep 1, 2012
    Last edited: Sep 1, 2012

    derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #16


    ...
     
  17. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #17
    ? All I want to know is if I do a reinstall of Mountain Lion will I have an option to keep all my files when I reinstall instead of erasing everything and doing a clean reinstall.
     
  18. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #18
    Yes. It is not so much an option you have to check as it is the default behavior. If you just DL Mountain Lion and click install it will not delete any user applications or data.

    To do the clean install you would have to get to beginning install screen then go into the Utilities menu and manually select Disk Utility and intentionally erase the drive. You would have to go out of your way to do this... it won't happen by just an accidental checkbox or something.
     
  19. derbothaus, Sep 1, 2012
    Last edited: Sep 1, 2012

    derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #19
    And your suggestion...troll!
    They are trying to get the license file to write to /Library/Preferences after altering account in an unknown way. So permissions could come into play, no? It has in the past when migrating accounts and changing UID info in improper ways. User now has no access to write to some dir's in / it appears. The OP does not know about a lot of OS X basics so I am not going to tell them to 'find /Library -type d -exec chmod 755 {} \;'.
    Or 'find /Library -type d -print0 | xargs -0 chmod 755'. Or take a bunch of screen shots or mess with symbolic links. Re-install much easier to reset permissions and root/ User interaction.
    If you have stellar idea on how to fix that is more simple than re-install I am all ears.
     
  20. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #20
    As Weasleboy said just run the installer and all your user files should be left alone and intact. It takes very little time. You should backup the "install Mac OS X" file prior to running it as it will delete itself after you run it. If you need it ever again copy the file back to your Mac app location or wherever and run it without needing to download again. You could also make bootable installers and the like from it.
     
  21. calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #21
    I am genuinely curious, from where did you extract that this was the problem?

    As far as I can tell the OP has no problem as it stands right now. The OP reinstalled Office and presumably it is now working.

    In other words, there is NOTHING to fix.
     
  22. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #22
    Uh. I thought he said he did and it did not fix it. "I did it but..."
    But on closer inspection caffeine has failed me today:eek:
    There appears to be NOTHING to fix. And I was so over the top excited.
    So sorry. Have pity on my sad soul.
     
  23. calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #23
    It is all good. After all, you are pro. :rolleyes:
     
  24. macuser1232 thread starter macrumors 6502a

    macuser1232

    Joined:
    Jan 20, 2012
    #24
    Yes, I fixed the problem by inserting the Microsoft Office CD back into my computer and reinstalling it. Also what I am going to do is purchase an external hard drive and backup all my User files including a download of OS X Mountain Lion in my downloads folder. Then reinstall the OS.
     
  25. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #25
    lol.:D
     

Share This Page