summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
Commit message (Collapse)AuthorAgeFilesLines
* forward manual-installed bit on package disappearanceDavid Kalnischkies2010-05-271-1/+46
|
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-271-9/+24
| | | - write Disappeared also to the history.log
* - show at the end of the install process a list of disappeared packagesDavid Kalnischkies2010-05-241-0/+5
| | | | * apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-241-1/+3
| | | - add 'disappear' to the known processing states, thanks Jonathan Nieder
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-04-141-1/+13
| | | | - remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226)
* Initialize history_out always with NULL so apt will not segfault laterDavid Kalnischkies2010-04-031-1/+2
| | | | | in the event of a failure in OpenLog() (which will happen if called with Debug::NoLocking as user)
* merged from lp:~donkult/apt/sidMichael Vogt2010-04-011-7/+11
|\
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-121-0/+2
| | | | | | | | | | | | - if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-121-7/+9
| | | | | | | | - fix error message construction in OpenLog()
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-261-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | - 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
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-02-251-0/+1
| | | | | | - fix backgrounding when dpkg runs (closes: #486222)
* | merge from the lp:~donkult/apt/sid branchMichael Vogt2010-02-181-1/+1
|\ \ | |/ |/|
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-181-1/+1
| | | | | | | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
| * * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-01-191-3/+4
| | | | | | | | | | - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770)
* | merged from debian-sidMichael Vogt2010-02-171-3/+4
|\ \
| * | * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-231-3/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* | * merged lp:~mvo/apt/historyMichael Vogt2009-12-181-15/+76
|\ \ | |/ |/| | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
| * apt-pkg/deb/dpkgpm.{cc,h}: refactor writing of the history tag, add ","Michael Vogt2009-12-181-17/+23
| |
| * apt-pkg/deb/dpkgpm.cc: fflush earlyMichael Vogt2009-12-181-0/+1
| |
| * fix order of upgrade, install check because for a upgrade "Install()" ↵Michael Vogt2009-12-181-5/+5
| | | | | | | | returns True as well
| * add /var/log/apt/history.log fileMichael Vogt2009-12-181-15/+69
| |
* | merge segfault fix from Mario Sanchez Prada, many thanksMichael Vogt2009-12-141-1/+2
|/ | | (closes: #561109)
* * merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt2009-12-101-0/+1
|\ | | | | | | | | | | | | /etc/apt/auth.conf that can be used to store username/passwords in a "netrc" style file (with the extension that it supports "/" in a machine definition). Based on the maemo git branch. * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-12-091-0/+1
| | | | | | - add "purge" to list of known actions
* | merged from davidMichael Vogt2009-09-241-2/+17
|\ \
| * | Ignore TriggerPendings between multiple --configure callsDavid Kalnischkies2009-09-241-2/+17
| | |
* | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-09-241-24/+27
|\ \ \ | |/ / |/| / | |/ | | | | - when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-09-241-24/+27
| | | | | | | | - when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866)
* | cleanup commit for trigger processing:David Kalnischkies2009-09-181-3/+1
| | | | | | | | | | | | | | | | - remove the DPkg::NoConfTriggers - absolutely useless as we need TriggersPending already so we can use --no-triggers. - remove the Immediate-option from the example, it doesn't help much. - UnpackCritical uses DepUnPackPre with a D (on simple letter...) - the "smart" optimisation to skip A was not so smart - revert.
* | Add even more config options and try to handle configuration problemsDavid Kalnischkies2009-09-151-7/+21
| | | | | | | | | | arising if we upgrade essential or predependencies which need to be configured before even unpacking packages depending on them.
* | add and document experimental options to make aggressiveDavid Kalnischkies2009-09-131-6/+33
| | | | | | | | | | | | | | | | | | | | | | use of dpkg's trigger and configuration handling (Closes: #473461) Add NoTriggers option to add --no-triggers to all dpkg calls, NoConfiguration to prevent apt from trying to configure packages - dpkg should handle this in the last ConfigurePending call. This options are for now deactivated as they require more testing in real world situations, but the plan is to enable them in the near future if anything works well.
* | apt-pkg/deb/dpkgpm.cc: make some variables constant and add foldmarkersDavid Kalnischkies2009-09-111-36/+38
|/
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-07-211-0/+9
| | | - provide DPkg::Chroot-Directory config option (useful for testing)
* apt-pkg/deb/dpkgpm.cc: remove dead code, add comment on problematic argument ↵Michael Vogt2009-07-101-9/+10
| | | | list split
* send "dpkg-exec" message on the status fd when dpkg is runMichael Vogt2009-06-171-0/+9
|
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-06-171-1/+29
| | | | - add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3 (off by default)
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-03-061-3/+1
| | | | - revert the change by Kees again for the amd64 ALL-CAPS problem
* fix another typoMichael Vogt2008-11-121-1/+1
|
* merge from debian-sidMichael Vogt2008-11-121-1/+1
|
* fix SIGHUP handling (closes: #463030)Michael Vogt2008-11-121-0/+5
|
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-281-4/+12
| | | - fix potential hang when in a backgroud process group
* * apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt2008-10-281-11/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Apply --important option to apt-cache depends (LP: #16947) * apt-pkg/acquire-item.cc: - Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz' available. (Closes: #409284) * apt-pkg/algorithm.cc: - Strip username and password from source URL in error message. (Closes: #425150) * Fix typos: - apt-pkg/depcache.cc * Fix compilation warnings: - apt-pkg/acquire.cc - apt-pkg/versionmatch.cc * Compilation fixes and portability improvement for compiling APT against non-GNU libc (thanks to Martin Koeppe, closes: #392063): - buildlib/apti18n.h.in: + textdomain() and bindtextdomain() must not be visible when --disable-nls - buildlib/inttypes.h.in: undefine standard int*_t types - Append INTLLIBS to SLIBS: + cmdline/makefile + ftparchive/makefile + methods/makefile * doc/apt.conf.5.xml: - clarify whether configuration items of apt.conf are case-sensitive (thanks to Vincent McIntyre, closes: #345901) * doc/apt-cache.8.xml: - search command uses POSIX regex, and searches for virtual packages too (closes: #277536) * doc/offline.sgml: clarify remote and target hosts (thanks to Nikolaus Schulz, closes: #175940) * Fix several typos in docs, translations and debian/changelog (thanks to timeless, Nicolas Bonifas and Josh Triplett, closes: #368665, #298821, #411532, #431636, #461458) * Document apt-key finger and adv commands (thanks to Stefan Schmidt, closes: #350575) * Better documentation for apt-get --option (thanks to Tomas Pospisek, closes: #386579) * Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276) * Better documentation on using both APT::Default-Release and /etc/apt/preferences (thanks to Ingo Saitz, closes: #145575) * doc/apt-cache.8.xml: - add missing citerefentry * Upload to unstable * apt-pkg/deb/dpkgpm.cc: - Store the trigger state descriptions in a way that does not break the ABI. The approach taken makes the search for a string O(n) rather than O(lg(n)), but since n == 4, I do not consider this a major concern. If it becomes a concern, we can sort the static array and use std::equal_range(). (Closes: #499322) * apt-pkg/pkgcachegen.cc: - do not add multiple identical descriptions for the same language (closes: #400768) * Catalan updated. Closes: #499462 * Fix typo in cron.daily script. Closes: #486179 * Traditional Chinese updated. Closes: #488526 * German corrected and completed. Closes: #490532, #480002, #498018 * French completed * Bulgarian updated. Closes: #492473 * Slovak updated. Closes: #492475 * Galician updated. Closes: #492794 * Japanese updated. Closes: #492975 * Fix missing space in Greek translation. Closes: #493922 * Greek updated. * Brazilian Portuguese updated. * Basque updated. Closes: #496754 * Romanian updated. Closes: #492773, #488361 * Portuguese updated. Closes: #491790 * Simplified Chinese updated. Closes: #489344 * Norwegian Bokmål updated. Closes: #480022 * Czech updated. Closes: #479628, #497277 * Korean updated. Closes: #464515 * Spanish updated. Closes: #457706 * Lithuanian added. Closes: #493328 * Swedish updated. Closes: #497496 * Vietnamese updated. Closes: #497893 * Portuguese updated. Closes: #498411 * Greek updated. Closes: #498687 * Polish updated. * merge patch that enforces stricter https server certificate checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965) * add doc/examples/apt-https-method-example.cof (thanks to Arnaud Ebalard, closes: #485964) * apt-pkg/depcache.cc: - when checking for new important deps, skip critical ones (closes: #485943) * improve apt progress reporting, display trigger actions * add DPkg::NoTriggers option so that applications that call apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess) * doc/makefile: - add examples/apt-https-method-example.conf * Russian updated. Closes: #479777, #499029 * fix FTBFS by changing build-depends to * ABI library name change because it's built against * Package that contains all the new features * Branch that contains all the new features:
| * * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-011-0/+2
| | | | | | | | | | | | | | - move the state file writting into the Go() implementation of dpkgpm (closes: #498799) * apt-pkg/algorithms.cc: - fix simulation performance drop (thanks to Ferenc Wagner for reporting the issue)
| * Restore the apt ABI.Daniel Burrows2008-09-251-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that the size of pkgDpkgPM and its member offsets changed because a map giving the names of the trigger states was inserted into the middle of the structure. I fixed it by using a statically allocated array instead. This changes the procedure for looking up a string to a linear search, which should be fine (or even faster than before) since there are only 4 state strings. If it becomes a problem, sorting the array by key will allow us to use std::equal_range(), but I would advise against this unless it's really necessary, since sooner or later someone will forget to maintain the sort order.
| * * add DPkg::NoTriggers option so that applications that callMichael Vogt2008-07-251-0/+3
| | | | | | | | | | apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
| * * improve apt progress reporting, display trigger actionsMichael Vogt2008-07-251-1/+41
| |
* | * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-011-0/+2
| | | | | | | | - move the state file writting into the Go() implementation of dpkgpm (closes: #498799)
* | fix various -Wall warningsMichael Vogt2008-08-051-2/+2
| |
* | * add DPkg::NoTriggers option so that applications that callMichael Vogt2008-07-251-0/+3
| | | | | | | | apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
* | apt-pkg/deb/dpkgpm.cc: improve the trigger textMichael Vogt2008-07-171-1/+1
| |