Software installation on brand new device not possible (no space left on device)

I want to install dockerd (and later docker) on my brand new GL-AXT1800. Nothing else is installed (except LuCI), but I ran in a “No space left on device” error.

Before installation I can see 99% (54 MB) free in LuCI software management. Dockerd has only 16 MB. So what is the problem? And can I extend usable memory?

After the broken installation attemp no space left on device. How can I delete the corrupt installation packgesa (without to make a factory reset)?

Collected errors:
 * pkg_write_filelist: Failed to open //usr/lib/opkg/info/containerd.list: No space left on device.
 * opkg_install_pkg: Failed to extract data files for containerd. Package debris may remain!
 * opkg_install_cmd: Cannot install package dockerd.
 * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.

Docker has dependencies, which themselves probably have dependencies.

root@GL-AXT1800:~# opkg info dockerd
Package: dockerd
Version: 20.10.17-1
Depends: libc, btrfs-progs, ca-certificates, containerd, libdevmapper, libnetwork, tini, libseccomp, iptables-mod-extra, kmod-br-netfilter, kmod-ikconfig, kmod-nf-conntrack-netlink, kmod-nf-ipvs, kmod-nf-nat, kmod-veth
Status: unknown ok not-installed
Section: utils
Architecture: aarch64_cortex-a53
Size: 14730051
Filename: dockerd_20.10.17-1_aarch64_cortex-a53.ipk
Description: The Docker CE Engine.

I’d suggest logging in via ssh and running

opkg remove dockerd --force-depends

If that doesn’t work, you might start with some of the packages above that it would have installed, beginning probably with containerd.

(actually, you might be ok just doing

opkg remove containerd

since that’s a 33MB dependency)

To use docker on AXT1800 you have to use exroot to intall on TF card.

The flash is not big enough.

1 Like