I have a brand new installation of Ubuntu 18.04. I then ran apt-get install curl and it gave me:
Package 'curl' has no installation candidate
I then ran apt-get update and tried installing curl again and it worked this time.
The term "update" can mean lots of things. What does it mean in the above context? what was it updating given that the Ubuntu I had just installed was the latest?