To solve this error I wen to too many articles from number of websites but none solved my problem.
Then I figured this out by my own,
To solve this error you have to restart your machine first,
then after restart you will get bios menu list where you select your operating system.
In this list Select ubuntu with recovery mode,
Recovery menu will appear, from that menu select
dpkg Repair broken packages and hit enter.