I have tried parrot-upgrade and apt-update but the linux headers aren’t upgrading and I am on parrot 4.10
Try: sudo apt-get install linux-headers-generic
Or: sudo apt-get install linux-headers-$(uname -r)
$ = amd64 in your case.
Try to download the headers from here and install them manually.
use dpkg -i packagename.deb