summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-08-24* merged from debian/unstableMichael Vogt
* merge of the debian-expermental-ma branch * refresh po/pot files in doc/ and po/ * Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki Closes: #594211 * Swedish (Daniel Nylander). Closes: #592366 * French (Christian Perrier) * Thai (Theppitak Karoonboonyanan). Closes: #592695 * Russian (Yuri Kozlov). Closes: #594232 * French (Christian Perrier) * apt-pkg/contrib/strutl.cc: - fix error checking for vsnprintf in its safe variant * methods/bzip2.cc: - fix error checking for read in case of failing bzip2/lzma/whatever * debian/apt.cron.daily: - create backups for our extended_states file (Closes: #593430) * apt-pkg/init.cc: - set the default values for dir::etc::trusted options correctly * ftparchive/writer.cc: - init valid-until correctly to prevent garbage entering Release file * apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir * apt-pkg/deb/dpkgpm.cc: - use the InstVer instead of the CurrentVer for the autobit transfer * methods/http.cc: - some http servers violate HTTP1.1 by not issuing a Reason-Phrase (or at least a space after the code) especially for 200, but lets be nice and ignore it as we don't need the reason in general * apt-pkg/acquire-item.cc: - don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses
2010-08-23* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- enable apport reports again (got lost in the previous merge), thanks to Matt Zimmerman
2010-08-21* apt-pkg/acquire-item.cc:David Kalnischkies
- don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses Add also 2 testcases: one to test pdiffs in general and one to test the handling of compressed indexes.
2010-08-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
2010-08-19* apt-pkg/deb/debsystem.cc:David Kalnischkies
- set dir::state::status based at least on dir
2010-08-19* apt-pkg/init.cc:David Kalnischkies
- set the default values for dir::etc::trusted options correctly
2010-08-16* apt-pkg/contrib/strutl.cc:David Kalnischkies
- fix error checking for vsnprintf in its safe variant Spotted by -Wextra: contrib/strutl.cc: In function 'char* safe_snprintf(char*, char*, const char*, ...)': contrib/strutl.cc:1172:14: warning: comparison of unsigned expression < 0 is always false
2010-08-14do not unconditional print the new debugoutput for "FixByInstall"David Kalnischkies
2010-08-13merged from debianMichael Vogt
2010-08-13* apt-pkg/pkgcache.cc:David Kalnischkies
- fix LongDesc handling in LANG=C environment
2010-08-13* apt-pkg/algorithms.cc:David Kalnischkies
- let the problem resolver install packages to fix or-groups as a needed remove nuked another or-member (helps for #591882) The resolver sometimes need to break or-groups because he need to remove the previous satisfier as a result of a breaks/conflicts. In such broken or-groups he now tries to install a non-installed non-deleted member of the or-group to statisfy it again. This move is dangerous as it introduces the possibility of a bunch of "new" broken breaks/conflicts on the new statisfier or its dependencies and we don't know about them beforehand. We also don't have the infrastructure to undo the decision later, so we just do it and pray! For now a test option is provided to disable this behavior on the fly to test if the situation is worse: pkgProblemResolver::FixByInstall
2010-08-11merged from the debian-experimental-ma branchMichael Vogt
2010-08-10merge with debian-experimental-maDavid Kalnischkies
* Swedish translation update. Closes: #592366 * apt-pkg/pkgcache.cc: - re-evaluate the architectures cache when the cache is (re)opened * apt-pkg/cdrom.cc: - fix off-by-one error in DropBinaryArch * apt-pkg/contrib/fileutl.cc: - Add WriteAtomic mode. - Revert WriteEmpty to old behavior (LP: #613211) * apt-pkg, methods: - Convert users of WriteEmpty to WriteAtomic. * apt-pkg/depcache.cc: - Only try upgrade for Breaks if there is a newer version, otherwise handle it as Conflicts (by removing it) (helps for #591882). * debian/control: - Add dependency on gnupg to apt, apt-key uses it.
2010-08-10* apt-pkg/algorithms.cc:David Kalnischkies
- change the debug outputs to display also arch of the package and version dependencies information
2010-08-10apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode
2010-08-10apt-pkg/contrib/fileutl.cc: Revert WriteEmpty to old behavior (LP: #613211)Julian Andres Klode
2010-08-10apt-pkg/contrib/fileutl.cc: Add WriteAtomic mode.Julian Andres Klode
2010-08-06* apt-pkg/depcache.cc:Julian Andres Klode
- Only try upgrade for Breaks if there is a newer version, otherwise handle it as Conflicts (by removing it) (helps for #591881).
2010-08-02* apt-pkg/cdrom.cc:Michael Vogt
- fix off-by-one error in DropBinaryArch
2010-08-02* apt-pkg/cdrom.cc:Michael Vogt
- fix off-by-one error in DropBinaryArch
2010-07-30releasing version 0.7.26~exp12ubuntu1Michael Vogt
2010-07-30* apt-pkg/pkgcache.cc:Michael Vogt
- re-evaluate the architectures cache when the cache is (re)opened
2010-07-30merged from http://bzr.debian.org/apt/apt/debian-experimental-maMichael Vogt
2010-07-30 - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies
* cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
2010-07-30* debian/control:Michael Vogt
- add dependency on zlib-dev for libapt-pkg-dev * apt-pkg/cacheset.cc: - make CacheSetHelper::canNotFindAllVer display a notice only (for compat reasons). Otherwise tools like sbuild blow up
2010-07-30 * apt-pkg/cacheset.cc:Michael Vogt
- make CacheSetHelper::canNotFindAllVer display a notice only (for compat reasons). Otherwise tools like sbuild blow up
2010-07-29merged with current debian-experimental-ma branchMichael Vogt
2010-07-29apt-pkg/init.h: update MAPT_PKG_MINOR because 9 was used in experimental for ↵Michael Vogt
some time and there was quite a bit of churn
2010-07-29merged with the debian-experimental-ma branchMichael Vogt
2010-07-29add inline DumpError() to avoid subtle API breakMichael Vogt
2010-07-29* apt-pkg/contrib/error.{cc,h}Michael Vogt
- docstring cleanup
2010-07-29* apt-pkg/orderlist.cc:Michael Vogt
- try to install another or-group member in DepRemove before breaking the or group (Closes: #590438) - configure also the replacement before remove by adding Immediate flag
2010-07-29configure also the replacement before remove by adding Immediate flagDavid Kalnischkies
2010-07-29merged lp:~donkult/apt/sidMichael Vogt
2010-07-28* apt-pkg/orderlist.cc:David Kalnischkies
- try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
2010-07-27* apt-pkg/cdrom.cc:Julian Andres Klode
- Use link() instead of rename() for creating the CD database backup; otherwise there would be a short time without any database.
2010-07-26 - add a 'newest' pseudo target release as in pkg/newestDavid Kalnischkies
*
2010-07-25* apt-pkg/pkgcache.cc:David Kalnischkies
- prefer non-virtual packages in FindPreferredPkg
2010-07-23* apt-pkg/contrib/fileutl.cc:Julian Andres Klode
- Add FileFd::OpenDescriptor() (needed for python-apt's #383617).
2010-07-21Add to history whether a change was automatic or not.Julian Andres Klode
2010-07-21* apt-pkg/deb/dpkgpm.cc:Julian Andres Klode
- Write architecture information to history file.
2010-07-17* apt-pkg/cacheset.cc:David Kalnischkies
- move them back to the library as they look stable now
2010-07-17factor regex package name matches into newly created cachefilter classesDavid Kalnischkies
2010-07-14* apt-pkg/depcache.cc:David Kalnischkies
- handle "circular" conflicts for "all" packages correctly
2010-07-11accidently prefilling the vectors results in segfaultsDavid Kalnischkies
2010-07-11mark all "Hash Sum mismatch" strings as translateableDavid Kalnischkies
2010-07-11rename ReOwn to ReMap in the cacheiteratorsDavid Kalnischkies
2010-07-11fix typo preventing display of architecture in Info()David Kalnischkies
2010-07-11* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not query each architecture for flat file archives
2010-07-11[ Martin Pitt ]David Kalnischkies
* debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.