summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-14Ensure that for each all package at least one pseudopackage is installedDavid Kalnischkies
Removing pseudo packages is cool so far, the problem is that we will remove with the not required removing so many pseudo packages that we will have after the remove a few packages with NO installed pseudo package (e.g. metapackages are good candidates) - so we will walk over all these packages and try to find a pseudopackage for this package we can install without breaking something.
2010-03-01fix compiler error if compiled with -std=c++0xDavid Kalnischkies
2010-03-01We need to kill also pseudo packages which have no dependency, noDavid Kalnischkies
installed reverse dependency and which also doesn't provide something. They cause problems if this pseudo packages get new dependencies. As a consequence we also need to recheck the dependencies of a killed pseudo package (and especially the providers of these dependencies) to really kill all non required packages.
2010-03-01Remove and Unpack operations should not be ignored for pseudo packages -David Kalnischkies
they should trigger the remove/unpack of the "all" package. Otherwise - as this package has no dependencies - it will be triggered to late. The Configuration step doesn't need it as the "all" package is a dependency of the pseudo-package, so it will be configured before the pseudo packages are tried: So at this step the ignorance is okay. Also IsMissing() should report the status of the all package if an pseudo package is checked instead of always reporting no-miss.
2010-02-28Create Pins for all group members instead of only for native architectureDavid Kalnischkies
2010-02-28Fix the PkgFileIterator Constructor which defaults to the wrong value.David Kalnischkies
(0 instead of the HeaderP) This breaks the Cache Validation functionality as the end() doesn't test for NULL. (The fault was introduced with the rewriting of the CacheIterators)
2010-02-27Enable the AutoRemover to talk "Multi-Arch" by marking all pseudoDavid Kalnischkies
packages in a group if one is marked. The auto-installed flag is from now on Architecture bound: A section without an architecture tag will be treated as applying to all architectures - the next write operation will take care of this by creating separate sections for the architectures.
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-18doesn't use a default separator in ExplodeString (halfway losted in merge)David Kalnischkies
2010-02-18criss-cross merge with my sid branchDavid Kalnischkies
2010-02-18* doc/apt_preferences.5.xml:David Kalnischkies
- explicitly warn against careless use (Closes: #567669)
2010-02-18* debian/control:David Kalnischkies
- update with no changes to debian policy 3.8.4
2010-02-18* aptconfiguration.cc:David Kalnischkies
- include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these will be included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
2010-02-18* buildlib/apti18n.h.in, po/makefile:David Kalnischkies
- add ngettext support with P_()
2010-02-18dd support for the LANGUAGE environment variableDavid Kalnischkies
2010-02-18 - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies
- if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
2010-02-18* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
2010-02-17* doc/apt_preferences.5.xml:David Kalnischkies
- explicitly warn against careless use (Closes: #567669)
2010-02-17add a note about the uncomplete toolchain to sound a bit more scaryDavid Kalnischkies
2010-02-16* debian/control:David Kalnischkies
- update with no changes to debian policy 3.8.4
2010-02-15* aptconfiguration.cc:David Kalnischkies
- include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
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-14Add support for the LANGUAGE environment variableDavid Kalnischkies
2010-02-14Pseudo() doesn't work in the Cache generation step as the check if onlyDavid Kalnischkies
one package is in the group will generate false positives - as the others will (maybe) added a little time later in the process.
2010-02-13 - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies
- if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
2010-02-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
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-13merge with debian-sidDavid Kalnischkies
2010-02-13Add a more or less useful README file for everything related to MultiArchDavid Kalnischkies
and install it in the apt-doc package.
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.
2010-02-11Arch() on a MultiArch:all version should return "all" to be compatibleDavid Kalnischkies
with previous usecases. You now need to requested with Arch(true) the return of the architecture this version (and pseudo package) was created for.
2010-02-11display the architecture of the package if it is not the defaultDavid Kalnischkies
architecture in apt-get, display policy for all available architectures and use GrpIterator in apt-cache pkgnames
2010-02-11Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies
name:any for such packages, so dependencies in this style can be easily resolved.
2010-02-10Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies
2010-02-10Create implicit dependencies needed for Multi-Arch handlingDavid Kalnischkies
2010-02-10Pre-MultiArch a package which depends on a package with architecture "all"David Kalnischkies
can be sure that a package comeing in as a dependency of this package will be of the same architecture as itself (or all). We don't want to break this, so internal an arch all package is represented as many arch depending packages. The only problem we have now is that we only know that a arch all package is installed or not - we don't know for which architecture it was installed: So we will look at all these broken arch all pseudo packages and "remove" them.
2010-02-07fix progress reporting while reading extended_states fileDavid Kalnischkies
2010-02-07Drop the Arch information from the Version structure as we can getDavid Kalnischkies
the information from the parent package now
2010-02-03Slovak translation updatebubulle@debian.org
2010-02-01releasing version 0.7.25.30.7.25.3Michael Vogt
2010-01-31merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt
2010-01-31* cmdline/acqprogress.cc:Michael Vogt
- Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
2010-01-31commit debian/changelog for final 0.7.25.2 uploadMichael Vogt
2010-01-31* cmdline/apt-get.cc:David Kalnischkies
- don't mark as manually if in download only (Closes: #468180)
2010-01-30* ftparchive/writer.cc:David Kalnischkies
- generate sha1 and sha256 checksums for dsc (Closes: #567343)
2010-01-30* cmdline/acqprogress.cc:David Kalnischkies
- Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)
2010-01-30cleanup the error header a bit by moving the printf-macros outDavid Kalnischkies
and remove the using std::string
2010-01-30* apt-pkg/contrib/macros.h:David Kalnischkies
- move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)