summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
AgeCommit message (Collapse)Author
2011-06-28merged from lp:~mvo/apt/mvoMichael Vogt
2011-06-27* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- set permissions of term.log to root.adm and 644 (LP: #404724)
2011-06-09apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage ↵Michael Vogt
that is not needed
2011-06-09apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as ↵Michael Vogt
this will break adding translations to the cache if the current environment does not include the language (e.g. LANG=C but german translations). testing for existance of the file is the better approach
2011-06-09* apt-pkg/deb/deblistparser.cc:Michael Vogt
- include all known languages when building the apt cache (LP: #794907)
2011-05-23log reinstall commands in history.logDavid Kalnischkies
2011-05-19remove invalid pkgcache.bin and rebuild it if possibleDavid Kalnischkies
The next invocation of APT tried to load an outdated big (and possible io-cold) file just to end up rebuilding it (possibly only as non-root in memory again and again), so we remove it here and if we have a srcpkgcache we are going to rebuild, too.
2011-05-17rename I to J to avoid redefining a variable (clang warning)David Kalnischkies
2011-04-26* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
2011-04-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- replace obsolete usleep with nanosleep
2011-04-14* apt-pkg/deb/deblistparser.cc:Julian Andres Klode
- Handle no space before "[" in build-dependencies (LP: #72344)
2011-03-28* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- create foo:any provides for all architectures for an allowed package
2011-03-25* apt-pkg/cacheiterator.h:David Kalnischkies
- return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
2011-03-23* apt-pkg/deb/deblistparser.h:David Kalnischkies
- enable StripMultiArch by default for ParseDepends
2011-03-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- skip --configure if all packages disappeared
2011-03-10merged the lp:~mvo/apt/mvo branchMichael Vogt
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies
Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
2011-03-07use FullName and strdup instead of handmade and new[]David Kalnischkies
2011-03-07* apt-pkg/deb/dpkgpm.cc:Steve Langasek
- make sure that for multiarch packages, we are passing the full qualified package name to dpkg for removals. (Closes: #614298)
2011-03-03* apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt
- honor Dpkg::Chroot-Directory in the RunScripts*() methods
2011-02-27support every compression we have a compressor configuredDavid Kalnischkies
2011-02-25* apt-pkg/deb/debindexfile.cc:Michael Vogt
- ignore missing deb-src files in /var/lib/apt/lists, thanks to Thorsten Spindler (LP: #85590)
2011-02-22* apt-pkg/deb/debsrcrecords.cc:David Kalnischkies
- support xz-compressed source v3 debian.tar files
2011-02-22* apt-pkg/deb/debsrcrecords.cc:David Kalnischkies
- support xz-compressed source v3 debian.tar files
2011-02-03merge 'after squeeze release'-stuffDavid Kalnischkies
[ David Kalnischkies ] * apt-pkg/depcache.cc: - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) * cmdline/apt-get.cc: - if --print-uris is used don't setup downloader as we don't need progress, lock nor the directories it would create otherwise - show dependencies of essential packages which are going to remove only if they cause the remove of this essential (Closes: #601961) - keep not installed garbage packages uninstalled instead of showing in the autoremove section and installing those (Closes: #604222) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier - really do not show packages in the extra section if they were requested on the commandline, e.g. with a modifier (Closes: #184730) * debian/control: - add Vcs-Browser now that loggerhead works again (Closes: #511168) - depend on debhelper 7 to raise compat level - depend on dpkg-dev (>= 1.15.8) to have c++ symbol mangling * apt-pkg/contrib/fileutl.cc: - add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401) - ignore non-regular files in GetListOfFilesInDir (Closes: #594694) * apt-pkg/contrib/weakptr.h: - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6 * methods/https.cc: - fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled * deb/dpkgpm.cc: - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803) * doc/apt.conf.5.xml: - fix multipl{y,e} spelling error reported by Jakub Wilk (Closes: #607636) * apt-inst/contrib/extracttar.cc: - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162) * apt-pkg/cacheiterator.h: - do not segfault if cache is not build (Closes: #254770) * doc/apt-get.8.xml: - remove duplicated mentioning of --install-recommends * doc/sources.list.5.xml: - remove obsolete references to non-us (Closes: #594495) * debian/rules: - use -- instead of deprecated -u for dh_gencontrol - remove shlibs.local creation and usage - show differences in the symbol files, but never fail * pre-build.sh: - remove as it is not needed for a working 'bzr bd' * debian/{apt,apt-utils}.symbols: - ship experimental unmangled c++ symbol files * methods/rred.cc: - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred - try downloading clearsigned InRelease before trying Release.gpg - change the internal handling of Extensions in pkgAcqIndex - add a special uncompressed compression type to prefer those files - download and use i18n/Index to choose which Translations to download * cmdline/apt-key: - don't set trustdb-name as non-root so 'list' and 'finger' can be used without being root (Closes: #393005, #592107) * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles * ftparchive/writer.cc: - add config option to search for more patterns in release command - include Index files by default in the Release file * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
2011-01-28 - download and use i18n/Index to choose which Translations to downloadDavid Kalnischkies
* apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
2011-01-27apt-pkg/deb/dpkgpm.cc: fix format string warningMichael Vogt
2011-01-20 - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies
* apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
2011-01-12* deb/dpkgpm.cc:Petter Reinholdtsen
- fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803)
2011-01-12remove the unused Die boolean - error reporting is done by ExecWaitDavid Kalnischkies
2010-10-28* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
2010-10-28* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
2010-10-15add test case for having no indexes, and fix regression in that caseMartin Pitt
2010-10-13merge with debian-sidDavid Kalnischkies
2010-10-13merge from trunkMartin Pitt
2010-10-13* apt-pkg/deb/debsystem.cc:Michael Vogt
- fix issues with dir::state::status and dir::state::extended_states when alternative rootdirs are used
2010-10-13apt-pkg/deb/debsystem.cc: remove duplicated rootdir (FindFile will prepend ↵Michael Vogt
the rootdir later anyway)
2010-10-13* revert commit:Michael Vogt
* apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir This causes problems with alternative rootdirs
2010-10-13* apt-pkg/deb/debindexfile.cc:Martin Pitt
- Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes.
2010-10-07* apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior
- support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
2010-09-14* apt-pkg/policy.cc:David Kalnischkies
- 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
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-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-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-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-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.