orphaned, removing

104 views
Skip to first unread message

mark.van....@gmail.com

unread,
Mar 24, 2016, 5:48:52 AM3/24/16
to opkg-devel
Regarding opkg v0.2.4 and opkg v0.3.0.

opkg detects that a package is auto installed and is orphaned, then it deletes the package.

This happens with
- opkg install <package>
- opkg upgrade

This could be a correct decision or not, but I would like to disable auto-removing. Can this be configured?

While using search engines, I can not find a yes or no to this question?


Opkg Message:
coreutils was autoinstalled and is now orphaned, removing.

Alejandro del Castillo

unread,
Mar 24, 2016, 11:23:28 AM3/24/16
to opkg-...@googlegroups.com, mark.van....@gmail.com
On 03/24/2016 04:48 AM, mark.van....@gmail.com wrote:
> Regarding opkg v0.2.4 and opkg v0.3.0.
>
> opkg detects that a package is auto installed and is orphaned, then it deletes the package.
>
> This happens with
> - opkg install <package>
> - opkg upgrade
>
> This could be a correct decision or not, but I would like to disable auto-removing. Can this be configured?

If you check opkg_install.c, you'll see that during an upgrade, the function
pkg_remove_orphan_dependent is removing auto_installed dependencies from the
old_pkg that are no longer dependencies on the new_pkg. Not doing so would leave
dependencies not required by any package dangling. This is by design, so it's
not configurable.

Hope this helps

--
Cheers,

Alejandro
Reply all
Reply to author
Forward
0 new messages