summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
Commit message (Collapse)AuthorAgeFilesLines
* * 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)
* 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
* 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 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
* | * cmdline/apt-get.cc:David Kalnischkies2011-07-061-3/+3
|/ | | - restore all important dependencies for garbage packages (LP: #806274)
* * cmdline/apt-get.cc:David Kalnischkies2011-04-211-4/+5
| | | | | - deprecate mostly undocumented 'markauto' in favor of 'apt-mark' * cmdline/apt-cache.cc: - deprecate mostly undocumented 'showauto' in favor of 'apt-mark'
* fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-161-5/+18
| | | Niels Thykier, thanks! (Closes: #622805)
* * cmdline/apt-get.cc:Julian Andres Klode2011-04-131-0/+3
| | | - Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
* be able to disable resolver with APT::Get::CallResolver and disableDavid Kalnischkies2011-03-291-2/+2
| | | auto installation with APT::Get::AutoSolving
* be able to disable resolver with APT::Get::AutoSolvingDavid Kalnischkies2011-03-281-20/+46
|
* * cmdline/apt-get.cc:David Kalnischkies2011-03-261-1/+4
| | | - do not show simulation notice for non-root commands (Closes: #619072)
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-13/+0
| | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* * cmdline/apt-get.cc:David Kalnischkies2011-03-071-1/+1
| | | - reinstall dependencies of reinstalled "garbage" (Closes: #617257)
* * cmdline/apt-get.cc:David Kalnischkies2011-02-151-0/+43
| | | - don't remove new dependencies of garbage packages (Closes: #613420)
* * cmdline/apt-get.cc:David Kalnischkies2011-02-091-0/+1
| | | - add --install-suggests option (Closes: #473089)
* implement --print-uris for download commandDavid Kalnischkies2011-02-071-5/+16
|
* implement download-only for changelog command which downloads theDavid Kalnischkies2011-02-071-12/+29
| | | | changelog to the file $PKGNAME.changelog in the current directory
* implement --print-uris support for changelog commandDavid Kalnischkies2011-02-071-4/+17
|
* always do removes first and set not installed remove packagesDavid Kalnischkies2011-02-071-8/+5
| | | on hold to prevent temporary installation later (Closes: #549968)
* merge 'after squeeze release'-stuffDavid Kalnischkies2011-02-031-33/+68
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ David Kalnischkies ] * apt-pkg/depcache.cc: - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) * cmdline/apt-get.cc: - if --print-uris is used don't setup downloader as we don't need progress, lock nor the directories it would create otherwise - show dependencies of essential packages which are going to remove only if they cause the remove of this essential (Closes: #601961) - keep not installed garbage packages uninstalled instead of showing in the autoremove section and installing those (Closes: #604222) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier - really do not show packages in the extra section if they were requested on the commandline, e.g. with a modifier (Closes: #184730) * debian/control: - add Vcs-Browser now that loggerhead works again (Closes: #511168) - depend on debhelper 7 to raise compat level - depend on dpkg-dev (>= 1.15.8) to have c++ symbol mangling * apt-pkg/contrib/fileutl.cc: - add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401) - ignore non-regular files in GetListOfFilesInDir (Closes: #594694) * apt-pkg/contrib/weakptr.h: - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6 * methods/https.cc: - fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled * deb/dpkgpm.cc: - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803) * doc/apt.conf.5.xml: - fix multipl{y,e} spelling error reported by Jakub Wilk (Closes: #607636) * apt-inst/contrib/extracttar.cc: - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162) * apt-pkg/cacheiterator.h: - do not segfault if cache is not build (Closes: #254770) * doc/apt-get.8.xml: - remove duplicated mentioning of --install-recommends * doc/sources.list.5.xml: - remove obsolete references to non-us (Closes: #594495) * debian/rules: - use -- instead of deprecated -u for dh_gencontrol - remove shlibs.local creation and usage - show differences in the symbol files, but never fail * pre-build.sh: - remove as it is not needed for a working 'bzr bd' * debian/{apt,apt-utils}.symbols: - ship experimental unmangled c++ symbol files * methods/rred.cc: - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred - try downloading clearsigned InRelease before trying Release.gpg - change the internal handling of Extensions in pkgAcqIndex - add a special uncompressed compression type to prefer those files - download and use i18n/Index to choose which Translations to download * cmdline/apt-key: - don't set trustdb-name as non-root so 'list' and 'finger' can be used without being root (Closes: #393005, #592107) * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles * ftparchive/writer.cc: - add config option to search for more patterns in release command - include Index files by default in the Release file * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
| * set the Candidate for all before doing the propargationDavid Kalnischkies2010-12-031-0/+4
| |
| * simplify the new-and-autoremove fix a bitDavid Kalnischkies2010-12-031-4/+2
| |
| * really do not show packages in the extra section if they wereDavid Kalnischkies2010-12-031-9/+8
| | | | | | requested on the commandline, e.g. with a modifier
| * * apt-pkg/depcache.cc:David Kalnischkies2010-12-031-3/+33
| | | | | | | | | | | | | | - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier
| * keep not installed garbage packages uninstalled instead of showingDavid Kalnischkies2010-12-031-18/+22
| | | | | | in the autoremove section and installing those (Closes: #604222)
| * show dependencies of essential packages which are going to removeDavid Kalnischkies2010-11-301-1/+3
| | | | | | only if they cause the remove of this essential (Closes: #601961)
| * * cmdline/apt-get.cc:David Kalnischkies2010-11-301-2/+0
| | | | | | | | | | - if --print-uris is used don't setup downloader as we don't need progress, lock nor the directories it would create otherwise
* | merged from apt-get-downloadMichael Vogt2010-11-181-2/+1
|\ \
| * | cmdline/apt-get.cc: download it all in one goMichael Vogt2010-11-181-2/+1
| | |
* | | merged from apt-get-changelogMichael Vogt2010-11-181-8/+9
|\ \ \
| * | | cmdline/apt-get.cc: remove srcpkgMichael Vogt2010-11-181-5/+4
| | | |
| * | | cmdline/apt-get.cc: use source version instead of binary versionMichael Vogt2010-11-181-3/+5
| | | |
* | | | cmdline/apt-get.cc: add download/changelog to usageMichael Vogt2010-11-181-0/+2
| | | |
* | | | merged from the apt-get-changelog branchMichael Vogt2010-11-181-44/+54
|\| | |
| * | | refactor/simplify changelog fetching codeMichael Vogt2010-11-181-30/+53
| | | |
| * | | cmdline/apt-get.cc: simplify changelog uri generationMichael Vogt2010-11-181-17/+4
| | | |