Skip to content

Add code to check if package is orphaned

Andrey Yashkin requested to merge andreyyashkin/libqapt:orphaned_state into master

libqapt already provides a state QApt::Package::Orphaned, but does not calculate it. This patch fixes this problem.

Some package which could be called orphaned will not be maked as orphaned:

  • kile-l10n is in requiredByList of kile
  • kile is in requiredByList of kile-l10n
  • kile-l10n can be removed without breaking any dependency

I would personally mark kile-l10n as orphaned too. However, this problem is also exists in deborphan

Edited by Andrey Yashkin

Merge request reports

Loading