apk delete should not try delete 'required-by' packages
when running ‘apk del pkg’ and pkg is a dependency for other packages, apk should print a warning with full list of packages that needs it, and then only remove it from world, rather than just exit with error.
We could have ‘apk del -r’ to delete the reverse dependencies recursively (current behaviour) and maybe -i to interactively ask for confirmation.
This would be more compatible with apk-tools-0.15.
(from redmine: issue id 47, created on 2009-06-22, closed on 2009-08-19)
- Relations:
- relates #69 (closed)
- Changesets:
- Revision 6f8526da by Timo Teräs on 2009-08-04T07:57:33Z:
del: add '-r' to remove top-level dependencies recursively
and by default just update the world, and dump a lost of packages
that are not removed. fixes #47.