summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
AgeCommit message (Collapse)Author
2013-07-02merged debian/sid branch from git.debian.orgMichael Vogt
2013-06-09deprecate InstallProtect as a cpu-eating no-opDavid Kalnischkies
In the past packages were flagged "Protected" so that install/ remove markings where issued before the ProblemResolver. Nowadays, the marking methods check if they are allowed to modify the marking of a package instead, so that markings set by FromUser calls are not overwritten anymore by automatic calls which elimates the need for InstallProtect which just eats CPU now. The method itself is left untouched for now in case frontend needs it still for some wierd usecase, but they should be eliminated.
2013-04-30merged from the debian-sid branchMichael Vogt
2013-04-08merged bundle from davidMichael Vogt
2013-03-25merge patch from Daniel HartwigMichael Vogt
2013-03-10various simple changes to fix cppcheck warningsDavid Kalnischkies
2013-01-18* Merge from Debian unstable, pulling in new translations and fixes.Adam Conrad
* Add linux-headers to /etc/kernel/postinst.d/apt-auto-removal guard. * Catalan (Jordi Mallach) * Drop a confusing non-breaking space. Closes: #691024 * Thai (Theppitak Karoonboonyanan). Closes: #691613 * Vietnamese (Trần Ngọc Quân). Closes: #693773 * Fix Plural forms in German, French, Japanese and Portuguese translations. Thanks to Jakub Wilk for reporting these errors. * apt-pkg/packagemanager.cc: - do not do lock-step configuration for a M-A:same package if it isn't unpacked yet in SmartConfigure and do not unpack a M-A:same package again in SmartUnPack if we have already configured it (LP: #1062503) * apt-pkg/depcache.cc: - don't call MarkInstall with the FromUser flag set for packages which are dependencies of APT::Never-MarkAuto-Sections matchers - no mode changes should obviously be ok for pkgDepCache::IsModeChangeOk * cmdline/apt-get.cc: - do not call Mark{Install,Delete} from the autoremove code with the FromUser bit set to avoid modifying the auto-installed bit * apt-pkg/algorithms.cc: - ensure pkgProblemResolver calls MarkDelete without FromUser set so that it can't overrule holds and the protection flag * change permissions of /var/log/apt/term.log to 0640 (LP: #975199) * apt-pkg/algorithms.cc: - fix package-pointer array memory leak in ResolveByKeepInternal() * Portuguese (Américo Monteiro) (Closes: #686975) * handle packages without a mandatory architecture (debian-policy §5.3) by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346) * merged the latest debian-sid fixes Correct fi translation for hash sum mismatches (lp:420403)
2013-01-14ensure sha512 is really used when available (thanks to Tyler Hicks )Michael Vogt
2012-11-20Fix mismerge of cross-build-dependency handling patch fromColin Watson
0.8.16~exp12ubuntu7.
2012-11-09* cmdline/apt-get.cc:David Kalnischkies
- do not call Mark{Install,Delete} from the autoremove code with the FromUser bit set to avoid modifying the auto-installed bit
2012-11-01merged from the debian-sid branchMichael Vogt
2012-10-20adds a comment for Translators to the 'do as I say' prompt toDavid Kalnischkies
prevent problems like #691024 in new translations
2012-08-28merged from the debian-sid branchMichael Vogt
2012-08-06disable the display of the error messages for DoInstall if DoBuildDepDavid Kalnischkies
is calling the helper (enabled by enforcing failure reporting)
2012-08-05ensure that the right architecture is used for cross-dependencies inDavid Kalnischkies
cases we have to choose a provider by defaulting on host-arch instead of build-arch
2012-08-04improve the check for purely virtuals as provided packages aren'tDavid Kalnischkies
purely virtual and shouldn't error out cause of that
2012-08-04* cmdline/apt-get.cc:David Kalnischkies
- error out on (unsatisfiable) build-deps on purly virtual packages instead of ignoring these dependencies; thanks to Johannes Schauer for the detailed report! (Closes: #683786)
2012-06-29merged from the debian-sid branchMichael Vogt
2012-06-18* cmdline/apt-get.cc:David Kalnischkies
- print a friendly message in 'download' if a package can't be downloaded (Closes: #677887)
2012-06-11Merge version 0.9.6 from DebianSteve Langasek
2012-06-11check build-dep candidate if install is forbiddenDavid Kalnischkies
2012-06-10* cmdline/apt-get.cc:Thibaut Girka
- complain correctly about :any build-dep on M-A:none packages
2012-06-10show 'bzr branch' as 'bzr get' is deprecated (LP: #1011032)David Kalnischkies
2012-06-10* cmdline/apt-get.cc:Daniel Hartwig
- print URIs for all changelogs in case of --print-uris, thanks to Daniel Hartwig for the patch! (Closes: #674897)
2012-05-24* cmdline/apt-get.cc:David Kalnischkies
- do not show 'list of broken packages' header if no package is broken as it happens e.g. for external resolver errors
2012-05-22merged (and resolved a bunch of conflicts) of the debian-sid branchMichael Vogt
2012-05-16* cmdline/apt-get.cc:David Kalnischkies
- use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
2012-04-16* cmdline/apt-get.cc:David Kalnischkies
- if pkgCacheFile::Generate is disabled in 'update' don't remove the caches (and don't try to open them)
2012-04-12merged r1972 from lp:~paolorotolo/apt/fix-for-967393Michael Vogt
2012-04-12merged r1970 lp:~vorlon/apt/lp.968828Michael Vogt
2012-04-11* cmdline/apt-get.cc:David Kalnischkies
- print list of autoremoves in alphabetical order (Closes: #639008)
2012-04-05For cross-build-dependencies, Architecture: all packages should beSteve Langasek
treated as implicitly Multi-Arch: foreign, because either they *are* M-A: foreign when used as a build-dependency, or they need to be updated to not be Architecture: all; and since cross-build-deps are new functionality in apt, we can safely make this change without breaking existing systems. Closes: #666772.
2012-04-05* cmdline/apt-get.cc:Bogdan Purcareata
- 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-29don't treat build-depends-indep as cross-build-dependencies; we shouldSteve Langasek
always install the host arch versions. LP: #968828.
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies
to the more standard PACKAGE_VERSION and make it work in every file
2012-02-18improve 'error' message for packages which are only referencedDavid Kalnischkies
e.g. in a Depends line and are now requested for removal
2012-02-18* cmdline/apt-get.cc:David Kalnischkies
- 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 Langasek
- for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
2012-01-28Multi-Arch: none build-deps should be DEB_HOST_ARCH, not DEB_BUILD_ARCH.Steve Langasek
Closes: #646288.
2012-01-28Multi-Arch: none build-deps should be DEB_HOST_ARCH, not DEB_BUILD_ARCH.Steve Langasek
Closes: #646288.
2012-01-28fix an inverted check on build-deps: we were accidentally checking forSteve Langasek
host-arch packages whenever the build-dep *did* include a colon, instead of when it didn't.
2012-01-24merged from experimentalMichael Vogt
2012-01-20fix a few esoteric cppcheck errors/warnings/infosDavid Kalnischkies
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies
- 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-23merged from debian-experimentalMichael Vogt
2011-11-23* cmdline/apt-get.cc:David Kalnischkies
- 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 Kalnischkies
* 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-10merged from lp:~mvo/apt/mvo (that has all the changes from ↵Michael Vogt
debian-experimental2) and resolved a bunch of conflicts
2011-11-09* apt-pkg/cacheset.cc:David Kalnischkies
- 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 Kalnischkies