Logo Search packages:      
Sourcecode: qapt version File versions  Download package

void QApt::Package::setRemove (  ) 

Marks the package for removal.

Definition at line 906 of file package.cpp.

Referenced by QApt::Backend::markPackageForRemoval().

{
    pkgProblemResolver Fix(d->depCache);

    Fix.Clear(*d->packageIter);
    Fix.Protect(*d->packageIter);
    Fix.Remove(*d->packageIter);

    Fix.InstallProtect();
    Fix.Resolve(true);

    d->depCache->SetReInstall(*d->packageIter, false);
    d->depCache->MarkDelete(*d->packageIter, false);

    d->backend->packageChanged(this);
}


Generated by  Doxygen 1.6.0   Back to index