summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
Commit message (Collapse)AuthorAgeFilesLines
* * merged apt--mvoMichael Vogt2007-07-091-4/+6
|\ | | | | | | | | * reverted b-d changes * make upate-po
| * * fixes in the auto-mark code (thanks to DanielMichael Vogt2007-06-291-3/+6
| | | | | | Burrows)
| * * fix some warningsMichael Vogt2007-06-191-1/+0
| |
* | * merged from mainMichael Vogt2007-06-181-30/+28
|\|
| * * apt-pkg/depcache.cc:Michael Vogt2007-06-141-1/+1
| | | | | | | | - merge missing bugfix from ubuntu branch
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-06-141-21/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - apport integration added, this means that a apport report is written on dpkg failures * merged from debian/unstable, remaining changes: - maintainer field changed * merged the debian/experimental changes back into the debian/sid branch * merged from Christian Perrier: * mr.po: New Marathi translation Closes: #416806 * zh_CN.po: Updated by Eric Pareja Closes: #416822 * tl.po: Updated by Eric Pareja Closes: #416638 * gl.po: Updated by Jacobo Tarrio * da.po: Updated by Claus Hindsgaul * fr.po: Remove a non-breakable space for usability * ru.po: Updated Russian translation. Closes: #405476 * *.po: Unfuzzy after upstream typo corrections * buildlib/archtable: - added support for sh3/sh4 (closes: #424870) - added support for m32r (closes: #394096) * buildlib/systemtable: - added support for lpia * configure.in: - check systemtable for architecture mapping too * fix error in AutocleanInterval, closes: #319339 (thanks to Israel G. Lugo for the patch) * add "purge" commandline argument, closes: #133421) (thanks to Julien Danjou for the patch) * add "purge" commandline argument, closes: #133421) (thanks to Julien Danjou for the patch) * fix FTBFS with gcc 4.3, closes: #417090 (thanks to Martin Michlmayr for the patch) * add --dsc-only option, thanks to K. Richard Pixley * Removed the more leftover #pragma interface/implementation closes: #306937 (thanks to Andreas Henriksson for the patch) * ABI library name change because its build against new glibc * implement SourceVer() in pkgRecords (thanks to Daniel Burrows for the patch!) * apt-pkg/algorithm.cc: - use clog for all debugging - only increase the score of installed applications if they are not obsolete - fix resolver bug on removal triggered by weak-dependencies with or-groups * methods/http.cc: - send apt version in User-Agent * apt-pkg/deb/debrecords.cc: - fix SHA1Hash() return value * apt-pkg/cdrom.cc: - only unmount if APT::CDROM::NoMount is false * methods/cdrom.cc: - only umount if it was mounted by the method before - if decompression of a index fails, delete the index * vi.po: Updated to 515t. Closes: #426976 * eu.po: Updated to 515t. Closes: #423766 * pt.po: 515t. Closes: #423111 * fr.po: Updated by Christian Perrier * Update all PO and the POT. Gives 513t2f for formerly complete translations * Package that contains tall the new features * Removed all #pragma interface/implementation * Branch that contains tall the new features: * translated package descriptions * task install support * automatic dependency removal (thanks to Daniel Burrows) * merged support for the new dpkg "Breaks" field (thanks to Ian Jackson) * handle network failures more gracefully on "update" * support for unattended-upgrades (via unattended-upgrades package) * added apt-transport-https method - ca.po: Updated to 514t - be.po: Updated to 514t - it.po: Updated to 514t - hu.po: Updated to 514t - zh_TW.po: Updated to 514t - ar.po: Updated to 293t221u. - ru.po: Updated to 514t. Closes: #392466 - nb.po: Updated to 514t. Closes: #392466 - pt.po: Updated to 514t. Closes: #393199 - fr.po: One spelling error corrected: s/accèder/accéder - km.po: Updated to 514t. - ko.po: Updated to 514t. - bg.po: Updated to 514t. - de.po: Updated to 514t. - en_GB.po: Updated to 514t. * debian/control: - depend on debian-archive-keyring to offer clean upgrade path (closes: #386800) * merged "install-recommends" branch (ABI break): - new "--install-recommends" - install new recommends on "upgrade" if --install-recommends is given - new "--fix-policy" option to install all packages with unmet important dependencies (usefull with --install-recommends to see what not-installed recommends are on the system) - fix of recommended packages display (only show CandidateVersion fix or-group handling) * merged "install-task" branch (use with "apt-get install taskname^") * Applied patch from Daniel Schepler to make apt bin-NMU able. * apt-pkg/acquire-item.cc: - fix reversed logic of the "Acquire::PDiffs" option * apt-pkg/contrib/sha256.cc: - applied patch to fix unaligned access problem. Closes: #367417 (thanks to David Mosberger) * apt-pkg/contrib/sha256.{cc,h},hashes.{cc,h}: support for sha256 (thanks to Anthony Towns) * ftparchive/cachedb.{cc,h},writer.{cc,h}: optimizations (thanks to Anthony Towns) * apt pdiff support from experimental merged * apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to Matt Zimmerman) - fix error in dpkg interaction (closes: #364513, thanks to Martin Dickopp)
| * * merged another missing bit from the ubuntu branchMichael Vogt2007-06-091-1/+1
| |
| * * merged some more missing bitsMichael Vogt2007-06-091-1/+7
| |\
| | * * apt-pkg/depcache.cc:Michael Vogt2007-03-141-1/+4
| | | | | | | | | | | | - always chmod extended_states to 0644
| * | * updated from http://people.ubuntu.com/~mvo/bzr/apt/auto-mark/Michael Vogt2007-05-021-5/+16
| |\|
| * | * apt-pkg/depcache.cc:Michael Vogt2006-12-181-0/+5
| |\ \ | | | | | | | | | | | | - never autoremove Required packages
| * \ \ * merged the apt-breaks-iwj branchMichael Vogt2006-12-141-13/+33
| |\ \ \ | | | | | | | | | | | | | | | * pulled in the other remaining ubuntu changes
| * \ \ \ * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
| |\ \ \ \
| * \ \ \ \ * merged from apt--auto-markMichael Vogt2006-10-021-7/+10
| |\ \ \ \ \
| * \ \ \ \ \ * merged from the apt--install-recommends branchMichael Vogt2006-09-211-5/+21
| |\ \ \ \ \ \
| * \ \ \ \ \ \ * merged the install-recommends branchMichael Vogt2006-08-151-9/+53
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ * merged apt--no-pragmaMichael Vogt2007-06-091-3/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | |
| * | | | | | | | * removed the pragma messMichael Vogt2006-10-021-3/+0
| | | | | | | | |
* | | | | | | | | - ensure proper permissions in the extended_state file (LP#67037)Michael Vogt2007-03-141-1/+4
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | - applied patch to (optionally) hide the auto-remove information (thanks to Frode M. Døving) (LP#69148)
| * | | | | | | | * apt-pkg/depcache.cc:Michael Vogt2007-03-141-1/+16
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | - added APT::Never-MarkAuto-Section variable - that will consider dependencies of packages in this section manual
* | | | | | | | * apt-pkg/depcache.cc:Michael Vogt2007-03-141-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added "APT::Never-MarkAuto-Section" and consider dependencies of packages in this section manual * debian/apt.conf.ubuntu: - added APT::Never-MarkAuto-Section "metapackages";
* | | | | | | | * merged from apt--auto-markMichael Vogt2006-12-181-0/+5
|\| | | | | | |
| * | | | | | | * apt-pkg/depcache.cc:Michael Vogt2006-12-181-0/+5
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | - never mark required packages as garbage
* | | | | | | * merged from the auto-mark branchMichael Vogt2006-09-211-3/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * uploaded
| * | | | | | * apt-pkg/depcache.cc:Michael Vogt2006-09-211-3/+11
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not change the auto-flag in MarkKeep() to prevent side-effects in interactive package managers when a package is marked for remove first and then unmarked again. the old code removed the auto-flag, the new code will retain this information - a package can be garbage even if it is already marked for removal
| * | | | | * apt-pkg/depcache.cc:Michael Vogt2006-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - close the outfile properly (thanks to kamion) * cmdline/apt-get.cc: - unbreak dselect-upgrade by adding a ActionGroup around it
* | | | | | * apt-pkg/depcache.{cc,h}:Michael Vogt2006-09-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added OnlyInstalled option to writeState() * debian/changelog: - prepared nwe upload
* | | | | | * merged from the apt--install-recommends branchMichael Vogt2006-09-071-1/+1
|\ \ \ \ \ \
| * | | | | | * apt-pkg/depcache.cc:Michael Vogt2006-09-071-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | - bugfix in the "get-section" code
* | | | | | * apt-pkg/depcache.cc:Michael Vogt2006-09-071-5/+21
|\| | | | | | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | - merged from install-recommends * debian/apt.conf.ubuntu: - added "APT::Install-Recommends-Section" to "metapackages" * renamed apt.conf.autoremove -> apt.conf.ubuntu
| * | | | * apt-pkg/depcache.cc:Michael Vogt2006-09-071-5/+21
| | |_|/ | |/| | | | | | | | | | - added "APT::Install-Recommends-Section" option
* | | | initial Breaks implementationIan Jackson2006-08-251-12/+28
| | | |
* | | | * merged from the install-recommends branchMichael Vogt2006-08-141-8/+9
|\| | |
| * | | * apt-pkg/depcache.cc:Michael Vogt2006-08-111-8/+9
| | | | | | | | | | | | | | | | - only work on instVer if we actually have one
* | | | * merged the apt--install-recommends branchMichael Vogt2006-08-111-10/+21
|\| | | | | | | | | | | | | | | * ABI break, bumped the version number
| * | | * cmdline/apt-get.cc:Michael Vogt2006-08-111-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added "--fix-policy" option to make it easy to fix any not-install recommends * apt-pkg/depcache.{cc,h} - MarkInstall() has a new "ForceImportantDeps" option (defaults to false) to fice the install of recommends even for already installed pkgs - a new PolicyBroken() function to see how much of the recommends are broken
* | | | * merged the apt--install-recommends branchMichael Vogt2006-08-101-11/+45
|\| | |
| * | | * apt-pkg/depcache.cc:Michael Vogt2006-08-091-1/+27
| | | | | | | | | | | | | | | | - find new important dependencies on upgrade and deal with them
| * | | * merged with mainlineMichael Vogt2006-07-261-0/+4
| |\ \ \ | | | |/ | | |/|
| * | | * depcache.cc:Michael Vogt2006-05-021-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added APT::Install-{Recommends,Suggests} global option * depcache.h: - added DepCache::State::InstPolicyBroken() to check if the current install state violates the policy (compated with InstBroken() that only checks for the minimal requirements)
* | | | * merged changes from Kamions upload (thanks!)Michael Vogt2006-07-211-0/+1
| |_|/ |/| |
* | | * apt-pkg/depcache.cc:Michael Vogt2006-07-041-0/+9
| | | | | | | | | | | | - create a empty state file if none exists
* | | * cmdline/apt-mark:Michael Vogt2006-06-261-9/+53
| | | | | | | | | | | | | | | | | | - very simple tool to manipulate the extended_states for autoinstall * apt-pkg/depcache.cc: - keep exisiting data in "extended_states" to make other tools happy
* | | * apt-pkg/depcache.cc:Michael Vogt2006-06-261-2/+2
| | | | | | | | | | | | - renamed "pkgstates" file to "extended_states"
* | | * merged with mainlineMichael Vogt2006-06-261-2/+8
|\ \ \ | | |/ | |/|
| * | * added Debug::pkgDepCache::AutoInstall debug optionMichael Vogt2006-05-271-1/+6
| |/
| * * fix a stupid bug in the depcache::Init() codeMichael Vogt2005-06-031-1/+3
| |
| * * added a missing OpProgress::Done() in depCache::Init(), removed the ↵Michael Vogt2005-06-011-0/+1
| | | | | | | | show-virtual-packages patch in apt-cache because matt does not like him :/
* | * merged daniel burrows fixes for the auto-mark codeMichael Vogt2005-11-091-25/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * dburrows@debian.org--2005/apt--auto-mark--0--base-0 tag of michael.vogt@ubuntu.com--2005/apt--auto-mark--0--patch-22 * dburrows@debian.org--2005/apt--auto-mark--0--patch-1 doxygenize the new automark stuff * dburrows@debian.org--2005/apt--auto-mark--0--patch-2 Automatically update package markings after every state-changing public operation, and allow users of the dep-cache to group actions into a single action. * dburrows@debian.org--2005/apt--auto-mark--0--patch-3 Automatically update package markings after every state-changing public operation, and allow users of the dep-cache to group actions into a single action. * dburrows@debian.org--2005/apt--auto-mark--0--patch-4 Make action groups noncopyable * dburrows@debian.org--2005/apt--auto-mark--0--patch-5 Typo fix * dburrows@debian.org--2005/apt--auto-mark--0--patch-6 Add a FromUser flag to MarkKeep. * dburrows@debian.org--2005/apt--auto-mark--0--patch-7 Somehow the ActionGroup definition got duplicated; kill the duplicate. * dburrows@debian.org--2005/apt--auto-mark--0--patch-8 Cancel the automatic flag on packages that are being kept only if they are garbage. * dburrows@debian.org--2005/apt--auto-mark--0--patch-9 Don't clear the 'automatically installed' flag in MarkDelete. * dburrows@debian.org--2005/apt--auto-mark--0--patch-10 Add a FromUser flag to MarkInstall, and fix its handling of the Auto flag. * dburrows@debian.org--2005/apt--auto-mark--0--patch-11 Only clear the Auto flag on manual changes in MarkKeep. * dburrows@debian.org--2005/apt--auto-mark--0--patch-12 Make changes from the internal algorithms automatic. * dburrows@debian.org--2005/apt--auto-mark--0--patch-13 Use ActionGroups in algorithms that make lots of changes, and fix a compile error. * dburrows@debian.org--2005/apt--auto-mark--0--patch-14 Split the sweep code into a separate routine from pkgMarkUsed * dburrows@debian.org--2005/apt--auto-mark--0--patch-15 Update another call of MarkKeep to indicate that it's automatic. * dburrows@debian.org--2005/apt--auto-mark--0--patch-16 Move the mark-and-sweep code into pkgDepCache; call Sweep and document what it and Garbage are for; add a hook that can be used to generate a custom root-set function; move the big blob of regexp stuff into the custom root-set; fix the memory leak in the regexp stuff. * dburrows@debian.org--2005/apt--auto-mark--0--patch-17 Make ActionGroup take a reference instead of a pointer to the cache. * dburrows@debian.org--2005/apt--auto-mark--0--patch-18 Don't mark already-to-be-deleted packages as garbage, to imitate aptitude's behavior. * dburrows@debian.org--2005/apt--auto-mark--0--patch-19 Update apt-get for the new auto-mark protocol. * dburrows@debian.org--2005/apt--auto-mark--0--patch-20 Add a setter method for the Auto flag. * dburrows@debian.org--2005/apt--auto-mark--0--patch-21 Fix the test in apt-get about what to delete. * dburrows@debian.org--2005/apt--auto-mark--0--patch-22 Add a zero-argument mark-and-sweep routine and use it to do a mark-and-sweep on startup (so the garbage flags are initialized properly). * dburrows@debian.org--2005/apt--auto-mark--0--patch-23 Right, Status is 2 for new installs, not 0. * dburrows@debian.org--2005/apt--auto-mark--0--patch-24 POT updates. * dburrows@debian.org--2005/apt--auto-mark--0--patch-25 Actually initialize group_level to 0. * dburrows@debian.org--2005/apt--auto-mark--0--patch-26 Don't make an ActionGroup in Sweep, since there's no point and it also is an infinite loop. * dburrows@debian.org--2005/apt--auto-mark--0--patch-27 Add virtual hooks to control whether the garbage collector considers recommends and/or suggests to be strong links. * dburrows@debian.org--2005/apt--auto-mark--0--patch-28 Call the progress methods in the right order so we don't generate nonsensical progress notifications. * dburrows@debian.org--2005/apt--auto-mark--0--patch-29 Typo fix. * dburrows@debian.org--2005/apt--auto-mark--0--patch-30 Make RecommendsImportant default to true in apt, too. * dburrows@debian.org--2005/apt--auto-mark--0--patch-31 Add a release() method to action groups. * dburrows@debian.org--2005/apt--auto-mark--0--patch-32 Add an 'autoremove' command that is synonymous to '--auto-remove remove'.
* | * invert the auto-mark flag only for new installs (in MarkInstall()), keep ↵Michael Vogt2005-07-041-1/+3
| | | | | | | | it as it is for upgrades