Where does OS X keep my Software Update .pkgs?

Posted:
in macOS edited January 2014
Where does OS X Software Update keep the .pkg files that I've downloaded previously?



It would be a real timesaver if I could simply drag a downloaded .pkg file to another computer rather than waiting on it to download again!

Comments

  • Reply 1 of 6
    hypoluxahypoluxa Posts: 694member
    Quote:
    Originally Posted by Messiah View Post


    Where does OS X Software Update keep the .pkg files that I've downloaded previously?



    It would be a real timesaver if I could simply drag a downloaded .pkg file to another computer rather than waiting on it to download again!



    In your Mac HD/Library/Receipts folder
  • Reply 2 of 6
    messiahmessiah Posts: 1,689member
    Mmmm... that's strange... all the Office 2008 .pkg files are there... but none of the Apple Software Update files are there.



    Also, the Office 2008 files that are there are only a few hundred KB in size ? but the originals were several hundred MB in size.



  • Reply 3 of 6
    karl kuehnkarl kuehn Posts: 756member
    The previous SoftwareUpdates are not stored, only records about them. Storing them would just waste space. So if you use SoftwareUpdate to pull down the updates, they are gone once you apply them. While they are waiting to be installed they wait in /Library/Updates.
  • Reply 4 of 6
    messiahmessiah Posts: 1,689member
    Quote:
    Originally Posted by Karl Kuehn View Post


    The previous SoftwareUpdates are not stored, only records about them. Storing them would just waste space. So if you use SoftwareUpdate to pull down the updates, they are gone once you apply them. While they are waiting to be installed they wait in /Library/Updates.



    Ah!



    Nice one, thanks for that!
  • Reply 5 of 6
    bbwibbwi Posts: 812member
    Just reinforcing what Karl said.



    Any software that has a pkg also has a Bill Of Materials file. This is simply a list of individual files that the pkg needed to install itself so that if you need to uninstall the software it's very easy



    As an FYI if you didn't know already... if a piece a software was installed from a pkg then it should also have an uninstall.pkg and you should use it.
  • Reply 6 of 6
    Quote:
    Originally Posted by bbwi View Post


    Any software that has a pkg also has a Bill Of Materials file. This is simply a list of individual files that the pkg needed to install itself so that if you need to uninstall the software it's very easy



    With the new flat-file format BOMs are no longer stored in /Library/Receipts. Instead the same basic information is stored in a new database in /Library/Receipts/db. But even this list of files is still dangerous to use as a hit-list to remove things for a few of reasons:



    - it can be difficult to know when multiple programs all depend on the same files



    - scripts can modify important files, and none of the systems necessarily catch that (things like /etc/authorization can be nasty if they get out of sync)



    - it is hard to know how to reverse changes to files (think preference files)



    The whole uninstalling things is a really nasty problem, and every solution I have seen for it (on any platform) has major problems with it.



    Quote:

    As an FYI if you didn't know already... if a piece a software was installed from a pkg then it should also have an uninstall.pkg and you should use it.



    I don't know where you have seen uninstall.pkg's, but they are relatively rare, and difficult to do without making dangerous assumptions. The new database for the flat-file format is a step in trying to make this solvable later, but my personal opinion is that it is a step in the wrong direction there.
Sign In or Register to comment.