summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-03-12* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- fix error message construction in OpenLog()
2010-03-03fix memory leak in getLanguages() by closing the directory after checkingDavid Kalnischkies
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-27* apt-pkg/contrib/mmap.{h,cc}:David Kalnischkies
- add char[] fallback for filesystems without shared writable mmap() like JFFS2. Thanks to Marius Vollmer for writing and to Loïc Minier for pointing to the patch! (Closes: #314334)
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-25* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222)
2010-02-18fix crash when LANGUAGE is not setMichael Vogt
2010-02-18merge from the lp:~donkult/apt/sid branchMichael Vogt
2010-02-18* [BREAK] merged lp:~mvo/apt/historyMichael Vogt
- this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log) * methods/http.cc: - add cache-control headers even if no cache is given to allow adding options for intercepting proxies - add Acquire::http::ProxyAutoDetect configuration that can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout (this is a step towards WPAD and zeroconf/avahi support) * abicheck/ - add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker * Change the package index Info methods to allow apt-cache policy to be useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
2010-02-18Change the package index Info methods to allow apt-cache policy to beMichael Vogt
useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
2010-02-18we break the ABI, so let use increase the ABI number :)David Kalnischkies
(This is the revert of the glibc-abi-compatibility-hack)
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* 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-18dd support for the LANGUAGE environment variableDavid Kalnischkies
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-17merged from debian-sidMichael Vogt
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-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* 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-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-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-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-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)
2010-01-27merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt
2010-01-26add Dir::Media::MountPath config optionMichael Vogt
2010-01-26* cmdline/apt-cdrom.cc:Michael Vogt
- fixed signed/unsigned warning - create /media mount point if needed - fix initialization for res in DoAdd() * methods/cdrom.cc: - make AptMountPoint a variable
2010-01-26cmdline/apt-cdrom.cc: add --auto-detectMichael Vogt
2010-01-23* apt-pkg/contrib/fileutl.cc:Michael Vogt
- Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
2010-01-22* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- fix UnmountCdrom() fails, give it a bit more time and try the umount again
2010-01-22* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- fix UnmountCdrom() fails, give it a bit more time and try the umount again
2010-01-22mark the Error methods as __coldDavid Kalnischkies
2010-01-22add a few gcc helpers, including [un]likely() and __deprecatedDavid Kalnischkies