Packages are not installed properly

When i try to add/install a package i am getting the error

This happens for other packages also

Can anyone suggest how can i resolve the issue ?