summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* merge with debian-sidDavid Kalnischkies2010-10-133-13/+41
|\
| * apt-pkg/contrib/fileutl.cc: fix FileFd::Size() for files that are empty or ↵Michael Vogt2010-10-131-5/+10
| | | | | | | | for non-gzip files
| * merge from trunkMartin Pitt2010-10-131-2/+2
| |\
| | * * apt-pkg/deb/debsystem.cc:Michael Vogt2010-10-131-2/+2
| | |\ | | | | | | | | | | | | - fix issues with dir::state::status and dir::state::extended_states when alternative rootdirs are used
| | | * apt-pkg/deb/debsystem.cc: remove duplicated rootdir (FindFile will prepend ↵Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | the rootdir later anyway)
| | | * * revert commit:Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir This causes problems with alternative rootdirs
| * | | * apt-pkg/contrib/fileutl.cc:Martin Pitt2010-10-131-1/+20
| | | | | | | | | | | | | | | | | | | | - Fix FileFd::Size() for gzipped files to give the size of the uncompressed data. This fixes cache progress building progress going way over 100%.
| * | | * apt-pkg/deb/debindexfile.cc:Martin Pitt2010-10-131-9/+13
| |/ / | | | | | | | | | | | | - Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes.
* / / * apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior2010-10-071-0/+1
|/ / | | | | | | | | - support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
* | * apt-pkg/depcache.cc:David Kalnischkies2010-10-021-0/+10
| | | | | | | | - do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
* | * apt-pkg/packagemanager.cc:David Kalnischkies2010-09-291-3/+3
| | | | | | - Add a space between period and 'Please' and unfuzzy all translations
* | * apt-pkg/depcache.cc:David Kalnischkies2010-09-291-1/+1
| | | | | | | | - do not check endpointer packages instead of only those which prevented NeverAutoRemove settings from having an effect (Closes: #598452)
* | * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-09-281-2/+2
| | | | | | - add a space between number and unit as required by SI (Closes: #598352)
* | merged lp:~donkult/apt/sid Michael Vogt2010-09-155-6/+15
|\ \
| * \ merge with debian-sid to get final 0.8.4David Kalnischkies2010-09-142-4/+22
| |\ \
| * | | * apt-pkg/policy.cc:David Kalnischkies2010-09-145-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | - support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
* | | | merged lp:~mvo/apt/conflicts-on-virtuals to better deal withMichael Vogt2010-09-151-10/+19
|\ \ \ \ | |_|/ / |/| | | conflicts/breaks against virtual packages (LP: #614993)
| * | | remove duplicated test, move test for conflicts higher up, better debug outputMichael Vogt2010-09-031-24/+15
| | | |
* | | | merged from lp:~mvo/apt/mvoMichael Vogt2010-09-101-3/+21
|\ \ \ \ | | |_|/ | |/| |
| * | | apt-pkg/contrib/cdromutl.cc: do not take Buf.f_bfree into account on ↵Michael Vogt2010-09-101-4/+12
| | | | | | | | | | | | | | | | writable media
| * | | apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)Michael Vogt2010-09-101-3/+3
| | | |
| * | | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-09-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Fix missing space after dot in a message from apt-pkgbubulle@debian.org2010-09-091-1/+1
| |_|/ |/| | | | | Translations unfuzzied. Thanks to Holger Wansing.
* | | * apt-pkg/acquire-item.cc:David Kalnischkies2010-09-091-6/+10
| | | | | | | | | - use also unsigned Release files again (Closes: #596189)
* | | * apt-pkg/indexcopy.cc:Michael Vogt2010-09-071-3/+10
|\| | | | | | | | | | | | | | - 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
| * | do not replace /dev/null when running in APT::CDROM::NoActMichael Vogt2010-09-071-1/+6
| | | | | | | | | mode (LP: #612666), thanks to Colin Watson
| * | apt-pkg/indexcopy.cc: include trustedFile (if it exists)Michael Vogt2010-09-031-5/+3
| | |
| * | * apt-pkg/indexcopy.cc:Michael Vogt2010-09-031-3/+7
| |\| | | | | | | - only use trusted.gpg.d directory if it exists
| | * apt-pkg/algorithms.cc: show debug output only if debug option is givenMichael Vogt2010-08-311-3/+4
| | |
| | * apt-pkg/algorithms.cc: if a package was added to the kill list via a ↵Michael Vogt2010-08-311-1/+2
| | | | | | | | | | | | DpkgBreaks, make sure to break in the loop (just like for a conflict)
| | * apt-pkg/algorithms.cc: in the case of conflicts/breaks against a Provide ↵Michael Vogt2010-08-311-0/+17
| | | | | | | | | | | | Start.AllTarget() returns all non-canidates as well, we want to filter them out
* | | rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeededDavid Kalnischkies2010-09-064-8/+8
| | | | | | | | | | | | to give a better indication what this method will do if called.
* | | * apt-pkg/indexcopy.cc:David Kalnischkies2010-09-042-3/+2
| | | | | | | | | | | | - support really still the APT::GPGV::TrustedKeyring setting, as it breaks d-i badly otherwise (Closes: #595428)
* | | update the version number to the upcoming 0.8.2 andDavid Kalnischkies2010-09-031-1/+1
|/ / | | | | | | bump the release version of the library also
* | check for length of Data to avoid the validness ofDavid Kalnischkies2010-09-021-1/+1
| | | | | | | | | | | | | | 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 "
* | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-09-025-30/+32
|/ | | | | | | - 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
* * apt-pkg/versionmatch.cc:David Kalnischkies2010-08-301-3/+6
| | | | | - 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)
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2010-08-283-4/+13
| | | | - fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-08-281-1/+2
| | | - apply SilentlyIgnore also on files without an extension
* * apt-pkg/depcache.cc:David Kalnischkies2010-08-271-1/+10
| | | | - 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/acquire-item.cc:David Kalnischkies2010-08-211-3/+3
| | | | | | | - 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.
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-08-201-2/+4
| | | | | - use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
* * apt-pkg/deb/debsystem.cc:David Kalnischkies2010-08-191-1/+1
| | | - set dir::state::status based at least on dir
* * apt-pkg/init.cc:David Kalnischkies2010-08-192-3/+5
| | | - set the default values for dir::etc::trusted options correctly
* * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-08-161-1/+1
| | | | | | | - 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
* do not unconditional print the new debugoutput for "FixByInstall"David Kalnischkies2010-08-141-1/+2
|
* * apt-pkg/pkgcache.cc:David Kalnischkies2010-08-131-1/+2
| | | - fix LongDesc handling in LANG=C environment
* * apt-pkg/algorithms.cc:David Kalnischkies2010-08-131-11/+29
| | | | | | | | | | | | | | | | | - 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
* merge with debian-experimental-maDavid Kalnischkies2010-08-107-13/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode2010-08-103-6/+6
| |