summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-30apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) ↵Julian Andres Klode
(Closes: #195301) This commit deals with the following cases: - First section of index file (Packages,Sources,Translation) without Package field - Signed release files without GPG data (NODATA) - i18n/Index files without hash sums Handling unsigned Release files is more complicated, and the example code using indexRecords is disabled as it can reject correct Release files without hashes. How we can reliably check unsigned Release files is another question, and not urgent anyway, as it should have no dramatic effect (we could check that it is a valid RFC-822 section, but that's a bit too long to write)
2011-05-28* cmdline/apt-config.cc:David Kalnischkies
- show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739)
2011-05-28* apt-pkg/init.cc:Jörg Sommer
- don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
2011-05-28use the correct option name in comment for Acquire::LanguagesJörg Sommer
2011-05-25Italian translation update (Milo Casagrande). Closes: #627834bubulle@debian.org
2011-05-25debian/changelog: next version will be 0.8.15Michael Vogt
2011-05-23log reinstall commands in history.logDavid Kalnischkies
2011-05-19remove invalid pkgcache.bin and rebuild it if possibleDavid Kalnischkies
The next invocation of APT tried to load an outdated big (and possible io-cold) file just to end up rebuilding it (possibly only as non-root in memory again and again), so we remove it here and if we have a srcpkgcache we are going to rebuild, too.
2011-05-17* cmdline/apt-get.cc:David Kalnischkies
- do not discard the error messages from the resolver and instead only show the general 'Broken packages' message if nothing else
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* doc/external-dependency-solver-protocol.txt:David Kalnischkies
- describe EDSP and the configuration interface around it
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-17ServerState is a struct and not a class (clang mismatch type warning)David Kalnischkies
2011-05-17remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)David Kalnischkies
2011-05-16merged from lp:~donkult/apt/sidMichael Vogt
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-13Galician translation update (Miguel Anxo Bouzada). Closes: #626505bubulle@debian.org
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-10dequote URL taken from Location in redirects as we will otherwiseDavid Kalnischkies
quote an already quoted string in the request later (Closes: #602412)
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-09fix package building so 'dump' is a binary not a directoryDavid Kalnischkies
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-03add a tiny dump solver to quickly output a scenarioDavid 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 --solver option to apt-getDavid Kalnischkies
2011-05-03ship the apt-internal-solver in apt-utils package and link it toDavid Kalnischkies
/usr/lib/apt/solvers so we have it available for playing as 'apt'
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-03work on requests with the correct upgrade/dist-upgrade/else resolverDavid 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