I am using an ALIX board with debian installed and as the board only has a CF card the OS is loaded into ram when booted. This was set up this way by someone else and I am not sure how to change it or expand the ramdisk.
When trying to use apt-get, for example
apt-get install sun-java6-jdk
the ramdisk fills up before java is installed and apt-fails:
failed in write on buffer copy for backend dpkg-deb during `./usr/lib/jvm/java-6-sun-126.96.36.199/lib/visualvm/platform/modules/org-netbeans-modules-options-api.jar': No space left on device
df -h returns
Filesystem Size Used Avail Use% Mounted on
tmpfs 125M 0 125M 0% /lib/init/rw
udev 121M 84K 121M 1% /dev
tmpfs 125M 0 125M 0% /dev/shm
rootfs 125M 100M 26M 80% /
/dev/sda1 1.8G 1000M 694M 60% /ro
rootfs.tmpfs 125M 100M 26M 80% /rw
rootfs.aufs 125M 100M 26M 80% /
It is tmpfs and aufs which fill up while apt works (they seem to be the same ie fill up at the same rate) and as java needs 171MB they do not have enough space.
I tried downloading the package and then using dpkg -i root=<directory> to install java similar to in this post http://www.linuxquestions.org/questi...r-path-386763/
but I had no success with that method.