summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
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-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-07Drop the Arch information from the Version structure as we can getDavid Kalnischkies
the information from the parent package now
2009-12-27Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies
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.
2009-12-23merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies
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).
2009-12-19Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies
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!
2009-12-19mark the Error/Warning method as __coldDavid Kalnischkies
2009-12-19add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies
2009-12-09Refactor the cache iterators by using a common base classDavid Kalnischkies
This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
2009-11-29Ignore :qualifiers after package name in build dependenciesDavid Kalnischkies
for now as long we don't understand them (Closes: #558103)
2009-11-27use "diff" filetype for .debian.tar.* files (Closes: #554898) inDavid Kalnischkies
apt-pkg/deb/debsrcrecords.cc as source format v3 uses this name scheme for their "diff" files.
2009-11-26[BREAK] add possibility to download and use multiplyDavid Kalnischkies
Translation files, configurable with Acquire::Languages accessable with APT::Configuration::getLanguages() and as always with documentation in apt.conf. The commit also includes a very very simple testapp.
2009-11-25another round of method hardening with const& in ConfigurationDavid Kalnischkies
2009-11-25allow also to skip the last patch if target is reached in acquire-item.cc,David Kalnischkies
thanks Bernhard R. Link! (Closes: #545699)
2009-11-25use long instead of short for {Ver,Desc}File size in pkgcache.hDavid Kalnischkies
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
2009-11-25merge my rred-rewrite branch & add it's changes to the changelogDavid Kalnischkies
2009-11-09extent the mmap to be able to handle currently not implementedDavid Kalnischkies
(but planed) growable mmaps
2009-10-28refactor the buildsystem to extract library versions from one file,David Kalnischkies
so it is not needed to change x-files to just increase a version number (because this is far to easy to forget one of the files, which will not result in failures or is bad in general, but is inconsitent.)
2009-10-24Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)David Kalnischkies
Backported from lp:~mvo/apt/debian-experimental Based on patch by Eugene V. Lyubimkin
2009-10-24Avoid extra inner copy in APT_MKSTRCMP and APT_MKSTRCMP2David Kalnischkies
Backported from lp:~mvo/apt/debian-experimental Patch by Eugene V. Lyubimkin
2009-10-19add more description to the manpage for the Immediate-Configuration andDavid Kalnischkies
change another message to be also translatable.
2009-10-01improve the documentation and errormessages regarding a failingDavid Kalnischkies
immediate configuration as the old message was quite a bit scare and uninformative.
2009-10-01backout revno 1875 - as this aggressive immediate propergation is something ↵David Kalnischkies
we want sometimes
2009-09-29* apt-pkg/packagemanager.cc:Michael Vogt
- fix overly aggressive immediate config propergation (thanks to David Kalnischkies)
2009-09-24merged from davidMichael Vogt
2009-09-24Ignore TriggerPendings between multiple --configure callsDavid Kalnischkies
2009-09-24* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members
2009-09-24* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866)
2009-09-18cleanup commit for trigger processing:David Kalnischkies
- remove the DPkg::NoConfTriggers - absolutely useless as we need TriggersPending already so we can use --no-triggers. - remove the Immediate-option from the example, it doesn't help much. - UnpackCritical uses DepUnPackPre with a D (on simple letter...) - the "smart" optimisation to skip A was not so smart - revert.
2009-09-15Add even more config options and try to handle configuration problemsDavid Kalnischkies
arising if we upgrade essential or predependencies which need to be configured before even unpacking packages depending on them.
2009-09-13add and document experimental options to make aggressiveDavid Kalnischkies
use of dpkg's trigger and configuration handling (Closes: #473461) Add NoTriggers option to add --no-triggers to all dpkg calls, NoConfiguration to prevent apt from trying to configure packages - dpkg should handle this in the last ConfigurePending call. This options are for now deactivated as they require more testing in real world situations, but the plan is to enable them in the near future if anything works well.
2009-09-11apt-pkg/deb/dpkgpm.cc: make some variables constant and add foldmarkersDavid Kalnischkies
2009-09-08Rework the CompressionTypes system by adding an Order subgroup toDavid Kalnischkies
simplify customisation of the order and improve the documentation about this setting group.
2009-09-08replace unknown multibytes with ? in UTF8ToCharset (Closes: #545208)David Kalnischkies
instead of ignoring the returncode and truncating the string on error
2009-09-07reintroduce #clear and #include in the config files,David Kalnischkies
they there broken since 0.7.21 with the introduction of #-comments
2009-09-04add a helper to easily get a vector of strings from the configurationDavid Kalnischkies
2009-08-28* apt-pkg/acquire-item.cc:Michael Vogt
- do not segfault on invalid items (closes: #544080)
2009-08-28* apt-pkg/pkgcache.cc:Michael Vogt
- do not set internel "needs-configure" state for packages in triggers-pending state. dpkg will deal with the trigger and it if does it before we trigger it, dpkg will error out (LP: #414631)
2009-08-27releasing version 0.7.230.7.23Michael Vogt
2009-08-25"backport" the APT::Configuration class to apt-sidDavid Kalnischkies
We can use it to simplify the internal code to operate with Acquire::CompressionTypes group. This also made it possible to set this setting with the -o flag.
2009-08-24* apt-pkg/pkgcache.cc:Michael Vogt
- do not set internel "needs-configure" state for packages in triggers-pending state. dpkg will deal with the trigger and it if does it before we trigger it, dpkg will error out (LP: #414631)
2009-08-12With the introduction of the Is{Delete,Install}Ok hooks the apt flagDavid Kalnischkies
--ignore-hold only works partly: The holds are to strongly enforced in these hooks - this commit brings the old (and expected) behaviour back. [apt-pkg/depcache.cc] - restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks
2009-08-12Add a Acquire::CompressionTypes config variable from there theDavid Kalnischkies
acquire-items choose which compression file they should (try first to) download to easily add new or change the order of the compression types. And because it is easy now we directly add builtin lzma support. The compression ratio is better than bzip2 but we prefer the later for now as no (official) mirror uses lzma, so this would only generate useless hits on the servers. Maybe sometime in the future lzma will be the default... [apt-pkg/acquire-item.cc] - use configsettings for dynamic compression type use and order. Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746) [apt-pkg/init.cc] - add default configuration for compression types and add lzma support. Order is now bzip2, lzma, gzip, none (Closes: #510526) [ftparchive/writer.cc] - add lzma support also here, patch for this (and inspiration for the one above) by Robert Millan, thanks!
2009-08-08[apt-pkg/indexcopy.cc] fix a (hypothetical) memory leak then the ReleaseDavid Kalnischkies
file not exists, patch from George Danchev, thanks! (Closes: #511556)
2009-08-08merge with apt-sidDavid Kalnischkies
* backout my fix for the sources.list issue, there is already one in
2009-08-03[apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning:David Kalnischkies
warning: suggest explicit braces to avoid ambiguous ‘else’