How to fix ^GPT PMBR size mismatch (A != B) will be corrected by write^

SInce I upgraded to new hardware where I attached SATA-SSDs previously connected via USB to SATA converters, directly to a SATA-controller, ^sudo fdisk -l^ show many errors like:

  • ^GPT PMBR size mismatch (A != B) will be corrected by write^ and also
  • ^Partition does not start on physical sector boundary^ (may be related)

Some where on the internet (https://superuser.com/questions/1352065/gpt-pmbr-size-mismatch-will-be-corrected-by-write) I found that people tried to fix this using parted.

Seems tricky and risky to me.

Does someone know how to fix this (with minimal risk)?