How did you update the packaging?

Here is my approach,
Is there a better way?

opkg update
opkg list-upgradable
//If there is an update
opkg list_installed | sed 's/ - .*//' | sed 's/^/opkg -V upgrade /' | sh
reboot

Build / install a new image, as (a) overwriting what is already in flash is going to fill up your overlay file system, and (b) you can't upgrade the kernel, kernel modules, and perhaps busybox and a couple others.

1 Like
  1. Make a list of installed packages (exclude dependencies)
  2. Backup your router config
  3. Boot router into failsafe & run factory reset/firstboot
  4. Restore router config
  5. Install list of packages
  6. Reboot