summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* fix a few more cppcheck performance and scope warningsDavid Kalnischkies2011-08-111-1/+1
|
* cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-112-80/+80
| | | | | | 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-252-102/+202
|\
| * 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
| |
| * you want to be nice and quote a filename just to be reminded by gpgDavid Kalnischkies2011-07-231-1/+1
| | | | | | | | that it doesn't like that… remove superficial quoting to fix apt-key
* | merged from donkultMichael Vogt2011-07-222-3/+5
|\|
| * do not require unused partial dirs in 'source' (Closes: #633510)David Kalnischkies2011-07-161-2/+1
| |
| * * cmdline/apt-key:David Kalnischkies2011-07-161-1/+4
| | | | | | | | | | - 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
* | 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
| * * doc/makefile:Michael Vogt2011-06-301-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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:
* | * cmdline/apt-get.cc:David Kalnischkies2011-07-061-3/+3
| | | | | | - restore all important dependencies for garbage packages (LP: #806274)
* | require to be root for add, rm, update and net-updateDavid Kalnischkies2011-06-291-0/+11
| |
* | * cmdline/apt-key:David Kalnischkies2011-06-291-2/+2
|/ | | - explicitly state that net-update is not supported if no url is set
* * cmdline/apt-config.cc:David Kalnischkies2011-05-281-0/+13
| | | | - show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739)
* convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies2011-05-111-10/+4
| | | | for the three different dependencies
* provide a 'dpkg --set-selections' wrapper to set/release holdsDavid Kalnischkies2011-04-261-0/+116
|
* * cmdline/apt-get.cc:David Kalnischkies2011-04-212-8/+8
| | | | | - deprecate mostly undocumented 'markauto' in favor of 'apt-mark' * cmdline/apt-cache.cc: - deprecate mostly undocumented 'showauto' in favor of 'apt-mark'
* * cmdline/apt-mark.cc:David Kalnischkies2011-04-213-105/+262
| | | - reimplement apt-mark in c++
* fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-162-5/+21
| | | 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-082-22/+1
| | | | | | | | | 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)
* [ Stefan Lippers-Hollmann ]Stefan Lippers-Hollmann2011-02-081-1/+1
| | | | | | | * cmdline/apt-key: - fix root test which prevented setting of trustdb-name which lets gpg fail if it adds/remove keys from trusted.gpg as it tries to open the (maybe) not existent /root/.gnupg
* 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)
* * cmdline/apt-cache.cc:David Kalnischkies2011-02-041-57/+2
| | | | | | - remove not implemented 'apt-cache add' command * doc/apt-cache.8.xml: - describe reality as apt-cache just queries and doesn't manipulate the caches. Thanks to Enrico Zini for spotting it! (Closes: #612009)
* merge 'after squeeze release'-stuffDavid Kalnischkies2011-02-032-34/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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
| * merge with debian-sidDavid Kalnischkies2011-01-251-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Christian Perrier ] * Fix encoding for Slovenian translation. PO file switched to UTF-8. Closes: #609957 [ David Kalnischkies ] * ftparchive/apt-ftparchive.cc: - fix endless loop for multiple TranslationsWriters [ Julian Andres Klode ] * cmdline/apt-cache.cc: Create an error for apt-cache depends if packages could not found (LP: #647045) [ Manpages translations ] * Correct a typo and an error in French manpages translation. Closes: # 607170 [ Programs translations ] * po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy strings, thanks to Javier Fernandez-Sanguino (closes: #610692) * Spanish update by Javier Fernández-Sanguino Peña. Closes: #607145
| * | * cmdline/apt-key:David Kalnischkies2011-01-161-1/+6
| | | | | | | | | | | | - don't set trustdb-name as non-root so 'list' and 'finger' can be used without being root (Closes: #393005, #592107)
| * | 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)