Hi all,
when restoring packages (obtained by opkg list-installed
) from an old installation to a fresh one today (via opkg install <those_listed_packages>
), I noticed that opkg
is performing the upgrade of the specified packages in case they are already installed and upgradable.
(I noticed now for the first time as I never used packages backup/restore in the past with just a few extra packages).
Since I've always known that bulk upgrades are discouraged, but this is in practice exactly what is happening when we grab the full list of installed packages from and old installation to the new one and feed opkg install
with it, isn't this (undocumented) opkg
behaviour a bit dangerous? Should there be an opt-in/out option for the install command to also perform upgrades of existing packages, or at least have it documented?
I know one can also keep track of user-installed packages only and just restore those, or there is opkg extras I read, but this is also about the opkg
behaviour afterall...
Just some thoughts... thanks.