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

**URL:** <https://forums.foundationdb.org/t/unexpected-end-of-file-or-stream-on-installing-foundationdb-server-6-3-13-for-ubuntu/2730>\
**Category:** Using FoundationDB\
**Created:** [June 5, 2021, 2:03pm UTC](https://forums.foundationdb.org/t/unexpected-end-of-file-or-stream-on-installing-foundationdb-server-6-3-13-for-ubuntu/2730 "2021-06-05T14:03:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashrajkakkad](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/yashrajkakkad/32/1097_2.png) [@yashrajkakkad](https://forums.foundationdb.org/u/yashrajkakkad)\
**Post date:** [June 5, 2021, 2:03pm UTC](https://forums.foundationdb.org/t/unexpected-end-of-file-or-stream-on-installing-foundationdb-server-6-3-13-for-ubuntu/2730/1 "2021-06-05T14:03:55Z")

</div>

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

```auto
(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 -

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

```

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

---

<div class="post-metadata">

**Author:** ![andrew.noyes](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/andrew.noyes/32/443_2.png) [@andrew.noyes](https://forums.foundationdb.org/u/andrew.noyes)\
**Post date:** [June 5, 2021, 6:08pm UTC](https://forums.foundationdb.org/t/unexpected-end-of-file-or-stream-on-installing-foundationdb-server-6-3-13-for-ubuntu/2730/2 "2021-06-05T18:08:22Z")

</div>

Can you try verifying the [sha256 checksum](https://www.foundationdb.org/downloads/6.3.13/ubuntu/installers/foundationdb-server_6.3.13-1_amd64.deb.sha256) of the server deb? I tried just now in the ubuntu:latest docker image and it seemed to work ok.

---

<div class="post-metadata">

**Author:** ![yashrajkakkad](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/yashrajkakkad/32/1097_2.png) [@yashrajkakkad](https://forums.foundationdb.org/u/yashrajkakkad)\
**Post date:** [June 6, 2021, 3:42am UTC](https://forums.foundationdb.org/t/unexpected-end-of-file-or-stream-on-installing-foundationdb-server-6-3-13-for-ubuntu/2730/3 "2021-06-06T03:42:26Z")

</div>

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