Hi @VRoma.2
the package openssh-sftp belongs to the Starter Kit image and should not be removed as we do not provide it through the package repository service. That explains why you don't find it on our packages server. I am sorry to have misled you and let you uninstall the package.
To bypass this trouble, either you reflash your board with the Starter Kit image or you build the openssh-sftp package through Yocto, copy it into your board and install it with the command apt-get install ./openssh-sftp_8.2p1-r0.deb.
The missing of /usr/libexec/sftp-server is quite unexpected too. This binary program is also provided by default in the Starter Kit image (and so can't be downloaded from our package server) through the package openssh-sftp-server:
root@stm32mp1:/# dpkg -S /usr/libexec/sftp-server
openssh-sftp-server: /usr/libexec/sftp-server
root@stm32mp1:/# apt-cache policy openssh-sftp-server
openssh-sftp-server:
Installed: 8.2p1-r0
Candidate: 8.2p1-r0
Version table:
*** 8.2p1-r0 100
100 /var/lib/dpkg/status
If you had a specific image for your board, please check the packages openssh-sftp and openssh-sftp-server are included into your image.
Best regards,
--JM