summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2011-05-17if a Breaks can't be upgraded, remove it. If it or a ConflictDavid Kalnischkies
can't be removed the installation of the breaker fails.
2011-05-17let the Mark methods return if their marking was successfulDavid Kalnischkies
2011-05-17* apt-pkg/depcache.cc:David Kalnischkies
- 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 Kalnischkies
pseudo-package related and/or private
2011-05-17* apt-pkg/pkgcache.h:David Kalnischkies
- clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
2011-05-17rename option APT::Solver::Name to simply APT::SolverDavid Kalnischkies
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies
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-17rename I to J to avoid redefining a variable (clang warning)David Kalnischkies
2011-05-16* apt-pkg/packagemanager.cc:David Kalnischkies
- ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
2011-05-13MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies
to ships a patch for this so pretend to be nice and make it work (TM)
2011-05-13* apt-pkg/contrib/netrc.cc:David Kalnischkies
- replace non-posix gnu-extension strdupa with strdup
2011-05-13rewrite new and previously satisfied important dependency detection inDavid Kalnischkies
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 Kalnischkies
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 Kalnischkies
for the three different dependencies
2011-05-11if critical or-group can't be satisfied, exit directly.David Kalnischkies
2011-05-10fix order of CurrentURI and UsedMirror in Status() and Log()David Kalnischkies
2011-05-10send the first line of the error message to the error list and fail a bitDavid Kalnischkies
more nicely and in order
2011-05-10fix SubProgress to accept a Percent parameter to update the CurrentDavid Kalnischkies
with the text as otherwise the update will be ignored
2011-05-09implement proper progress report with OpProgressDavid Kalnischkies
2011-05-07implement correct error reportingDavid Kalnischkies
2011-05-06undo the temporary progress reporting disabling which slipped into last commitDavid Kalnischkies
2011-05-03fix arguments for MarkInstall so packages are really marked as automaticDavid Kalnischkies
2011-05-03maybe Pre-Depends are checked if they write them as Pre-Depends andDavid Kalnischkies
not as PreDepends (doh!) …
2011-05-03add a fair round of doxygen comments to the edsp headerDavid Kalnischkies
2011-05-03tell the resolver a package is set on hold if it was set by the userDavid Kalnischkies
to Keep which happens for example if a user decides to "remove" a not installed package to forbid that it's part of the solution
2011-05-03implement external solver calling for upgrade and dist-upgrade, tooDavid Kalnischkies
2011-05-02parse correctly the Hold: lines into Pkg->SelectedState = HoldDavid Kalnischkies
2011-05-02doesn't execute autoremove marker setting if an external solver is calledDavid Kalnischkies
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-05-02refactor: move solver execution into his own EDSP methodDavid Kalnischkies
2011-05-02handle Dir::Bin::Solvers as a list of directories and find theDavid Kalnischkies
solver in this list of directories
2011-05-02reduce the buffer size so we get a sort of realtime progress reportDavid Kalnischkies
and print the time of output at the front of the progress report so we can see the delay
2011-05-02move the mapping generation to the top as the response reading isDavid Kalnischkies
currently waiting for the solver to complete and not non-blocking so we can generate the map while waiting for the solver
2011-05-02implement optional Progress report in EDSPDavid Kalnischkies
2011-05-02merge single-arch :arch fix from my sid branchDavid Kalnischkies
2011-04-26* apt-pkg/acquire-item.cc:Ben Finney
- apply fix for poorly worded 'locate file' error message from Ben Finney, thanks! (Closes: #623171)
2011-04-26* apt-pkg/acquire-worker.cc:David Kalnischkies
- print filename in the unmatching size warning (Closes: #623137)
2011-04-26* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
2011-04-25reorganize WriteScenario to add a WriteLimitedScenario in which a scenarioDavid Kalnischkies
can be limited to a subset of packages with only relevant dependencies
2011-04-25* apt-pkg/pkgcache.cc:David Kalnischkies
- really ignore :arch in FindPkg() in non-multiarch environment
2011-04-21simplify the code for wildcard pinning a bitDavid Kalnischkies
2011-04-20merge with debian-sid branch and 0.8.14.1 releaseDavid Kalnischkies
* 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-19use the version id instead of the mmap offset as APT-IDDavid Kalnischkies
This leads to a small performance decrease as we need to build this mapping now while interpreting the Response but a (buggy) solver can't point us to dangerous memory locations anymore this way and VersionCount remains useful for other mapping proposes
2011-04-19Interpret Remove and Install lines in Responses correctlyDavid Kalnischkies
2011-04-18apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)Julian Andres Klode
2011-04-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- replace obsolete usleep with nanosleep
2011-04-16cppcheck: (style) Variable 'State' is assigned a value that is never usedDavid Kalnischkies
2011-04-16* apt-pkg/orderlist.cc:David Kalnischkies
- let VisitRProvides report if the calls were successful
2011-04-16remove the extra unnecessary qualification cppcheck complains aboutDavid Kalnischkies
2011-04-16* apt-pkg/acquire-method.cc:David Kalnischkies
- write directly to stdout instead of creating the message in memory first before writing to avoid hitting limits
2011-04-16apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: ↵Julian Andres Klode
#622912)