I tried to install wine. Since it was taking more than an hour I restarted the system.
I found the following error when I tried to open synaptic package manager.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
Due to this error I could not open synaptic manager. Hence I could not even add anything to repositories.
I have to install many other softwares and I am stuck now.
how to solve this? please help
sudo apt-get update