summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
Commit message (Collapse)AuthorAgeFilesLines
* * cmdline/apt-get.cc:David Kalnischkies2012-06-181-2/+14
| | | | - print a friendly message in 'download' if a package can't be downloaded (Closes: #677887)
* check build-dep candidate if install is forbiddenDavid Kalnischkies2012-06-111-19/+39
|
* * cmdline/apt-get.cc:Thibaut Girka2012-06-101-4/+4
| | | | - complain correctly about :any build-dep on M-A:none packages
* show 'bzr branch' as 'bzr get' is deprecated (LP: #1011032)David Kalnischkies2012-06-101-1/+1
|
* * cmdline/apt-get.cc:Daniel Hartwig2012-06-101-1/+5
| | | | | - print URIs for all changelogs in case of --print-uris, thanks to Daniel Hartwig for the patch! (Closes: #674897)
* * cmdline/apt-get.cc:David Kalnischkies2012-05-241-0/+3
| | | | - do not show 'list of broken packages' header if no package is broken as it happens e.g. for external resolver errors
* * cmdline/apt-get.cc:David Kalnischkies2012-05-161-2/+12
| | | | | - use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
* * cmdline/apt-get.cc:David Kalnischkies2012-04-161-4/+7
| | | | - if pkgCacheFile::Generate is disabled in 'update' don't remove the caches (and don't try to open them)
* merged r1972 from lp:~paolorotolo/apt/fix-for-967393Michael Vogt2012-04-121-1/+1
|
* merged r1970 lp:~vorlon/apt/lp.968828Michael Vogt2012-04-121-1/+1
|
* * cmdline/apt-get.cc:David Kalnischkies2012-04-111-18/+18
| | | - print list of autoremoves in alphabetical order (Closes: #639008)
* * cmdline/apt-get.cc:Bogdan Purcareata2012-04-051-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)
* the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies2012-03-221-1/+1
| | | | to the more standard PACKAGE_VERSION and make it work in every file
* improve 'error' message for packages which are only referencedDavid Kalnischkies2012-02-181-5/+26
| | | e.g. in a Depends line and are now requested for removal
* * cmdline/apt-get.cc:David Kalnischkies2012-02-181-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?'
* * cmdline/apt-get.cc:Steve Langasek2012-01-291-2/+8
| | | | | - for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
* fix a few esoteric cppcheck errors/warnings/infosDavid Kalnischkies2012-01-201-1/+1
|
* * apt-pkg/cacheiterators.h:David Kalnischkies2012-01-191-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)
* * cmdline/apt-get.cc:David Kalnischkies2011-11-231-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
* - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies2011-11-111-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)
* * apt-pkg/cacheset.cc:David Kalnischkies2011-11-091-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
* merge with my debian-sid branchDavid Kalnischkies2011-10-301-7/+7
|\
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2011-09-201-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
| * * cmdline/apt-get.cc:David Kalnischkies2011-09-131-7/+7
| | | | | | | | - output list of virtual package providers to c1out in -q=1 instead of /dev/null to unbreak sbuild (LP: #816155)
* | * cmdline/apt-get.cc:David Kalnischkies2011-09-201-25/+34
| | | | | | | | - follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590)
* | use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-191-0/+5
| |
* | merge with debian/sidDavid Kalnischkies2011-09-131-6/+14
|\|
| * remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies2011-08-221-5/+3
| | | | | | invalid in most cases anyway
| * * cmdline/apt-get.cc:David Kalnischkies2011-08-181-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
* | merge with debian/experimentalDavid Kalnischkies2011-09-131-133/+230
|\ \
| * | merged from the debian-sid branchMichael Vogt2011-08-151-30/+28
| |\|
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-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.
| | * fix some cppcheck: (warning) Member variable is not initialized in the ↵David Kalnischkies2011-08-111-2/+0
| | | | | | | | | | | | constructor.
| * | * merged latest fixes from debian-sidMichael Vogt2011-07-281-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
| | * merged from lp:~donkult/apt/sidMichael Vogt2011-07-251-101/+201
| | |\
| | | * implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies2011-07-251-4/+109
| | | |
| | | * move debug message about attempt install/remove to the responsible methodDavid Kalnischkies2011-07-241-3/+8
| | | |
| | | * alternatively check in a versioned depends if the candidate is goodDavid Kalnischkies2011-07-241-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
| | | * after this consider providing packages (if it is not a versioned dep)David Kalnischkies2011-07-241-26/+27
| | | |
| | | * move the detection for installed versions up as it is the easiest caseDavid Kalnischkies2011-07-241-25/+20
| | | |
| | | * first round of reorder code without changing resultDavid Kalnischkies2011-07-241-29/+27
| | | |
| | | * buildconflicts effect all architecturesDavid Kalnischkies2011-07-241-11/+13
| | | |
| | * | merged from donkultMichael Vogt2011-07-221-2/+1
| | |\|
| | | * do not require unused partial dirs in 'source' (Closes: #633510)David Kalnischkies2011-07-161-2/+1
| | | |
| | * | merged from the mvo branchMichael Vogt2011-07-221-1/+1
| | |\ \ | | | |/ | | |/|
| | | * * cmdline/apt-get.cc:Michael Vogt2011-07-221-1/+1
| | | | | | | | | | | | - fix missing download progress in apt-get download
* | | | Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-6/+0
| | | | | | | | | | | | | | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* | | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-3/+4
|/ / /
* | | merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt2011-07-151-3/+3
|\| |
| * | * cmdline/apt-get.cc:David Kalnischkies2011-07-061-3/+3
| |/ | | | | - restore all important dependencies for garbage packages (LP: #806274)