opkg list-upgradable | awk -F ' - ' '{print $1}' | xargs opkg upgrade
The command does not work with Chaos Calmer.
Maybe awk and xargs are not installed, and you need to opkg install them first? Can you make a screenshot of the error shown and post it?
Worked for me thx bro.
Thanks very much. Works like a charm.
Made a little app for this if anyone is interested. On github: https://gist.github.com/tavinus/bf6dff1c11e7c9951b829b4e33eb6076
My one-liner cents (just awk, no xargs): It is running ‘opkg update’ as well.
opkg update >/dev/null; PACKS=”$(opkg list-upgradable | awk ‘{ printf “%s “,$1 }’)” && [[ ! -z “$PACKS” ]] && opkg install $PACKS || echo $’\nNo packages to install\n’
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.
The command does not work with Chaos Calmer.
Maybe awk and xargs are not installed, and you need to opkg install them first? Can you make a screenshot of the error shown and post it?
Worked for me thx bro.
Thanks very much.
Works like a charm.
Made a little app for this if anyone is interested. On github:
https://gist.github.com/tavinus/bf6dff1c11e7c9951b829b4e33eb6076
My one-liner cents (just awk, no xargs):
It is running ‘opkg update’ as well.
opkg update >/dev/null; PACKS=”$(opkg list-upgradable | awk ‘{ printf “%s “,$1 }’)” && [[ ! -z “$PACKS” ]] && opkg install $PACKS || echo $’\nNo packages to install\n’