A critical update is available. Please upgrade! But when going to upgrade shows up to date

Typically, just doing updates from web should be fine, you just seem to have accidentally gotten into a weird state, which is why you’ll have to do a rebuild.