summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-03-05* Treat the Important flag like the Essential flag with two differences:Julian Andres Klode1-0/+8
- No Immediate configuration (see above) - Not automatically installed during dist-upgrade
2012-01-29* apt-pkg/depcache.cc:David Kalnischkies1-11/+28
- if a M-A:same package is marked for reinstall, mark all it's installed silbings for reinstallation as well (LP: #859188)
2012-01-13factor out the detection of self-conflicts into Dep::IsIgnorableDavid Kalnischkies1-11/+2
2012-01-11* apt-pkg/depcache.cc:David Kalnischkies1-5/+11
- implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
2011-11-23* apt-pkg/depcache.cc:David Kalnischkies1-28/+63
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-1/+1
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-0/+3
2011-09-13merge with debian/experimentalDavid Kalnischkies1-16/+16
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-2/+2
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-2/+4
2011-08-15merged from the debian-sid branchMichael Vogt1-14/+14
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies1-14/+14
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-07-28[ABI break] merge patch from Jonathan Thomas to speed up theMichael Vogt1-2/+2
depcache by caching the install-recommends and install-suggests values
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt1-1/+1
2011-07-15* apt-pkg/depcache.cc:David Kalnischkies1-1/+1
- change default of APT::AutoRemove::SuggestsImportant to true
2011-05-17if a Breaks can't be upgraded, remove it. If it or a ConflictDavid Kalnischkies1-5/+6
can't be removed the installation of the breaker fails.
2011-05-17let the Mark methods return if their marking was successfulDavid Kalnischkies1-18/+21
2011-05-17* apt-pkg/depcache.cc:David Kalnischkies1-2/+3
- use a boolean instead of an int for Add/Remove in AddStates similar to how it works with AddSizes
2011-05-17remove deprecated methods which nobody should have used anyway likeDavid Kalnischkies1-53/+1
pseudo-package related and/or private
2011-05-17rename option APT::Solver::Name to simply APT::SolverDavid Kalnischkies1-2/+2
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies1-1/+10
use the internal resolver can now be used also with external ones as the usage is hidden in between the old API * provide two edsp solvers in apt-utils: - 'dump' to quickly output a complete scenario and - 'apt' to use the internal as an external resolver
2011-05-13rewrite new and previously satisfied important dependency detection inDavid Kalnischkies1-43/+40
MarkInstall to be a bit more easy to read and possibily a bit faster - and add a small testcase for these situations to ensure the same behaviour
2011-05-12move the broken dependency detection above the new recommends detectionDavid Kalnischkies1-16/+16
as if the recommends can't be installed there is not much sense in checking if it a new recommends or not
2011-05-11convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies1-18/+7
for the three different dependencies
2011-05-11if critical or-group can't be satisfied, exit directly.David Kalnischkies1-2/+12
2011-05-02doesn't execute autoremove marker setting if an external solver is calledDavid Kalnischkies1-0/+3
and instead rely on the Autoremove tagging to show us what could be done. (apt-internal-solver doesn't support this currently as it doesn't load the auto-information into the cache)
2011-04-20merge with debian-sid branch and 0.8.14.1 releaseDavid Kalnischkies1-1/+1
* apt-pkg/depcache.cc: - Really release action groups only once (Closes: #622744) * apt-pkg/acquire-item.cc: - Only try to rename existing Release files (Closes: #622912)
2011-04-18apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)Julian Andres Klode1-1/+1
2011-04-16* apt-pkg/depcache.cc:David Kalnischkies1-2/+2
- really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the sourceā€¦ (LP: #761175)
2011-04-02disable automatical installation of dependencies in MarkInstall if weDavid Kalnischkies1-1/+1
will not use the default internal resolver later on
2011-03-30add a first round of stuff needed for talking between APT and solversDavid Kalnischkies1-0/+6
based on a very early draft for EDSP by Stefano APT can now write a scenario as well as load most stuff from it.
2011-03-26do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies1-2/+17
2011-03-25* apt-pkg/depcache.cc:David Kalnischkies1-5/+0
- remove pseudo handling leftover from SetReInstall
2011-03-20reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies1-59/+71
seperate IsModeChangeOk which checks sanity and dpkg holds
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies1-303/+1
Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
2011-02-17* apt-pkg/depcache.cc:David Kalnischkies1-2/+4
- party revert fix in 0.8.11.2 which marked all packages as manual installed if the FromUser bit is set in the MarkInstall call. The default for this bit is true and aptitude depends on the old behavior so the package is only marked as manual if its not marked ("old" behavior) or if automatic installation is enabled - which aptitude disables always (see also #613775)
2011-02-11* apt-pkg/depcache.cc:David Kalnischkies1-3/+2
- mark a package which was requested to be installed on commandline always as manual regardless if it is already marked or not as the marker could be lost later by the removal of rdepends (Closes: #612557)
2011-02-07allow conflicts in the same group again (Closes: #612099)David Kalnischkies1-1/+1
2011-01-12remove two unused variables gcc-4.6 reports from depcache.ccDavid Kalnischkies1-3/+2
2011-01-12* apt-pkg/contrib/fileutl.cc:David Kalnischkies1-2/+2
- add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401)
2010-12-05check in the DepCache::SetCandidateVersion that the package is marked toDavid Kalnischkies1-1/+2
be installed before setting the InstallVer as otherwise the Sizes states will be confused in some cases - this can happen now as SetCandidateRelease works also on packages which are not installed now (or will never in the final solution)
2010-12-03* apt-pkg/depcache.cc:David Kalnischkies1-0/+161
- add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier
2010-11-30apply a very simple speed-up in case we try to set the candidate versionDavid Kalnischkies1-2/+9
of a package to the version which is already the candidate (apt-get does that for all packages it installs for simplicity)
2010-11-10* apt-pkg/depcache.cc:David Kalnischkies1-2/+5
- don't install previously not installed providers in a try to statisfy a "Breaks: provides" dependency by upgrade
2010-10-02* apt-pkg/depcache.cc:David Kalnischkies1-0/+10
- do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
2010-09-14* apt-pkg/policy.cc:David Kalnischkies1-1/+2
- support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
2010-08-27* apt-pkg/depcache.cc:David Kalnischkies1-1/+10
- now that apt-get purge works on 'rc' packages let the MarkDelete pass this purge forward to the non-pseudo package for pseudos
2010-08-10apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode1-1/+1
2010-08-06* apt-pkg/depcache.cc:Julian Andres Klode1-3/+6
- Only try upgrade for Breaks if there is a newer version, otherwise handle it as Conflicts (by removing it) (helps for #591881).
2010-07-14* apt-pkg/depcache.cc:David Kalnischkies1-4/+4
- handle "circular" conflicts for "all" packages correctly