Hi Jean-Roch

As you observed, upgrade was broken with the check_wget_dependency function. A fix is available in git maint and my tests for wget have shown positive results.

This is an old LEAF router with double radio which allows me to connect to a shore based WLAN network.

SALT# cat /etc/motd
LEAF Bering-uClibc 5.2.2 Rev 1 uClibc 0.9.33.2  at SALT
Linux 4.1.13-geode #1 Sat Nov 21 21:38:26 CET 2015

SALT# rm /usr/bin/wget
SALT# ln -s /bin/busybox /usr/bin/wget
SALT# upgrade -c
upgrade: WGET SSL functionality is missing, please install openssl.lrp
aborting: check_wget_dependencies
upgrade: abort check_wget_dependencies

SALT# apkg -i /mnt/openssl
openssl installed.
SALT# upgrade -c
5.2.8
upgrade: upgrade terminated successfully

This is with an old non SSL wget package

SALT# rm /usr/bin/wget
SALT# apkg -u /mnt/wget
Commit changes? (y/n)y
wget upgraded.
SALT# upgrade -c
upgrade: WGET SSL functionality is missing, please install a SSL enabled wget package
aborting: check_wget_dependencies
upgrade: abort check_wget_dependencies

SALT# rm /usr/bin/wget
SALT# apkg -u /mnt/wget-ssl
Commit changes? (y/n)y
wget-ssl upgraded.
SALT# upgrade -c
5.2.8
upgrade: upgrade terminated successfully

So it looks like the check is correct now

cheers

ET


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to