This caused lines like this to appear in the logs:
.../sed: couldn't open temporary file .../etc/sed6fJsn9: Permission denied
These errors caused some changes to /etc/group to be missed.
Package files are parsed to determine the dependency package
dependencies, and these are used to find the packages to download which
might be required.
This doesn't implement every detail of the opkg dependency resolution,
but instead tries to find all packages which might be required.
In particular, no attempt is made to resolve dependencies on virtual
packages (which may be provided by multiple packages) to a single
package (all providing packages are downloaded).