https://bugs.kde.org/show_bug.cgi?id=375188

            Bug ID: 375188
           Summary: QApt::Backend::removePackages() does not remove
                    dependent packages
           Product: libqapt
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: sit...@kde.org
          Reporter: a.moro...@drweb.com
  Target Milestone: ---

QApt::Backend::installPackages() honors dependencies but
QApt::Backend::removePackages() does not.

Let there are a package A and a package B which depends on A.
If I remove A with QApt::Backend::removePackages() B is not removed.

If I use QApt::Package::setRemove and QApt::Backend::commitChanges() B is
removed:

QApt::Backend *backend = ...
QApt::Package *pkg = backend->package("A");
pkg->setRemove();
backend->commitChanges();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to