My computer have dual boot (Windows 8.1 and Elementary OS Freya - Ubuntu 14.04). Today, After installing updates on my windows partition Elementary OS loaded into a black screen. I've already encountered problems with my nvidia driver before, so I've tried to enter the terminal (ctl+alt+f1/7) and re-install the nvidia drivers.
sudo apt-get purge nvidia*
But then I got the error message
apt-get syntax error "(" unexpected
I've tried to enter recovery mode and repair dpkg, but it seems dpkg was corrupted somehow.
I'm fairly new to Linux, and I'm having hard time diagnosing the problem (not to mention, Solve it). is it the nvidia driver? dpkg? or maybe something else (or all combined?)
Any kind of help will be highly appreciated.