I am running Cinnamon on Ubuntu 16.04 LTS. Yesterday, I noticed a broken dependency, which I removed using the Synaptic Package Manager. According to my Synaptic Package Manager's History, the package linuc-image-generic was completely removed, and the package linux-generic was removed (please see first picture).

Today, when I started up my computer, it would not connect to the Internet, and a message said that it was running in software rendering mode (please see screenshot in link above), although I logged in using the regular version of Cinnamon, not the software rendering version.
I tried to reinstall the packages which were removed (please see second picture), but linux-image-generic is still listed as a broken dependency. Cinnamon is still running in software rendering mode, and I still cannot connect to the Internet. How can I fix this?

Thanks in advance!