summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* We need to kill also pseudo packages which have no dependency, noDavid Kalnischkies2010-03-012-12/+66
| | | | | | | | | 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.
* Remove and Unpack operations should not be ignored for pseudo packages -David Kalnischkies2010-03-012-9/+15
| | | | | | | | | | | 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.
* Create Pins for all group members instead of only for native architectureDavid Kalnischkies2010-02-281-19/+22
|
* Fix the PkgFileIterator Constructor which defaults to the wrong value.David Kalnischkies2010-02-281-1/+2
| | | | | | (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)
* Enable the AutoRemover to talk "Multi-Arch" by marking all pseudoDavid Kalnischkies2010-02-272-65/+109
| | | | | | | | | 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.
* move ShowPkg() from apt-get to the PkgIterator and rename it to FullName()David Kalnischkies2010-02-264-77/+75
| | | | | | | 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.
* doesn't use a default separator in ExplodeString (halfway losted in merge)David Kalnischkies2010-02-181-1/+1
|
* criss-cross merge with my sid branchDavid Kalnischkies2010-02-182-11/+12
|\
| * * doc/apt_preferences.5.xml:David Kalnischkies2010-02-182-1/+11
| | | | | | | | - explicitly warn against careless use (Closes: #567669)
| * * debian/control:David Kalnischkies2010-02-182-1/+3
| | | | | | | | - update with no changes to debian policy 3.8.4
| * * aptconfiguration.cc:David Kalnischkies2010-02-185-9/+105
| | | | | | | | | | | | | | | | | | | | - 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).
| * * buildlib/apti18n.h.in, po/makefile:David Kalnischkies2010-02-184-5/+13
| | | | | | | | - add ngettext support with P_()
| * dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-185-47/+127
| |
| * - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies2010-02-185-24/+34
| | | | | | | | | | - if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-182-1/+4
| | | | | | | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
* | * doc/apt_preferences.5.xml:David Kalnischkies2010-02-172-1/+11
| | | | | | | | - explicitly warn against careless use (Closes: #567669)
* | add a note about the uncomplete toolchain to sound a bit more scaryDavid Kalnischkies2010-02-171-0/+7
| |
* | * debian/control:David Kalnischkies2010-02-162-1/+3
| | | | | | | | - update with no changes to debian policy 3.8.4
* | * aptconfiguration.cc:David Kalnischkies2010-02-155-9/+105
| | | | | | | | | | | | | | | | | | | | - 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).
* | * buildlib/apti18n.h.in, po/makefile:David Kalnischkies2010-02-154-5/+13
| | | | | | | | - add ngettext support with P_()
* | Activate support of :any and stuff in apt-get build-dep as we haveDavid Kalnischkies2010-02-152-3/+4
| | | | | | | | | | now support for MultiArch, so Multi-Arch: allowed packages should already provide package:any
* | Add support for the LANGUAGE environment variableDavid Kalnischkies2010-02-144-48/+108
| |
* | Pseudo() doesn't work in the Cache generation step as the check if onlyDavid Kalnischkies2010-02-141-1/+2
| | | | | | | | | | one package is in the group will generate false positives - as the others will (maybe) added a little time later in the process.
* | - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies2010-02-135-24/+34
| | | | | | | | | | - if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
* | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-132-1/+4
| | | | | | | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
* | [BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies2010-02-1333-799/+1634
|\ \ | |/ |/| | | | | | | | | | | | | 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.
| * Add a more or less useful README file for everything related to MultiArchDavid Kalnischkies2010-02-132-1/+108
| | | | | | | | and install it in the apt-doc package.
| * In SingleArch environments we don't need the arch "all" pseudo packageDavid Kalnischkies2010-02-124-4/+13
| | | | | | | | | | for handling arch:all packages, so we create only one package and stop calling it a pseudo package.
| * Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies2010-02-1212-20/+137
| | | | | | | | | | | | | | | | | | | | 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.
| * Arch() on a MultiArch:all version should return "all" to be compatibleDavid Kalnischkies2010-02-111-1/+10
| | | | | | | | | | with previous usecases. You now need to requested with Arch(true) the return of the architecture this version (and pseudo package) was created for.
| * display the architecture of the package if it is not the defaultDavid Kalnischkies2010-02-112-26/+53
| | | | | | | | | | architecture in apt-get, display policy for all available architectures and use GrpIterator in apt-cache pkgnames
| * Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies2010-02-112-1/+10
| | | | | | | | | | name:any for such packages, so dependencies in this style can be easily resolved.
| * Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies2010-02-103-24/+42
| |
| * Create implicit dependencies needed for Multi-Arch handlingDavid Kalnischkies2010-02-101-7/+24
| |
| * Pre-MultiArch a package which depends on a package with architecture "all"David Kalnischkies2010-02-103-11/+110
| | | | | | | | | | | | | | | | | | | | 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.
| * Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-076-7/+12
| | | | | | | | the information from the parent package now
| * Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies2009-12-276-40/+176
| | | | | | | | | | | | | | | | | | for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
| * merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies2009-12-2318-214/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
| * Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies2009-12-197-70/+267
| | | | | | | | | | | | | | | | | | | | | | | | infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
| * mark the Error/Warning method as __coldDavid Kalnischkies2009-12-191-4/+5
| |
| * add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies2009-12-191-0/+22
| |
| * Refactor the cache iterators by using a common base classDavid Kalnischkies2009-12-093-418/+320
| | | | | | | | | | This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
* | merge with debian-sidDavid Kalnischkies2010-02-1314-682/+891
|\ \
| * | Slovak translation updatebubulle@debian.org2010-02-032-184/+225
| | |
| * | releasing version 0.7.25.3Michael Vogt2010-02-011-5/+4
| | |
| * | merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-3111-19/+16
| | |
| * | * cmdline/acqprogress.cc:Michael Vogt2010-01-316-30/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | commit debian/changelog for final 0.7.25.2 uploadMichael Vogt2010-01-311-6/+12
| | |
| * | First French updatebubulle@debian.org2010-01-291-58/+43
| | |
| * | French translation updatebubulle@debian.org2010-01-292-175/+208
| | |