Autofs install "unable to locate package autofs"

Tried autofs but wasn’t working so decided to start fresh. After reinstalling OSMC to newest version through microsd. Tried installing autofs but getting the error message below. Confirmed internet is working on device by downloading from the app store. Thanks for any help.

osmc@osmc:~$ sudo apt-get install autofs
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package autofs

Run sudo apt-get update first

That did it. Thanks!