When I am trying to upgrade Latest generic kernel for 18.04 because I was having issues with Ubuntu freezing while I am doing my development works, when lot of tabs open etc. So i found a solution in stackoverflow requesting to update generic kernal, so I did this by sudo apt install — install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
mentioned here
I got the following error how to solve this
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package —
E: Unable to locate package install-recommends