Try methods described here and tell if it helped or not:
sudo add-apt-repository ppa:thierry-f/fork-michael-gruz
sudo apt install cnijfilter2 scangearmp2 cndrvcups-utility
Depends on your device, search for cnijfilter (for printing) or
scangearmp (for scanning) in Synaptic package manager (install it via
Ubuntu Software).
And finally select install the driver that is match for your device.
And it’s OK to install i386 only package on 64-bit Ubuntu.
If these packages have been installed, uninstall them:
sudo apt purge cnijfilter2 scangearmp2 cndrvcups-utility && sudo apt autoremove
and try again.
During upgrade kernel and some system libs have been changed. So it could be the main cause of your issue.