summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-09-281-0/+12
| | | - add a space between number and unit as required by SI (Closes: #598352)
* remove death code by removing unused GetInitializeDavid Kalnischkies2010-08-281-16/+0
|
* * cmdline/apt-get.cc:David Kalnischkies2010-08-261-19/+20
| | | | - remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display
* Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aokibubulle@debian.org2010-08-241-1/+1
| | | Closes: #594211
* purge packages in 'rc' state, thanks Rogier! (Closes: #150831)David Kalnischkies2010-08-121-3/+6
|
* * cmdline/apt-get.cc:David Kalnischkies2010-08-111-1/+3
| | | | - let APT::Get::Arch-Only in build-dep default to false again (Closes: #592628) Thanks Mohamed Amine IL Idrissi for report!
* merged lp:~donkult/apt/sidMichael Vogt2010-07-291-1/+1
|\
| * * apt-pkg/cacheset.cc:David Kalnischkies2010-07-171-1/+1
| | | | | | - move them back to the library as they look stable now
* | * cmdline/apt-get.cc:Julian Andres Klode2010-07-271-0/+6
|/ | | | - Support large filesystems by using statvfs64() instead of statvfs() and statfs64() instead of statfs() (Closes: #590513).
* make the specify order of packages irrelevant (half-close #196021)David Kalnischkies2010-07-051-5/+18
|
* prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies2010-07-041-0/+3
| | | | if DepCache is not available as fallback built the Policy
* reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies2010-07-031-360/+250
|
* Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies2010-07-031-52/+177
| | | | | | and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
* if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies2010-06-291-37/+49
| | | | one package provides it - if it is only one use this package instead
* for install, do all installs first and then the removes and vice versaDavid Kalnischkies2010-06-291-38/+54
|
* do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies2010-06-261-1/+1
|
* print all messages if the application is in an interactive runDavid Kalnischkies2010-06-251-7/+5
|
* Use an abstract helper for error handling and outputDavid Kalnischkies2010-06-221-23/+56
| | | | | | | | instead of doing this directly in the CacheSets. With this method an application like apt-get can change the behavior of the CacheSets to his liking. It can for example easily keep track of how packages were added to the set: by names or with regex's…
* * cmdline/apt-get.cc:David Kalnischkies2010-06-191-202/+47
| | | - use the cachsets in the install commands
* merged from lp:~donkult/apt/sidMichael Vogt2010-06-091-42/+16
|\
| * * apt-pkg/pkgcache.h:David Kalnischkies2010-06-091-6/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | - switch {,Install-}Size to unsigned long long - deal with long long, not with int to remove 2GB Limit (LP: #250909) - deprecate AddSize with Multiplier as it is unused and switch to boolean instead to handle the sizes more gracefully. - switch i{Download,Usr}Size from double to (un)signed long long * cmdline/apt-get.cc: - use unsigned long long instead of double to store values it gets
| | * * cmdline/apt-get.cc:David Kalnischkies2010-06-031-6/+6
| | | | | | | | | - use unsigned long long instead of double to store values it gets
| * | Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2010-06-041-2/+2
| | |
| * | rename packageset into cacheset while it is not too lateDavid Kalnischkies2010-05-311-1/+1
| | |
| * | move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies2010-05-301-34/+8
| |/
* | * merge the remaining Ubuntu change:Michael Vogt2010-06-091-1/+27
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
| * * cmdline/apt-get.cc:Michael Vogt2010-04-081-0/+4
| | | | | | - fix crash when pkg.VersionList() is empty (LP: #556056)
| * cherry pick -r 1983..1984 lp:~donkult/apt/sidMichael Vogt2010-03-311-11/+21
| |
| * * cmdline/apt-get.cc, apt-pkg/cdrom.cc:Michael Vogt2010-03-261-1/+5
| | | | | | - fix memory leaks in error conditions in DoSource()
| * * cmdline/apt-get.cc:Michael Vogt2010-03-121-5/+7
| |\ | | | | | | | | | | | | | | | - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/indexfile.cc: - deal correctly with three letter langcodes (LP: #391409)
| * \ merged from the mvo branchMichael Vogt2010-02-171-1/+2
| |\ \
| * \ \ * cmdline/apt-get.cc:Michael Vogt2010-01-261-7/+17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix apt-get source pkg=version regression (closes: #561971) * apt-pkg/contrib/cdromutl.cc: - fix UnmountCdrom() fails, give it a bit more time and try the umount again * methods/cdrom.cc: - fixes in multi cdrom setup code - add new "Acquire::cdrom::AutoDetect" variable that enables/disables the dlopen of libudev for automatic cdrom detection
| | * | | * cmdline/apt-get.cc:Michael Vogt2009-12-231-7/+17
| | | | | | | | | | | | | | | - fix apt-get source pkg=version regression (closes: #561971)
| * | | | * Merged from the mvo branchMichael Vogt2009-12-181-102/+117
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merged from the lp:~mvo/apt/history branch * Fix apt-ftparchive(1) wrt description of the "-o" option. Thanks to Dann Frazier for the patch. Closes: #273100 * po/LINGUAS. Re-disable Hebrew. Closes: #534992 * po/LINGUAS. Enable Asturian and Lithuanian * Fix typo in apt-cache.8.xml: nessasarily * Fix "with with" in apt-get.8.xml * Fix some of the typos mentioned by the german team Closes: #479997 * Polish translation update by Wiktor Wandachowicz Closes: #548571 * German translation update by Holger Wansing Closes: #551534 * Italian translation update by Milo Casagrande Closes: #555797 * Simplified Chinese translation update by Aron Xu Closes: #558737 * Slovak translation update by Ivan Masár Closes: #559277 * apt-pkg/packagemanager.cc: - add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * merge lp:~mvo/apt/netrc branch, this adds support for a /etc/apt/auth.conf that can be used to store username/passwords in a "netrc" style file (with the extension that it supports "/" in a machine definition). Based on the maemo git branch (Closes: #518473) (thanks also to Jussi Hakala and Julian Andres Klode) * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions * apt-pkg/init.h: - add compatibility with old ABI name until the next ABI break * merge segfault fix from Mario Sanchez Prada, many thanks (closes: #561109) * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971) * apt-pkg/packagemanager.cc: - better debug output for ImmediateAdd with depth and why - improve the message shown for failing immediate configuration * doc/guide.it.sgml: moved to doc/it/guide.it.sgml * doc/po4a.conf: activate translation of guide.sgml and offline.sgml * doc/apt.conf.5.xml: - provide a few more details about APT::Immediate-Configure - briefly document the behaviour of the new https options * doc/sources.list.5.xml: - add note about additional apt-transport-methods * doc/apt-mark.8.xml: - correct showauto synopsis, thanks Andrew Schulman (Closes: #551440) * cmdline/apt-get.cc: - source should display his final pkg pick (Closes: #249383, #550952) - source doesn't need the complete version for match (Closes: #245250) - source ignores versions/releases if not available (Closes: #377424) - only warn if (free) space overflows (Closes: #522238) - add --debian-only as alias for --diff-only * methods/connect.cc: - display also strerror of "wicked" getaddrinfo errors - add AI_ADDRCONFIG to ai_flags as suggested by Aurelien Jarno in response to Bernhard R. Link, thanks! (Closes: #505020) * buildlib/configure.mak, buildlib/config.{sub,guess}: - remove (outdated) config.{sub,guess} and use the ones provided by the new added build-dependency autotools-dev instead * configure.in, buildlib/{xml,yodl,sgml}_manpage.mak: - remove the now obsolete manpage buildsystems * doc/{pl,pt_BR,es,it}/*.{sgml,xml}: - convert all remaining translation to the po4a system * debian/control: - drop build-dependency on docbook-utils and xmlto - add build-dependency on autotools-dev - bump policy to 3.8.3 as we have no outdated manpages anymore * debian/NEWS: - fix a typo in 0.7.24: Allready -> Already (Closes: #557674) * ftparchive/writer.{cc,h}: - add APT::FTPArchive::LongDescription to be able to disable them * apt-pkg/deb/debsrcrecords.cc: - use "diff" filetype for .debian.tar.* files (Closes: #554898) * methods/rred.cc: - rewrite to be able to handle even big patch files - adopt optional mmap+iovec patch from Morten Hustveit (Closes: #463354) which should speed up a bit. Thanks! * methods/http{,s}.cc - add config setting for User-Agent to the Acquire group, thanks Timothy J. Miller! (Closes: #355782) - add https options which default to http ones (Closes: #557085) * debian/apt.cron.daily: - check cache size even if we do nothing else otherwise, thanks Francesco Poli for patch(s) and patience! (Closes: #459344) * ftparchive/*: - fix a few typos in strings, comments and manpage, thanks Karl Goetz! (Closes: #558757) * cmdline/apt-mark: - print an error if a new state file can't be created (Closes: #521289) and - exit nicely if python-apt is not installed (Closes: #521284) * doc/de: German translation of manpages (Closes: #552606) * doc/ various manpages: - correct various errors, typos and oddities (Closes: #552535) * doc/apt-secure.8.xml: - replace literal with emphasis tags in Archive configuration * doc/apt-ftparchive.1.xml: - remove informalexample tag which hides the programlisting * doc/apt-get.8.xml: - change equivalent "for" to "to the" (purge command) - clarify --fix-broken sentence about specifying packages * apt-pkg/contib/strutl.h - Avoid extra inner copy in APT_MKSTRCMP and APT_MKSTRCMP2. * build infrastructure: - Bumped libapt version, excluded eglibc from SONAME. (Closes: #448249) * doc/apt.conf.5.xml: - Deprecate unquoted values, string concatenation and explain what should not be written inside a value (quotes,backslash). - Restrict option names to alphanumerical characters and "/-:._+". - Deprecate #include, we have apt.conf.d nowadays which should be sufficient. * ftparchive/apt-ftparchive.cc: - Call setlocale() so translations are actually used. * debian/apt.conf.autoremove: - Add kfreebsd-image-* to the list (Closes: #558803)
| * | | | merge from debian-sid apt 0.7.24Michael Vogt2009-12-031-9/+34
| |\ \ \ \
| * \ \ \ \ merged from debianMichael Vogt2009-09-231-32/+74
| |\ \ \ \ \
| * \ \ \ \ \ merged from the mvo branchMichael Vogt2009-08-241-2/+2
| |\ \ \ \ \ \
| * | | | | | | incorporate string-fix patch from Matthew East for LP: #370094Brian Murray2009-08-131-1/+1
| | | | | | | |
| * | | | | | | merged from debianMichael Vogt2009-07-301-12/+27
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ merged from the debian-sid branchMichael Vogt2009-06-091-2/+1
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Drop duplicate "purge" in command list.Loïc Minier2009-05-101-1/+0
| | | | | | | | | |
| * | | | | | | | | * cmdline/apt-get.ccMichael Vogt2009-03-091-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103)
| * | | | | | | | | * cmdline/apt-get.cc:Michael Vogt2009-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - default to "false" for the "APT::Get::Build-Dep-Automatic" option (follow debian here)
| * | | | | | | | | LP: #263089Michael Vogt2009-01-281-1/+1
| | | | | | | | | |
| * | | | | | | | | Clarify the --help for 'purge' (LP: #243948)Michael Vogt2008-12-161-1/+1
| | | | | | | | | |
| * | | | | | | | | merged from the debian-sid branchMichael Vogt2008-12-161-1/+0
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ * Translations:Michael Vogt2008-12-161-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - French corrected (remove awful use of first person) - Finnish updated. Closes: #508449 * doc/examples/sources.list: - Removed obsolete commented non-us deb-src entry, replaced it with 'deb-src security.debian.org' one. (Closes: #411298) * apt-pkg/contrib/mmap.cc: - Added instruction how to work around MMap error in MMap error message. (Closes: #385674, 436028) * buildlib/config.{sub,guess}: - Renewed. This fixes lintian errors. * doc/apt.conf.5.xml, debian/apt-transport-https: - Documented briefly 'APT::https' group of options. (Closes: #507398) - Applied patch from Daniel Burrows to document 'Debug' group of options. (Closes: #457265) - Mentioned 'APT::Periodic' and 'APT::Archives' groups of options. (Closes: #438559) - Mentioned '/* ... */' comments. (Closes: #507601) * merged "install-recommends" branch (ABI break): - new "--install-recommends" - install new recommends on "upgrade" if --install-recommends is given - new "--fix-policy" option to install all packages with unmet important dependencies (usefull with --install-recommends to see what not-installed recommends are on the system) - fix of recommended packages display (only show CandidateVersion fix or-group handling) * merged "install-task" branch (use with "apt-get install taskname^")
| * | | | | | | | | | | * cmdline/apt-get.cc:Michael Vogt2008-12-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix "apt-get source pkg=ver" if binary name != source name (LP: #202219) * doc/makefile: - add examples/apt-https-method-example.conf
| * | | | | | | | | | | merged from debian-sidMichael Vogt2008-11-241-0/+2
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ * fix various -Wall warningsMichael Vogt2008-08-061-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make "apt-get build-dep" installed packages marked automatic by default. This can be changed by setting the value of APT::Get::Build-Dep-Automatic to false (thanks to Aaron Haviland, closes: #44874, LP: #248268)