summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-09-10merged from lp:~mvo/apt/mvoMichael Vogt
2010-09-10apt-pkg/contrib/cdromutl.cc: do not take Buf.f_bfree into account on ↵Michael Vogt
writable media
2010-09-10apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)Michael Vogt
2010-09-10merged from debian-sidMichael Vogt
2010-09-10merged from lp:~mvo/apt/mvoMichael Vogt
2010-09-10* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- if apt-cdrom is used on writable media (like usb-sticks), do not use the root directory to identify the medium (as all changes there change the ident id). Use the .disk directory instead
2010-09-09Fix missing space after dot in a message from apt-pkgbubulle@debian.org
Translations unfuzzied. Thanks to Holger Wansing.
2010-09-09* apt-pkg/acquire-item.cc:David Kalnischkies
- use also unsigned Release files again (Closes: #596189)
2010-09-07* apt-pkg/indexcopy.cc:Michael Vogt
- only use trusted.gpg.d directory if it exists - do not replace /dev/null when running in APT::CDROM::NoAct mode (LP: #612666), thanks to Colin Watson
2010-09-07* apt-pkg/indexcopy.cc:Michael Vogt
- only use trusted.gpg.d directory if it exists - do not replace /dev/null when running in APT::CDROM::NoAct mode (LP: #612666), thanks to Colin Watson
2010-09-07do not replace /dev/null when running in APT::CDROM::NoActMichael Vogt
mode (LP: #612666), thanks to Colin Watson
2010-09-07merged from the debian-sid branchMichael Vogt
2010-09-07* apt-pkg/init.cc:Michael Vogt
- ignore ".distUpgrade" and ".save" files in sources.list.d (LP: #631770)
2010-09-06rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeededDavid Kalnischkies
to give a better indication what this method will do if called.
2010-09-04* apt-pkg/indexcopy.cc:David Kalnischkies
- support really still the APT::GPGV::TrustedKeyring setting, as it breaks d-i badly otherwise (Closes: #595428)
2010-09-03apt-pkg/indexcopy.cc: include trustedFile (if it exists)Michael Vogt
2010-09-03* apt-pkg/indexcopy.cc:Michael Vogt
- only use trusted.gpg.d directory if it exists
2010-09-03update the version number to the upcoming 0.8.2 andDavid Kalnischkies
bump the release version of the library also
2010-09-02check for length of Data to avoid the validness ofDavid Kalnischkies
Pin: origin " (no error displayed). We already know in this method that Data is at least one char long, so we avoid the length counting as long as the string doesn't start with "
2010-09-02* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- create Dir::Log if needed to support /var/log as tmpfs or similar, inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239) Easily done by moving a private method from pkgAcquire into the public area of fileutl.cc to be able to use it also in here
2010-08-31apt-pkg/algorithms.cc: show debug output only if debug option is givenMichael Vogt
2010-08-31apt-pkg/algorithms.cc: if a package was added to the kill list via a ↵Michael Vogt
DpkgBreaks, make sure to break in the loop (just like for a conflict)
2010-08-31apt-pkg/algorithms.cc: in the case of conflicts/breaks against a Provide ↵Michael Vogt
Start.AllTarget() returns all non-canidates as well, we want to filter them out
2010-08-30* merged fixes from the debian-sid bzr branch:Michael Vogt
* Simplified Chinese (Aron Xu). Closes: #594458 * Bulgarian (Damyan Ivanov). Closes: #594627 * Portuguese (Miguel Figueiredo). Closes: #594668 * Korean (Changwoo Ryu). Closes: #594809 * Portuguese (Américo Monteiro) * cmdline/apt-cache.cc: - remove useless GetInitialize method * cmdline/apt-get.cc: - remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display - remove death code by removing unused GetInitialize * apt-pkg/depcache.cc: - now that apt-get purge works on 'rc' packages let the MarkDelete pass this purge forward to the non-pseudo package for pseudos * apt-pkg/contrib/fileutl.cc: - apply SilentlyIgnore also on files without an extension * apt-pkg/contrib/configuration.cc: - fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689) * apt-pkg/versionmatch.cc: - let the pin origin actually work as advertised in the manpage which means "" are optional and pinning a local archive does work - even if it is a non-flat archive (Closes: #594435)
2010-08-30* apt-pkg/versionmatch.cc:David Kalnischkies
- let the pin origin actually work as advertised in the manpage which means "" are optional and pinning a local archive does work - even if it is a non-flat archive (Closes: #594435)
2010-08-28* apt-pkg/contrib/configuration.cc:David Kalnischkies
- fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
2010-08-28* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- apply SilentlyIgnore also on files without an extension
2010-08-27* apt-pkg/depcache.cc:David Kalnischkies
- now that apt-get purge works on 'rc' packages let the MarkDelete pass this purge forward to the non-pseudo package for pseudos
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