Verifying glibc collation versions (version and actual_version columns are empty)

With this you should be fine to upgrade. A few months ago I was in the same situation and concern but I upgraded without any issues. This is what I’m talking about: Upgrading my Ubuntu - Potential PostgreSQL index corruption when upgrading OS

Remember to backup before.