I recently just upgraded Ubuntu from 16.04 to 19.1. When I tried using 19.1 it got all sorts of bugs which I think might be because of the older version of Ubuntu. This is one of the errors I encountered.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Is there a way to remove the older version of Ubuntu(16.04) from my computer? Thanks!