summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
AgeCommit message (Collapse)Author
2010-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies
if DepCache is not available as fallback built the Policy
2010-07-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies
and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies
one package provides it - if it is only one use this package instead
2010-06-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies
2010-06-26do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies
2010-06-25print all messages if the application is in an interactive runDavid Kalnischkies
2010-06-22Use an abstract helper for error handling and outputDavid Kalnischkies
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…
2010-06-19* cmdline/apt-get.cc:David Kalnischkies
- use the cachsets in the install commands
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- 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)
2010-06-09* apt-pkg/pkgcache.h:David Kalnischkies
- 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
2010-06-04Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies
2010-06-03* cmdline/apt-get.cc:David Kalnischkies
- use unsigned long long instead of double to store values it gets
2010-05-31rename packageset into cacheset while it is not too lateDavid Kalnischkies
2010-05-30move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies
2010-05-24 - show at the end of the install process a list of disappeared packagesDavid Kalnischkies
* apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
2010-05-14handle multiple --{tar,diff,dsc}-only options correctlyDavid Kalnischkies
2010-05-06merge with debian-experimental-maDavid Kalnischkies
2010-05-06don't suggest held packages as they are installed (Closes: #578135)David Kalnischkies
2010-05-04Move the showauto command to apt-cache and sort output.Julian Andres Klode
* cmdline/apt-cache.cc: - Add a showauto command to apt-cache. - Add apt-get markauto and unmarkauto commands.
2010-05-04rerun dpkg-source in source if --fix-broken is given (Closes: #576752)David Kalnischkies
2010-05-04cmdline/apt-get.cc: Add apt-get markauto, showauto and unmarkauto commands.Julian Andres Klode
2010-05-04merged from davids branchMichael Vogt
2010-04-24set also "all" to this version for pseudo packages in TryToChangeVerDavid Kalnischkies
2010-04-24show non-candidates as fallback for virtual packages (Closes: #578385)David Kalnischkies
2010-04-21replace backticks with single quote in broken packages message.David Kalnischkies
Thanks to Jari Aalto for spotting & patching! (Closes: #577168)
2010-04-13regex for package names executed on Grp- not PkgIteratorDavid Kalnischkies
2010-04-09* apt-pkg/acquire-item.cc:David Kalnischkies
- Acquire::ForceHash to force method for expected hash - display MD5Sum in --print-uris if not forced to use another method instead of displaying the strongest available (Closes: #576420)
2010-04-08* cmdline/apt-get.cc:0.7.25.3ubuntu6Michael Vogt
- fix crash when pkg.VersionList() is empty (LP: #556056)
2010-04-08* cmdline/apt-get.cc:Michael Vogt
- fix crash when pkg.VersionList() is empty
2010-04-07* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- add a parent-guarded "mkdir -p" as CreateDirectory() * apt-pkg/acquire.{cc,h}: - add a delayed constructor with Setup() for success reporting - check for and create directories in Setup if needed instead of error out unfriendly in the Constructor (Closes: #523920, #525783) - optional handle a lock file in Setup() * cmdline/apt-get.cc: - remove the lock file handling and let Acquire take care of it instead
2010-04-01merged from lp:~donkult/apt/sidMichael Vogt
2010-03-31cherry pick -r 1983..1984 lp:~donkult/apt/sidMichael Vogt
2010-03-30try version match in FindSrc first exact than fuzzy (LP: #551178)David Kalnischkies
2010-03-26* cmdline/apt-get.cc, apt-pkg/cdrom.cc:Michael Vogt
- fix memory leaks in error conditions in DoSource()
2010-03-26* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
2010-03-18merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029)
2010-03-12* cmdline/apt-get.cc:Michael Vogt
- 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)
2010-03-12* cmdline/apt-get.cc:Michael Vogt
- if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641)
2010-03-12* cmdline/apt-get.ccDavid Kalnischkies
- fix memory leaks in error conditions in DoSource()
2010-03-12* cmdline/apt-get.cc:David Kalnischkies
- add a --only-upgrade flag to install command (Closes: #572259) That is NOT what is requested in e.g. #74067 - this is a very simple flag which behaves orthogonal to --no-upgrade not a full-blown upgrade option for a single package instead of the whole package set.
2010-02-26move ShowPkg() from apt-get to the PkgIterator and rename it to FullName()David Kalnischkies
responseable for displaying a package name and the architecture in a uniform way. Pretty option can be used to not append the architecture if it is the native architecture or all - and use it all over the place in the commandline tools.
2010-02-18* buildlib/apti18n.h.in, po/makefile:David Kalnischkies
- add ngettext support with P_()
2010-02-17merged from the mvo branchMichael Vogt
2010-02-15* buildlib/apti18n.h.in, po/makefile:David Kalnischkies
- add ngettext support with P_()
2010-02-15Activate support of :any and stuff in apt-get build-dep as we haveDavid Kalnischkies
now support for MultiArch, so Multi-Arch: allowed packages should already provide package:any
2010-02-13[BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029) MultiArch isn't ready for Primetime usage for now, but the branch has managed to be a NOP if used in SingleArch-mode so we can start to promote the use of the new MultiArchable API-extensions.
2010-02-12In SingleArch environments we don't need the arch "all" pseudo packageDavid Kalnischkies
for handling arch:all packages, so we create only one package and stop calling it a pseudo package.
2010-02-12Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies
Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.