[SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed

Started by jstrebel, May 25, 2015, 11:37:41 AM

Previous topic - Next topic
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

May 26, 2015, 07:50:01 AM #2 Last Edit: May 26, 2015, 08:56:11 AM by jstrebel
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. :)
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT


Good to know. I changed to RAM usage as well for my VM.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

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? :)
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

* weust runs
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

You'll even get karma for this.... :D
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

You too for giving me karma :-)
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

We're stuck in an endless loop then.
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

10 echo "We're stuck in a loop"
20 goto 10

Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.