Maybe first update your pve inst. before trying to install that package which might be newer from repo than your inst.
pve1:# dpkg -l |grep nfs
ii libnfsidmap1:amd64 1:2.6.2-4+deb12u1 amd64 NFS idmapping library
ii nfs-common 1:2.6.2-4+deb12u1 amd64 NFS support files common to client and server
ii nfs-kernel-server 1:2.6.2-4+deb12u1 amd64 support for NFS kernel server
The first 2 are auto-installed, the server is additional.