Curl: (23) Failed writing body (636 != 16366)

I am trying to upgrade our routers from 1.3 to 1.4 and keep getting the following?

~$ add system image VyOS Community
Trying to fetch ISO file from VyOS Community
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
76 453M 76 346M 0 0 4916k 0 0:01:34 0:01:12 0:00:22 4673k
curl: (23) Failed writing body (636 != 16366)

curl: (23) Failed writing body (636 != 16366)
Unable to fetch ISO from VyOS Community

Wasn’t letting me add a 3rd "link: to my post

From the docs


CURLE_WRITE_ERROR (23)

An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.

Try to check the free amount of disk size.
df -h

This is what I got

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 41M 352M 11% /run
/dev/sda1 2.0G 1.6G 257M 87% /usr/lib/live/mount/persistence
/dev/loop0 363M 363M 0 100% /usr/lib/live/mount/rootfs/1.3-rolling-202004260117.squashfs
tmpfs 2.0G 0 2.0G 0% /usr/lib/live/mount/overlay
overlay 2.0G 1.6G 257M 87% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 32K 2.0G 1% /tmp
none 2.0G 120K 2.0G 1% /opt/vyatta/config

It seems you don’t have enough space for update.