The possible answer by @Zanna suggestion.
The end-goal of the question is to make work a WiFi dongle with the infamous Mediatek chipset mt7603u, information gathered after a lengthy discussion in comments.
It isn't (and never was) supported in the Linux kernel therefore it requires manually installed drivers. Mediatek once provided such drivers that sort of worked (compilation errors, missing firmware, etc.) for old and out-of-support distros running kernel 2.6 - 3.2. In Debian/Ubuntu particularly it was hard to get it right and most users ended up buying a new one, cheaper, better and already supported ("plug'n'play"). Unlike its mt7601u sibling that by the time of Ubuntu 16.04's release had full support, this one never had and Mediatek quickly relegated it to the legacy category and never updated the proprietary driver, a very unfortunate situation.
Downgrading the kernel and/or using an obsolete End-of-Life Ubuntu release is never the answer. EoL releases don't get security updates and are dangerous to use online. EoL releases are very unlikely to support newer hardware also. Downgrading the kernel can't be done for the same reasons (EoL, unsupported) and that simply wouldn't work with a current release.
I'm afraid that given all the above, the best solution is to ditch that old (and not very good anyway) WiFi dongle and acquire a known good "plug'n'play" one. That said the OP may want to post another question with the hope of attracting the house experts (@chili555 @jeremy31 - the ones I know, please don't be offended if I din't mentioned your name). A proper question would include the mention of the chipset from the get go and at least the lsusb
result showing the exact VID:PID of the dongle or the more extensive result of the wireless script mentioned in comments.