OPNsense Forum
Archive => 15.1 Legacy Series => Topic started by: jstrebel on May 25, 2015, 11:37:41 am
-
Hi,
I tried to upgrade from 15.1.10.1 to 15.1.11.1 and get the following message:
The process will require 126 MiB more space.
44 MiB to be downloaded.
pkg: Not enough space in /var/cache/pkg, needed 44 MiB available 38 MiB
*** Welcome to OPNsense 15.1.10.1-4b197af1e (amd64) on OPNs-tst ***
I followed the instruction and executed before pkg2ng
Jakob
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ufs/OPNsense0 958263 585959 295643 66% /
devfs 1 1 0 100% /dev
/dev/md0 39196 60 36004 0% /tmp
/dev/md1 59036 15588 38728 29% /var
devfs 1 1 0 100% /var/dhcpd/dev
-
You probably did run a liveCD.
You may want to install OPNsense prior to an upgrade. Use console menu point 99) to initiate the hard disk install.
Hope that helps.
See : Memory Disks (https://www.freebsd.org/doc/en/books/handbook/disks-virtual.html)
-
I did a console update. (Menue 12). I'am Running a nano image on it.
It looks to me the root cause is in the fact that I was omitting a release. The second Box where I did a sequntial upgrade performed well.
jakob
Gesendet von iPhone mit Tapatalk
-
Jakob, the MFS for /var is too small for the update. All files to be upgraded are downloaded to this partition. Under "System: Settings: Misc.: /var RAM Disk Size" set it to 100 MB or more, depending on your available RAM. Afterwards reboot and rerun the update. :)
-
Franco, thanks. It worked. J
-
Good to know. I changed to RAM usage as well for my VM.
-
One of the "whoops" moments -- /var/cache/pkg is used to fetch packages. We can probably up that limit, but that's a never-ending arms race. We can use tmpfs for /tmp and /var, these can adapt to whatever is available without specifying an upper bound. Anybody willing to look into that as an exercise? :)
-
/me runs
-
You'll even get karma for this.... :D
-
You too for giving me karma :-)
-
We're stuck in an endless loop then.
-
10 echo "We're stuck in a loop"
20 goto 10