<div dir="ltr"><div>Ran across this problem, so sharing what I came up with as a workaround.</div><div><br></div><div>Basically, you update OpenWRT using opkg, and I have this script that automates the process.</div><div><br></div><div>#!/bin/sh<br><br>opkg update                                   <br>                                              <br>LIST=`opkg list-upgradable | awk '{print $1}'`<br>if [ "$LIST" != "" ]; then<br>  opkg upgrade $LIST               <br>fi<br></div><div><div><br></div><div>The above is in a script called /etc/custom/upgrade.sh</div><div><br></div><div>This router has 8MB of flash, which is the minimum for OpenWRT.</div><div>Even so, it could not update libssl because of lack of space. <br></div><div><br></div><div>The trick was to uninstall something that ate up a lot of space, then install it again after</div><div>libssl gets updated.</div><div><br></div><div>This script did it for me:</div><div><br></div><div># This script removes Luci, so as to allow space for other<br># packages to be upgraded.<br># Use it if you run out of space during an upgrade<br><br>LIST_FILE=list.txt<br><br># Get a list of Luci packages<br>opkg list-installed  | grep luci | awk '{print $1}' > $LIST_FILE<br><br># Run remove on them until all removed<br>for i in 1 2 3 4 5 <br>do <br>  opkg remove `cat $LIST_FILE`<br>done<br><br># Now do the upgrade for libssl<br>/etc/custom/upgrade.sh <br><br># Reinstall luci<br>opkg install luci-ssl<br><br>rm $LIST_FILE<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal performance optimization, hosting and consulting.<br>"Sooner or later, this combustible mixture of ignorance and power is going to blow up in our faces." -- Dr. Carl Sagan</div></div></div></div>