pkg.update files left from public beta. How to remove?

Discussion in 'OS X El Capitan (10.11)' started by jbachandouris, Apr 9, 2016.

  1. jbachandouris macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #1
    I am no longer part of the beta program, but the files remain. I assume the files are hidden. I'm sure a clean install would do it, but I'd rather not as I would have to restore what I need from my Time Capsule. Ideas?




    Processing files from package com.apple.pkg.update.os.10.11.1PublicBeta.15B38b...

    Processing files from package com.apple.pkg.update.os.10.11.1PublicBeta.15B30a...

    Processing files from package com.apple.pkg.update.os.10.11.1PublicBeta.15B22c...

    Processing files from package com.apple.pkg.update.os.10.11.1PublicBeta.15B17c...
     
  2. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #2
    These are just the package lists of previous installers. The system does not remove them, in case permissions have to be repaired. This does not necessarily mean that any files are left. Every system update, every App Store app and every app you installed with Apple’s installer application will leave such a package list, even if they have long since been removed.

    Why does it bother you? You can remove them, but it is not recommended.
    Code:
    pkgutil --pkgs
    sudo pkgutil --forget package_id
     
  3. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #3
    I was just concerned about the space as I have a 250GB SSD.
     
  4. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #4
    Well, this isn’t it. ;)

    When you installed El Capitan from the App Store after the beta, you used the full installer that automatically removed pretty much everything from the system directories, per Apple’s new policy. If anything was left, then it would have ended up in Macintosh HD/Library/SystemMigration (if you have that folder, you can just remove it).
     
  5. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #5
    System Migration will not delete (well, it won't allow me to empty trash).
     
  6. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #6
  7. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #7
    Does that System Migration take up any significant amount of space?
    I have that folder, too, after multiple reinstalls. But it uses less than 1MB of disk space, so not a great advantage to deleting it anyway.
     
  8. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #8
    Mine was about 800 MB in size back then.
     
  9. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #9
    Ok...now I can't even find the folder to see how much space it is taking up. Onyx sees it though, so the files are there somewhere. I even tried showing hidden files.
     
  10. TrenttonY macrumors 6502a

    Joined:
    Nov 14, 2012
    #10
    Does anyone know why I still have the Feedback Assistant even though I unsubscribed from the beta program and have updated to the latest public release?
     
  11. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #11
    The Feedback Assistant is there primarily to support the betas, but I suppose you can use it at any time.
    If you don't anticipate providing feedback to Apple, then delete the assistant.
    You will probably need to disable SIP to remove that feedback app, because it resides in the System folder.
    Other folks will often say that you should not modify anything in the System folder, so it would be at your own risk to do that.

    To answer your question more directly, I still have the Feedback Assistant, because I reinstalled from the beta to full release, and the Feedback Assistant was not removed automatically.
     
  12. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #12
    Still unable to delete these files. The sudo command did nothing, but give an error.

    Code:
    pkgutil --pkgs
    sudo pkgutil --forget package_id

    As for why does it bother me? It does. No other reason.

    Worst case scenario, I'll do a clean install when Sierra comes out.
     
  13. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #13
    If you used those commands, as written, then it's not surprising you get an error, as that won't work.
    You have to modify the second command with the results of the first.

    Use the first to get the update package id, which will have a list of those. Keep track of the actual package names listed there. Then enter the second, replacing "package_id" with the actual PublicBeta pkgs resulting the first command.

    If that still doesn't work, come back with the exact error message that you get.
     
  14. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #14
    ohn-C-Bachandouriss-MacBook-Pro:~ jbachandouris$ sudo --forget com.apple.pkg.os.OSXElCapitanPublicBetaAccessUtility.10.11.14U1088

    sudo: illegal option -- -

    usage: sudo -h | -K | -k | -L | -V

    usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]

    usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u

    user name|#uid] [-g groupname|#gid] [command]

    usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user

    name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]

    usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user

    name|#uid] file ...
     
  15. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #15
    The error (in this case) - You (with a bit of irony) "forgot" to enter the actual command (includes pkgutil)!
    The command has to be complete and correct before it will work, or you might get unexpected results, or just an error.
    Code:
    sudo pkgutil --forget com.apple.pkg.os OSXElCapitanPublicbetaAccessUtility.10.11.14U1088
     
  16. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #16

    John-C-Bachandouriss-MacBook-Pro:~ jbachandouris$ sudo pkgutil --forget com.apple.pkg.os OSXElCapitanPublicbetaAccessUtility.10.11.14U1088

    No receipt for 'com.apple.pkg.os' found at '/'.
     
  17. DeltaMac, Jul 5, 2016
    Last edited: Jul 5, 2016

    DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #17
    That means that package is gone, and also means you were successful in removing it.
    Good job!

    If you are not yet confident about that result, re-run the first command again, which will show you that the package file is no longer present.
    Or, you will find out that you have still misspelled (or mis-typed) the name of the package that you want removed, and the listing will again show you how it SHOULD be spelled.
    I'm not sure, but looking at your first post, you might want to try something like:
    Code:
    sudo pkgutil --forget com.apple.pkg.update.os.10.11.1PublicBeta.15B38b
    you will want to verify that package name from the list after running the first command again.

    note: Removing the package list file (receipt) is not terribly useful in any case, and you can still choose to ignore it. :D
     
  18. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #18
    I copied and pasted, so no, I did not misspell. And no, the entry was not deleted.
     
  19. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #19
    What, exactly, did you cut and paste?
    Your previous posts all show incorrect or incomplete entries, probably including the last one that you posted, because you are the only one that can verify that the file name is correct and complete. It's on your system...

    I apologize for not explaining this a little better - but the short answer is - you need to use the commands in the terminal, they have to be correct, and they have to be complete. The actual names for the packages that you want to delete has to be used in the command as they are spelled in your system (and the earlier suggestions that I gave, were just that, suggestions. You have to verify what the names are on your own system.
    If the command is not complete, or the name of the file on your system is not complete, or misspelled in the command, then you won't get your desired result.
    That's all you need :D
     
  20. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #20
    The exact name of the packages have been copied and pasted from the results of the first command. I have even shown you exactly what has been entered. The result is always an error. The command does not work.
    --- Post Merged, Jul 5, 2016 ---
    com.apple.pkg.os.OSXElCapitanPublicBetaAccessUtility.10.11.14U1088 is an entry provided from running the first command. (this has been copied and pasted)

    sudo pkgutil --forget com.apple.pkg.update.os.10.11.1PublicBeta.15B38b is the command I entered.

    Unknown error Error Domain=NSCocoaErrorDomain Code=4 "“com.apple.pkg.update.os.10.11.1PublicBeta.15B38b.bom” couldn’t be removed." UserInfo={NSFilePath=/var/db/receipts/com.apple.pkg.update.os.10.11.1PublicBeta.15B38b.bom, NSUserStringVariant=(

    Remove

    ), NSUnderlyingError=0x7fc9d2e0e870 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}.

    Forgot package 'com.apple.pkg.update.os.10.11.1PublicBeta.15B38b' on '/'. is the result.

    I re-run the first command and the package file is still there. So, what am I missing? At this point, it's a challenge. I'm not letting a computer beat me.
     
  21. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #21
    You are missing the opportunity to ignore those files, I suppose.
    :D

    I expect that if you reinstalled the current El Capitan installer, those beta "stickies" would conveniently disappear, as part of the cleanup process that a reinstall does.
    Go to the System Preferences/App Store pref pane, and click on the Change.. button to stop notification of beta updates
    and,
    Done.

     
  22. jbachandouris thread starter macrumors 68040

    jbachandouris

    Joined:
    Aug 18, 2009
    Location:
    Upstate NY
    #22
    --- Post Merged, Jul 5, 2016 ---
    Whatever I give up. It errors out no matter which package I choose. The installer just happens to be the example I chose.
     

Share This Page