summaryrefslogtreecommitdiff
path: root/cmdline
AgeCommit message (Collapse)Author
2011-08-15merged from the debian-sid branchMichael Vogt
2011-08-11fix a few more cppcheck performance and scope warningsDavid Kalnischkies
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies
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 Kalnischkies
constructor.
2011-07-28cmdline/makefile: ajust commentMichael Vogt
2011-07-28* merged latest fixes from debian-sidMichael Vogt
* 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 Vogt
2011-07-25implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies
2011-07-24move debug message about attempt install/remove to the responsible methodDavid Kalnischkies
2011-07-24alternatively check in a versioned depends if the candidate is goodDavid Kalnischkies
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 Kalnischkies
2011-07-24move the detection for installed versions up as it is the easiest caseDavid Kalnischkies
2011-07-24first round of reorder code without changing resultDavid Kalnischkies
2011-07-24buildconflicts effect all architecturesDavid Kalnischkies
2011-07-23you want to be nice and quote a filename just to be reminded by gpgDavid Kalnischkies
that it doesn't like that… remove superficial quoting to fix apt-key
2011-07-22merged from donkultMichael Vogt
2011-07-22merged from the mvo branchMichael Vogt
2011-07-22* cmdline/apt-get.cc:Michael Vogt
- fix missing download progress in apt-get download
2011-07-16do not require unused partial dirs in 'source' (Closes: #633510)David Kalnischkies
2011-07-16* cmdline/apt-key:David Kalnischkies
- 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
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt
2011-07-14replace the last standing double's with long longDavid Kalnischkies
2011-07-14* cmdline/apt-get.cc:David Kalnischkies
- add an --assume-no option for testing to say 'no' to everything
2011-07-06* cmdline/apt-get.cc:David Kalnischkies
- restore all important dependencies for garbage packages (LP: #806274)
2011-06-30merged from debian-sidMichael Vogt
2011-06-30* doc/makefile:Michael Vogt
- create doxygen directory to avoid depending on magic (Closes: #628799) * cmdline/apt-key: - explicitly state that net-update is not supported if no url is set - require to be root for add, rm, update and net-update - clarify update vs. net-update in different distros (Closes: #632043) * debian/apt.symbols: - forgot 'mips' in the list for all architecture dependent symbols - comment out gcc-4.5 specific symbols as gcc-4.6 is now default - the symbol for PrintStatus() is architecture dependent * apt-pkg/policy.cc: - do not segfault in pinning if a package with this name doesn't exist. Thanks to Ferdinand Thommes for the report! - Defaults is a vector of Pin not of PkgPin - ensure that only the first specific stanza for a package is used - save all stanzas which had no effect in Unmatched - allow package:architecure in Package:
2011-06-29require to be root for add, rm, update and net-updateDavid Kalnischkies
2011-06-29* cmdline/apt-key:David Kalnischkies
- explicitly state that net-update is not supported if no url is set
2011-06-29merge lp:~mvo/apt/abi-breakMichael Vogt
2011-06-08merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt
2011-05-28* cmdline/apt-config.cc:David Kalnischkies
- show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739)
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-17rename option APT::Solver::Name to simply APT::SolverDavid Kalnischkies
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-11convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies
for the three different dependencies
2011-05-07implement correct error reportingDavid Kalnischkies
2011-05-03add a tiny dump solver to quickly output a scenarioDavid Kalnischkies
2011-05-03add a --solver option to apt-getDavid Kalnischkies
2011-05-03work on requests with the correct upgrade/dist-upgrade/else resolverDavid Kalnischkies
2011-05-02implement optional Progress report in EDSPDavid Kalnischkies
2011-04-26provide a 'dpkg --set-selections' wrapper to set/release holdsDavid Kalnischkies
2011-04-25add scenario command to output a complete or limited scenarioDavid Kalnischkies
2011-04-21* cmdline/apt-get.cc:David Kalnischkies
- deprecate mostly undocumented 'markauto' in favor of 'apt-mark' * cmdline/apt-cache.cc: - deprecate mostly undocumented 'showauto' in favor of 'apt-mark'
2011-04-21* cmdline/apt-mark.cc:David Kalnischkies
- reimplement apt-mark in c++
2011-04-19set hint flags for the problem resolver according to requestDavid Kalnischkies
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies
Niels Thykier, thanks! (Closes: #622805)
2011-04-13* cmdline/apt-get.cc:Julian Andres Klode
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
2011-04-02disable the error discarding as it destroyes the error reporting aboutDavid Kalnischkies
failures with external solvers for now as long as i can't see a reason for it
2011-04-01add a small wrapper to use the internal apt solver as an external oneDavid Kalnischkies
2011-03-29be able to disable resolver with APT::Get::CallResolver and disableDavid Kalnischkies
auto installation with APT::Get::AutoSolving