%
image/svg+xml

OpenWRT : opkg upgrade (tips)

howto upgrade packages on OpenWRT with the tool opkg!

Details about this article

Article published the
; modified the
One minute to read

This article has 110 words.

Uniq IDentifiant: tag:doc.huc.fr.eu.org,2020-02-24:/en/sys/openwrt/opkg-upgrade


RAW source of the article:
Commit version: 9bf3d7b


This article is also available on Gemini Protocol:
gemini://gmi.it-log.fr.eu.org/en/sys/openwrt/opkg-upgrade.gmi


Deprecated
opkg → apk

Description

OpenWRT has a native tool to manage package: opkg.

But, by default, there are not plan to upgrade easily all packages, even upgrade option exists.

This is the tips:

# for name in `opkg list-upgradable | awk '{print $1}'`; do opkg upgrade "${name}"; done

Or, if you you have created a user who has the right to use the sudo command:

$ for name in `sudo opkg list-upgradable | awk '{print $1}'`; do sudo opkg upgrade "${name}"; done


Enjoy-ID!
Enjoy-IT!