All, I have an image that is based off of core-image-minimal that uses opkg for the packaging system. My latest build is on the morty release and I'm working on updating a more recent release. Things are generally working on the dunfell release but I'm having an upgrade problem related to busybox.
I'm testing my system upgrade as follows: opkg update opkg --download-only upgrade opkg upgrade When I upgrade in this manner, some commands provided by busybox are not available during the upgrade process. Update-alternatives removes the links to busybox, which on my system then leaves no alternatives for rm and sed. Some other packages, such as util-linux, then attempt to use rm and sed in their upgrade process and are unable to delete the package's old files. At the end of the upgrade process update-alternatives installs all the new links. Busybox upgrades just fine but several packages do not upgrade successfully because certain files could not be removed. I see a commit which looks like it is supposed to fix this situation: https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/busybox/busybox.inc?h=dunfell&id=3a035bd0a06a6ded4d0ce7e35a3bce42245727d2. I've verified this commit is present in my local working copy, and I've verified that the additions from this commit are present in the postinst script for busybox. Does this need to occur at a different point in the upgrade process so rm and sed are available to other packages during upgrade? Thanks, Bryan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157185): https://lists.openembedded.org/g/openembedded-core/message/157185 Mute This Topic: https://lists.openembedded.org/mt/86443182/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
