summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
AgeCommit message (Collapse)Author
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-06-29merge lp:~mvo/apt/abi-breakMichael Vogt
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-08* [ABI-Break] Implement EDSP in libapt-pkg so that all front-ends whichMichael Vogt
* [ABI-Break] merge lp:~mvo/apt/sha512-template to add support for sha512 * [ABI-Break] merge lp:~mvo/apt/dpointer to support easier extending without breaking the ABI
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-04-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- replace obsolete usleep with nanosleep
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-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-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-27apt-pkg/deb/dpkgpm.cc: fix format string warningMichael Vogt
2011-01-27apt-pkg/deb/dpkgpm.{cc,h}: convert to use dpointersMichael Vogt
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-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-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-09* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-07-07* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09merge lp:~mvo/apt/ubuntu-mirror-method-improvementsMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
2010-06-02* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
2010-05-27forward manual-installed bit on package disappearanceDavid Kalnischkies
2010-05-27* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- write Disappeared also to the history.log
2010-05-24 - show at the end of the install process a list of disappeared packagesDavid Kalnischkies
* apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
2010-05-24* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- add 'disappear' to the known processing states, thanks Jonathan Nieder
2010-04-14* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226)
2010-04-03Initialize history_out always with NULL so apt will not segfault laterDavid Kalnischkies
in the event of a failure in OpenLog() (which will happen if called with Debug::NoLocking as user)
2010-04-01merged from lp:~donkult/apt/sidMichael Vogt
2010-03-26cherry pick -r 1954..1955 lp:~donkult/apt/sidMichael Vogt
2010-03-26* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
2010-03-12* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
2010-03-12* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- fix error message construction in OpenLog()
2010-03-12* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler
2010-02-25* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222)
2010-02-18merge from the lp:~donkult/apt/sid branchMichael Vogt
2010-02-18* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
2010-02-17merged from the mvo branchMichael Vogt
2010-02-17merged from debian-sidMichael Vogt
2010-01-26Change history branch so that it does not break the Michael Vogt
apt ABI for the pkgPackageManager interface (can be reverted on the next ABI break)
2010-01-23* apt-pkg/contrib/fileutl.cc:Michael Vogt
- Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
2010-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770)