summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Try to use NotEquals for the MultiArch Breaks dependencies instead ofDavid Kalnischkies2010-07-051-4/+1
| | | | Less and Greater -> half the dependencies :)
* make the specify order of packages irrelevant (half-close #196021)David Kalnischkies2010-07-052-5/+19
|
* clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies2010-07-042-14/+13
| | | | instead of distributed in a few methods
* * apt-pkg/policy.h:David Kalnischkies2010-07-047-30/+32
| | | | - add another round of const& madness as the previous round accidently NOT override the virtual GetCandidateVer() method (Closes: #587725)
* prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies2010-07-042-3/+7
| | | | if DepCache is not available as fallback built the Policy
* reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies2010-07-031-360/+250
|
* Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies2010-07-032-53/+177
| | | | | | and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
* add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies2010-07-022-17/+51
| | | | | | e.g. FromString to tell the caller if the string was an exact match or found by regex or task. The two later ones can match packages for which we want to ignore failures in the VersionSet
* if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies2010-06-293-37/+59
| | | | one package provides it - if it is only one use this package instead
* rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies2010-06-292-10/+15
|
* for install, do all installs first and then the removes and vice versaDavid Kalnischkies2010-06-291-38/+54
|
* - factor out code to get a single package FromName()David Kalnischkies2010-06-283-54/+116
| | | - check in Grouped* first without modifier interpretation
* - only print errors if all tries to get a package by string failedDavid Kalnischkies2010-06-262-7/+15
| | | *
* always mark the all package if a pseudo package is marked for installDavid Kalnischkies2010-06-262-2/+6
|
* give the APT::Cache::Generate option her effect backDavid Kalnischkies2010-06-261-1/+3
|
* do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies2010-06-263-3/+3
|
* make the MMap Grow Error a fatal one as while in theory the code shouldDavid Kalnischkies2010-06-261-1/+1
| | | | never segfault it still tend to do it so better show it directly
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-06-264-1/+23
| | | | | - show notice about ignored file instead of being always silent - add a Dir::Ignore-Files-Silently list option to control the notice *
* - use the new MatchAgainstConfig for the DefaultRootSetFuncDavid Kalnischkies2010-06-265-66/+71
| | | | * apt-pkg/contrib/configuration.{cc,h}: - add a wrapper to match strings against configurable regex patterns
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-06-262-1/+7
| | | - show a deprecation notice for APT::Acquire::Translation
* print all messages if the application is in an interactive runDavid Kalnischkies2010-06-253-21/+15
|
* add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-255-5/+152
|
* * apt-pkg/contrib/error.{cc,h}:David Kalnischkies2010-06-253-208/+360
| | | | - complete rewrite but use the same API - add NOTICE and DEBUG as new types of a message
* Use an abstract helper for error handling and outputDavid Kalnischkies2010-06-223-118/+244
| | | | | | | | instead of doing this directly in the CacheSets. With this method an application like apt-get can change the behavior of the CacheSets to his liking. It can for example easily keep track of how packages were added to the set: by names or with regex's…
* * cmdline/apt-get.cc:David Kalnischkies2010-06-193-203/+51
| | | - use the cachsets in the install commands
* get packages by task^ with FromTask()David Kalnischkies2010-06-193-9/+88
|
* fix the gcc warning about the initialisation order of variables causedDavid Kalnischkies2010-06-191-1/+1
| | | | by moving Policy to public again (and therefore after SrcList)
* * apt-pkg/depcache.cc:David Kalnischkies2010-06-163-2/+35
| | | | - SetCandidateVer for all pseudo packages - SetReInstall for the "all" package of a pseudo package
* add a simple method to VerIterator to check if two Versions are similarDavid Kalnischkies2010-06-161-0/+9
|
* * cmdline/cacheset.cc:David Kalnischkies2010-06-155-6/+6
| | | - doesn't include it in the library for now as it is too volatile
* Add a GroupedFromCommandLine for the VersionSet similar to theDavid Kalnischkies2010-06-152-39/+119
| | | | | one for PackageSet and refactor the existing VersionSet methods to simplify that.
* * debian/control:David Kalnischkies2010-06-112-1/+3
| | | - remove intltool's dependency as it is an ubuntu artefact
* merge with debian-experimental-ma to get the public policy backDavid Kalnischkies2010-06-102-5/+13
|\
| * * apt-pkg/cachefile.h:Michael Vogt2010-06-102-1/+9
| | | | | | | | - make pkgPolicy public again, libapt-pkg-perl (and probably others) get unhappy without that
| * releasing version 0.7.26~exp6Michael Vogt2010-06-101-1/+1
| |
| * merged from davidMichael Vogt2010-06-1012-163/+206
| |\
* | | * apt-pkg/orderlist.cc:David Kalnischkies2010-06-103-2/+8
| | | | | | | | | | | | | | | - untouched packages are never missing * apt-pkg/packagemanager.cc: - packages that are not touched doesn't need to be unpacked
* | | * apt-pkg/cacheset.cc:David Kalnischkies2010-06-103-5/+22
| |/ |/| | | | | - get the candidate either from an already built depcache or use the policy which is a bit faster than depcache generation
* | correct a minor spelling mistake in the changelogDavid Kalnischkies2010-06-101-1/+1
| |
* | readd the autoremove protection for the kfreebsd-image as it was lostDavid Kalnischkies2010-06-101-10/+11
| | | | | | | | in Michaels merge with the ubuntu branch
* | enhance the split out of the gpgv commandline mangling by splitting outDavid Kalnischkies2010-06-093-56/+67
| | | | | | | | the call completely
* | sent Last-Modified header also for Translation filesDavid Kalnischkies2010-06-092-4/+12
| |
* | be sure that the RFC1123StrToTime method is run in a LANG=C environmentDavid Kalnischkies2010-06-091-2/+6
| |
* | * apt-pkg/indexcopy.cc:David Kalnischkies2010-06-094-81/+82
| | | | | | - move the gpg codecopy to a new method and use it also in methods/gpgv.cc
* | fix compiler warning in the new mirror codeDavid Kalnischkies2010-06-092-12/+17
| |
* | * apt-pkg/policy.cc:David Kalnischkies2010-06-093-14/+27
| | | | | | | | - get the candidate right for a not-installed pseudo package if his non-pseudo friend is installed
* | remove the "typename" from the const_iterators as gcc-4.4 doesn't likeDavid Kalnischkies2010-06-091-2/+2
|/ | | | them and gcc-4.5 does the right thing (TM) with and without them
* merged from lp:~donkult/apt/sidMichael Vogt2010-06-0952-586/+1611
|\
| * - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-0916-33/+186
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
| | * rename the options, document them and reorder the changelog a bitDavid Kalnischkies2010-06-094-10/+46
| | |