Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Fix a Disk Utility error showing 'No Valid Packages' System
This hint may seem obvious, but it may save many people a lot of time and trouble with reinstalls. I ran Repair Permissions from Disk Utility and got the following error: "Error: No valid packages (-9997)." Going to Apple's website for help, I found this page, wherein Apple believes a full reinstall is needed to get the file BaseSystem.pkg back in the /Library » Receipts folder, which is what causes this error.

I've spent a lot of time getting everything right on my Mac, and do not want the hassle of doing it all over again. So I inserted my install disc and ran a search for the file. Sure enough, I found it and copied it to /Library/Reciepts. When I next ran Repair Permissions, it ran perfectly, not even needing a restart before trying to do so.

[robg adds: I'm not willing to delete my BaseSystem.pkg receipt to test this one! On the Tiger Retail disk, you'll find the 1.8MB BaseSystem.pkg file here: System » Installation » Packages. Note that Apple's first recommendation is copying this file from another computer (running the same version of the OS), but advocates reinstalling if you've only got an install disc with an older version of OS X than that of the computer (which will be true for most everyone).]
    •    
  • Currently 3.25 / 5
  You rated: 5 / 5 (8 votes cast)
 
[24,831 views]  

Fix a Disk Utility error showing 'No Valid Packages' | 7 comments | Create New Account
Click here to return to the 'Fix a Disk Utility error showing 'No Valid Packages'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix a Disk Utility error showing 'No Valid Packages'
Authored by: skapplin on Mar 19, '07 09:09:22AM

Note that what you copied to the Receipts folder is the entire installer. The actual receipt does not contain the files and applications that have been stripped out of the package. The resulting receipt is a much smaller file.

You've actually copied the entire installer package complete with the entire OS X base system files. This is exactly why Apple's recommendation is to reinstall.

Obviously an easier and the better solution is to get a copy of the BaseSystem.pkg receipt file from another computer.



[ Reply to This | # ]
…with the same OS version
Authored by: boredzo on Mar 19, '07 06:51:55PM

in order to avoid problems. (Same CPU architecture, too—that is, don't mix PPC with Intel.)



[ Reply to This | # ]
Fix a Disk Utility error showing 'No Valid Packages'
Authored by: DanFrakes on Mar 19, '07 09:10:45AM
    So I inserted my install disc and ran a search for the file. Sure enough, I found it and copied it to /Library/Reciepts. When I next ran Repair Permissions, it ran perfectly, not even needing a restart before trying to do so.

It may have appeared to run perfectly, but that doesn't mean it did ;-) Unless you're running the same version of OS X as the one on your Install disc, you're using a package that differs from the one that actually matches your OS X installation. If you're going to copy this file from another location, you should find someone running the same version of OS X as you.

---
Dan Frakes / Senior Editor, Macworld / Senior Reviews Editor, Playlist

[ Reply to This | # ]

Fix a Disk Utility error showing 'No Valid Packages'
Authored by: afb on Mar 19, '07 01:22:25PM

Anyone know definitively if the install receipt is exactly the same for an intel mac as a ppc one?



[ Reply to This | # ]
Fix a Disk Utility error showing 'No Valid Packages'
Authored by: applesjgtl on Mar 19, '07 07:47:19PM
You should have used Pacifist http://www.charlessoft.com/)

[ Reply to This | # ]
Fix a Disk Utility error showing 'No Valid Packages'
Authored by: filchy on Mar 20, '07 08:32:37AM

My BaseSystem.pkg receipt file shows a creation and modification date of nearly two years ago when I installed Tiger, so I would also assume that it is safe to use the version from the install DVD. In fact, my receipt file and the BaseSystem.pkg file on the install DVD are both 1.9MB. I, too, would have thought the receipt would be much smaller than the install file.



[ Reply to This | # ]
Fix a Disk Utility error showing 'No Valid Packages'
Authored by: softciy on May 21, '08 02:29:36PM

I had the same error. I was booted in under Tiger and was trying to repair permissions on a partition containing Leopard.
I did a search in spotlight, found the BaseSystem.pkg, double clicked it, it installed whatever, and then I ran diskutil to repair perms again on the Leopard partition and it worked. Now I got to see if the Leopard partition is bootable. Cause currently it it not showing up as being a bootable disk under Startup.



[ Reply to This | # ]