summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2012-03-03show in the debug output if we are looping in the avoid breaksDavid Kalnischkies1-1/+6
2012-03-03eanup the ordering-code avoiding a break (no function change)David Kalnischkies1-28/+23
2012-02-18use pdiff for Translation-* files if available (Closes: #657902)David Kalnischkies1-1/+6
Beware: pdiffs for Translation-* are only acquired if their availability is advertised in the Release file.
2012-02-18* apt-pkg/acquire-item.cc:David Kalnischkies2-72/+31
- drop support for i18n/Index file (introduced in 0.8.11) and use the Release file instead to get the Translations (Closes: #649314) * ftparchive/writer.cc: - add 'Translation-*' to the default patterns i18n/Index was never used outside debian - and even here it isn't used consistently as only 'main' has such a file. As the Release file now includes the Translation-* files we therefore drop support for i18n/Index. A version supporting it was never part of a debian release and still supporting it would mean that we get 99% of the time a 404 as response to the request anyway and confuse archive maintainers who want to provide all files APT tries to acquire.
2012-02-18ensure that the cache-directories are really directories beforeDavid Kalnischkies1-2/+2
trying to get a list of included files from them
2012-02-18* apt-pkg/indexrecords.cc:David Kalnischkies1-1/+4
- do not create empty Entries as a sideeffect of Lookup()
2012-02-11* apt-pkg/cachefile.cc:David Kalnischkies3-0/+109
- clean up lost atomic cachefiles with 'clean' (Closes: #650513)
2012-02-11save the universe by not printing messages about apport if a packageDavid Kalnischkies1-0/+6
with this name is not installed (Closes: #619646)
2012-02-11correctly ignore already (un)hold packagesDavid Kalnischkies1-0/+8
2012-02-10ensure that architectures are not added multiple timesDavid Kalnischkies1-1/+3
2012-02-09call dpkg --assert-multi-arch with execvp instead of execvDavid Kalnischkies2-2/+2
2012-02-03rework previous patch to avoid changing the inline codeMichael Vogt2-4/+6
2012-02-03* apt-pkg/contrib/fileutl.h:Michael Vogt1-1/+4
- fix compat with FileFd::OpenDescriptor() in ReadOnlyGzip mode
2012-02-03* apt-pkg/contrib/fileutl.h:Michael Vogt1-1/+4
- fix compat with FileFd::OpenDescriptor() in ReadOnlyGzip mode
2012-01-31Fix IndexCopy::CopyPackages and TranslationsCopy::CopyTranslations toMichael Vogt1-2/+2
handle compressed files again (LP: #924182, closes: #658096)
2012-01-30* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-2/+36
- fix crash when a package is in removed but residual config state (LP: #923807)
2012-01-30* apt-pkg/aptconfiguration.cc:David Kalnischkies1-8/+57
- chroot if needed before calling dpkg --print-foreign-architectures
2012-01-30* apt-pkg/contrib/configuration.cc:David Kalnischkies1-2/+8
- do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too.
2012-01-29* apt-pkg/depcache.cc:David Kalnischkies1-11/+28
- if a M-A:same package is marked for reinstall, mark all it's installed silbings for reinstallation as well (LP: #859188)
2012-01-29* apt-pkg/algorithms.cc:Colin Watson2-16/+16
- use a signed int instead of short for score calculation as upgrades become so big now that it can overflow (Closes: #657732, LP: #917173)
2012-01-29* apt-pkg/algorithms.cc:Colin Watson1-2/+1
- don't break out of the main-resolver loop for Breaks to deal with all of them in a single iteration (Closes: #657695, LP: #922485)
2012-01-29ensure that dpkg binary doesn't have the chroot-directory prefixedDavid Kalnischkies1-1/+11
2012-01-29* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-17/+15
- chroot if needed before dpkg --assert-multi-arch
2012-01-20fix a few esoteric cppcheck errors/warnings/infosDavid Kalnischkies1-1/+0
2012-01-20fix typos in comments reported by the lintian in very-picky-modesDavid Kalnischkies1-5/+5
2012-01-19* apt-pkg/packagemanager.cc:David Kalnischkies1-1/+7
- ignore breaks on not-installed versions while searching for breakage loops as we don't have to avoid them
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies3-4/+4
- return the correct version arch for all+foreign, too The flag is interpreted at a few other places in different styles so this commit ensures that the flag check is consistent everywhere (checking for Same in flag style is a bit too much as it isn't used in combination with others anyway, but who knows and just for consistency)
2012-01-19* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+5
- fix segfault on pkg removal
2012-01-19if multi-arch is detected ensure that pkg:all is reported as pkg:allDavid Kalnischkies1-1/+4
Versions with arch:all are added to the package with the native arch, so we can't rely on Pkg.Arch() for the architecture
2012-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-0/+5
- redirect out/input of dpkg --assert-multi-arch to /dev/null
2012-01-18* apt-pkg/contrib/fileutl.h:Michael Vogt2-7/+19
- store the offset in the internal fd before calculate size of the zlib-handled file to jump back to this place again * apt-pkg/contrib/fileutl.h:
2012-01-18* apt-pkg/aptconfiguration.cc:Michael Vogt1-1/+1
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too. (Closes: #655590) * Slovak (Ivan Masar). Closes: #652985 * Russian (Yuri Kozlov). Closes: #654844 * Hungarian (Gabor Kelemen). Closes: #655238
2012-01-18* apt-pkg/contrib/fileutl.h:David Kalnischkies1-1/+3
- store the offset in the internal fd before calculate size of the zlib-handled file to jump back to this place again It jumped back to the position of the content - which is wrong as the internal fd is compressed and even reseting to the beginning of the file doesn't work as zlib uses an internal buffer, so while we might haven't read anything yet zlib might have done so already…
2012-01-18improve error reporting in case of errors in combination with zlibDavid Kalnischkies2-6/+16
2012-01-16* apt-pkg/contrib/fileutils.h:Michael Vogt1-1/+1
- fix segfault from python-apt testsuite
2012-01-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-21/+52
- check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
2012-01-13factor out the detection of self-conflicts into Dep::IsIgnorableDavid Kalnischkies4-27/+39
2012-01-13* apt-pkg/pkgcache.cc:David Kalnischkies1-5/+12
- ignore implicit conflicts on providers in AllTarget, too
2012-01-11* apt-pkg/depcache.cc:David Kalnischkies1-5/+11
- implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
2012-01-02g++ 4.7 fixesMichael Vogt1-0/+2
2012-01-02g++ 4.7 fixesMichael Vogt1-0/+2
2011-12-18usage of Skipping in pipes can't work, so we ignore-read insteadDavid Kalnischkies1-8/+26
Also, read only one char in each step of ReadLine instead of back-"seeking"
2011-12-17try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies6-10/+67
on the FileFd instead
2011-12-17keep track of where we are in a filedescriptor so we can use it as Tell()David Kalnischkies1-9/+30
information if we are working on a pipe which can't seek
2011-12-16try seeking on fds opened with OpenDescriptor before giving upDavid Kalnischkies1-1/+8
2011-12-15refactor compressor calling so that we don't (need to) export ExecCompressorDavid Kalnischkies2-264/+120
anymore and therefore are also able to drop quiet a bit of duplicated code
2011-12-15atleast libapt should announce to itself that it is clean…David Kalnischkies5-15/+19
(and be it if it tries to announce that…)
2011-12-14use FileFd instead of forking the compression childs by handDavid Kalnischkies2-30/+80
2011-12-14* apt-pkg/aptconfiguration.cc:David Kalnischkies1-1/+1
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too.
2011-12-13allow Open() and OpenDescriptor() to be called with a CompressorDavid Kalnischkies2-93/+98