summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-04-05* cmdline/apt-get.cc:Bogdan Purcareata1-1/+1
- distinguish information about 'apt-get autoremove' based on the number of auto-removed packages both before and after the list of packages (Closes: #665833)
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies1-1/+1
to the more standard PACKAGE_VERSION and make it work in every file
2012-02-18improve 'error' message for packages which are only referencedDavid Kalnischkies1-5/+26
e.g. in a Depends line and are now requested for removal
2012-02-18* cmdline/apt-get.cc:David Kalnischkies1-1/+17
- if a package can't be removed as it is not installed, suggest to the user an (installed) multiarch silbing with 'Did you mean?'
2012-01-29* cmdline/apt-get.cc:Steve Langasek1-2/+8
- for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
2012-01-20fix a few esoteric cppcheck errors/warnings/infosDavid Kalnischkies1-1/+1
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies1-2/+2
- return the correct version arch for all+foreign, too The flag is interpreted at a few other places in different styles so this commit ensures that the flag check is consistent everywhere (checking for Same in flag style is a bit too much as it isn't used in combination with others anyway, but who knows and just for consistency)
2011-11-23* cmdline/apt-get.cc:David Kalnischkies1-0/+13
- ignore foreign architectures if we check if a provides has only one resolver as it's basically the same for the user, so no need to choose
2011-11-11 - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies1-7/+7
* cmdline/apt-{get,cache,mark}.cc: - use Lists instead of Sets if input order should be preserved for commands accepting lists of packages, e.g. policy (Closes: #625960)
2011-11-09* apt-pkg/cacheset.cc:David Kalnischkies1-11/+9
- make the cachesets real containers which can embedding any container to be able to use the same interface regardless of set or list usage
2011-10-30merge with my debian-sid branchDavid Kalnischkies1-7/+7
2011-09-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-25/+34
- use std::vector instead of fixed size arrays to store args and multiarch-packagename strings - load the dpkg base arguments only one time and reuse them later * cmdline/apt-get.cc: - follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590) * apt-pkg/algorithms.cc: - if a package is garbage, don't try to save it with FixByInstall
2011-09-20* cmdline/apt-get.cc:David Kalnischkies1-25/+34
- follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590)
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-0/+5
2011-09-13merge with debian/sidDavid Kalnischkies1-6/+14
2011-09-13merge with debian/experimentalDavid Kalnischkies1-133/+230
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-6/+0
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13* cmdline/apt-get.cc:David Kalnischkies1-7/+7
- output list of virtual package providers to c1out in -q=1 instead of /dev/null to unbreak sbuild (LP: #816155)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-3/+4
2011-08-22remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies1-5/+3
invalid in most cases anyway
2011-08-18* cmdline/apt-get.cc:David Kalnischkies1-5/+15
- remove the binary caches in 'apt-get clean' as it is the first thing recommend by many supporters in case of APT segfaults
2011-08-15merged from the debian-sid branchMichael Vogt1-30/+28
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies1-28/+28
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-08-11fix some cppcheck: (warning) Member variable is not initialized in the ↵David Kalnischkies1-2/+0
constructor.
2011-07-28* merged latest fixes from debian-sidMichael Vogt1-104/+203
* apt-pkg/contrib/sha1.cc: - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) * apt-pkg/contrib/cdromutl.cc: - fix escape problem when looking for the mounted devices * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc: - add new DeEscapeString() similar to DeQuoteString but unescape character escapes like \0XX and \xXX (plus added test) * refresh po/* * cmdline/apt-get.cc: - fix missing download progress in apt-get download - do not require unused partial dirs in 'source' (Closes: #633510) - buildconflicts effect all architectures - implement MultiarchCross for build-dep and source (Closes: #632221) * cmdline/apt-key: - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596) * debian/apt.postinst: - remove /etc/apt/secring.gpg if it is an empty file * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) * apt-pkg/policy.cc: - emit an error on unknown APT::Default-Release value (Closes: #407511) * apt-pkg/aptconfiguration.cc: - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector * apt-pkg/deb/deblistparser.cc: - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
2011-07-25merged from lp:~donkult/apt/sid0.8.15.3Michael Vogt1-101/+201
2011-07-25implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies1-4/+109
2011-07-24move debug message about attempt install/remove to the responsible methodDavid Kalnischkies1-3/+8
2011-07-24alternatively check in a versioned depends if the candidate is goodDavid Kalnischkies1-27/+21
The old code used to do move on to versions behind the candidate in cases the candidate wasn't a match, but as the Install request later always installs the candidate (witch wasn't switched) this could have never worked - and shouldn't in most cases anyway as: a) it could only work for <, <=, != depends which are unusal b) doesn't respect pinning, so it could install -1 versions
2011-07-24after this consider providing packages (if it is not a versioned dep)David Kalnischkies1-26/+27
2011-07-24move the detection for installed versions up as it is the easiest caseDavid Kalnischkies1-25/+20
2011-07-24first round of reorder code without changing resultDavid Kalnischkies1-29/+27
2011-07-24buildconflicts effect all architecturesDavid Kalnischkies1-11/+13
2011-07-22merged from donkultMichael Vogt1-2/+1
2011-07-22merged from the mvo branchMichael Vogt1-1/+1
2011-07-22* cmdline/apt-get.cc:Michael Vogt1-1/+1
- fix missing download progress in apt-get download
2011-07-16do not require unused partial dirs in 'source' (Closes: #633510)David Kalnischkies1-2/+1
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt1-3/+3
2011-07-14* cmdline/apt-get.cc:David Kalnischkies1-1/+7
- add an --assume-no option for testing to say 'no' to everything
2011-07-06* cmdline/apt-get.cc:David Kalnischkies1-3/+3
- restore all important dependencies for garbage packages (LP: #806274)
2011-06-08merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt1-0/+2
2011-05-17* cmdline/apt-get.cc:David Kalnischkies1-4/+6
- do not discard the error messages from the resolver and instead only show the general 'Broken packages' message if nothing else
2011-05-17rename option APT::Solver::Name to simply APT::SolverDavid Kalnischkies1-1/+1
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies1-1/+2
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-03add a --solver option to apt-getDavid Kalnischkies1-0/+1
2011-04-21* cmdline/apt-get.cc:David Kalnischkies1-4/+5
- deprecate mostly undocumented 'markauto' in favor of 'apt-mark' * cmdline/apt-cache.cc: - deprecate mostly undocumented 'showauto' in favor of 'apt-mark'
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies1-5/+18
Niels Thykier, thanks! (Closes: #622805)
2011-04-13* cmdline/apt-get.cc:Julian Andres Klode1-0/+3
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
2011-04-02disable the error discarding as it destroyes the error reporting aboutDavid Kalnischkies1-1/+1
failures with external solvers for now as long as i can't see a reason for it
2011-03-29be able to disable resolver with APT::Get::CallResolver and disableDavid Kalnischkies1-2/+2
auto installation with APT::Get::AutoSolving