What is it that you're trying to install? The error you're encountering is a bug but before we tell you how to get rid of it, some more information is needed. Read the link in my signature line about writing a quality post.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.