'unexpected end of file or stream' on installing foundationdb-server 6.3.13 for Ubuntu

foundationdb-client installs successfully, however using dpkg to install the foundationdb-server gives the following error -

(Reading database ... 322528 files and directories currently installed.)
Preparing to unpack .../foundationdb-server_6.3.13-1_amd64.deb ...
Unpacking foundationdb-server (6.3.13) ...
dpkg-deb (subprocess): cannot copy archive member from '/home/yashrajkakkad/Downloads/foundationdb-server_6.3.13-1_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: paste subprocess returned error exit status 2
dpkg: error processing archive /home/yashrajkakkad/Downloads/foundationdb-server_6.3.13-1_amd64.deb (--install):
 cannot copy extracted data for './usr/sbin/fdbserver' to '/usr/sbin/fdbserver.dpkg-new': unexpected end of file or stream
Processing triggers for systemd (245.4-4ubuntu3.6) ...
Errors were encountered while processing:
 /home/yashrajkakkad/Downloads/foundationdb-server_6.3.13-1_amd64.deb

Used this command, in case it wasn’t clear -

sudo dpkg -i ~/Downloads/foundationdb-server_6.3.13-1_amd64.deb

Am I doing something wrong? Any help would be appreciated!

Can you try verifying the sha256 checksum of the server deb? I tried just now in the ubuntu:latest docker image and it seemed to work ok.

Thank you very much! The problem was a faulty download. This helped!