Was Pakistans government aware that Osama bin Laden was hiding?
Pakistans government is not monolithic, and not all parts of it communicate with the other parts. Some parts are actively hostile to the West. I am sure that there are people in the ISI (intelligence agency) who knew that Bin Laden was there, and helped to protect him. There were almost certainly many others in other departments who had no idea. The USA did not inform Pakistan before the raid because it was afraid that sympathizers of Bin Laden might tip him off.