summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/depcache.cc:Michael Vogt2007-07-261-10/+27
| | | | | - support a list of sections for: APT::Install-Recommends-Sections APT::Never-MarkAuto-Sections
* * fixes in the auto-mark code (thanks to DanielMichael Vogt2007-06-291-3/+6
| | | Burrows)
* * fix some warningsMichael Vogt2007-06-191-1/+0
|
* * apt-pkg/depcache.cc:Michael Vogt2007-06-141-1/+1
| | | | - merge missing bugfix from ubuntu branch
* * 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 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 Vogt2006-12-181-0/+5
|\| | | | | | | - never autoremove Required packages
| * * apt-pkg/depcache.cc:Michael Vogt2006-12-181-0/+5
| | | | | | | | - never mark required packages as garbage
* | * merged the apt-breaks-iwj branchMichael Vogt2006-12-141-13/+33
|\ \ | | | | | | | | | * pulled in the other remaining ubuntu changes
| * | initial Breaks implementationIan Jackson2006-08-251-12/+28
| | |
| * | * merged from the install-recommends branchMichael Vogt2006-08-141-8/+9
| |\ \
| * \ \ * merged the apt--install-recommends branchMichael Vogt2006-08-111-10/+21
| |\ \ \ | | | | | | | | | | | | | | | * ABI break, bumped the version number
| * \ \ \ * merged the apt--install-recommends branchMichael Vogt2006-08-101-11/+45
| |\ \ \ \
| * | | | | * merged changes from Kamions upload (thanks!)Michael Vogt2006-07-211-0/+1
| | | | | |
* | | | | | * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
|\ \ \ \ \ \
| * | | | | | * removed the pragma messMichael Vogt2006-10-021-3/+0
| | | | | | |
* | | | | | | * merged from apt--auto-markMichael Vogt2006-10-021-7/+10
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | * 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
* | | | | | | * merged from the apt--install-recommends branchMichael Vogt2006-09-211-5/+21
|\ \ \ \ \ \ \
| * | | | | | | * apt-pkg/depcache.cc:Michael Vogt2006-09-071-5/+21
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | - added "APT::Install-Recommends-Section" option
* | | | | | | * merged the install-recommends branchMichael Vogt2006-08-151-9/+53
|\| | | | | | | |/ / / / / |/| | | | |
| * | | | | * apt-pkg/depcache.cc:Michael Vogt2006-08-111-8/+9
| | |_|_|/ | |/| | | | | | | | | | | | | - only work on instVer if we actually have one
| * | | | * 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
| * | | * 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)
* | | | * 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: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
* | * slighly more debug output, renamed "--automatic-remove" to "--auto-remove"Michael Vogt2005-06-301-2/+2
| |
* | * Install-Reason -> Auto-Installed in pkgstatesMichael Vogt2005-06-301-4/+3
| |
* | * fix a bug when readStateFile is called with no OpProgress objectMichael Vogt2005-06-291-6/+9
| |
* | * merged with ubuntu, only use the pkgCache::Flag::Auto flag for ↵Michael Vogt2005-06-291-16/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automatically installed packages Patches applied: * apt@packages.debian.org/apt--main--0--patch-98 Install only one keyring on each branch (Closes: #316119) * apt@packages.debian.org/apt--main--0--patch-99 Finalize 0.6.39 * apt@packages.debian.org/apt--ubuntu--0--patch-7 Merge with mainline * apt@packages.debian.org/apt--ubuntu--0--patch-8 install only the ubuntu keyring * apt@packages.debian.org/apt--ubuntu--0--patch-9 Finalize 0.6.39 * apt@packages.debian.org/apt--ubuntu--0--patch-10 Merge with mainline * apt@packages.debian.org/apt--ubuntu--0--patch-11 Update configure.in
| * | Merge with mainlineMatt Zimmerman2005-06-261-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--main--0--patch-93 Merge with mvo * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-22 * added myself to uploaders, changelog is signed with mvo@debian.org and in sync with the debian/experimental upload * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-23 * apt-cache show <virtual-pkg> shows all virtual packages instead of nothing (thanks to otavio) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-24 * changelog updated * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-25 * make pinning on component work again (we just use the section, as apt-0.6 don't use per-section Release files anymore) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-27 * updated the changelog * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-28 * merged with my apt--fixes--0 branch * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-29 * added a missing OpProgress::Done() in depCache::Init(), removed the show-virtual-packages patch in apt-cache because matt does not like him :/ * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-30 * fix a stupid bug in the depcache::Init() code * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-31 * merged/removed conflicts with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-32 * merged apt--main and make sure that the po files come from apt--main (because they are more recent)
* | * use mark-and-sweep from aptitude now as GC algorithmMichael Vogt2005-06-291-28/+15
| |
* | * cleanups, documentation updates (don't show any debug output if no ↵Michael Vogt2005-06-281-2/+4
| | | | | | | | Debug::pkgAutomaticRemove was set, don't remove if not APT::Get::AutomaticRemove (--automatic-remove) was set)
* | * merged with mainlineMichael Vogt2005-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * andrelop@debian.org/apt--translation--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * andrelop@debian.org/apt--translation--0--patch-1 Sync with Matt version. * andrelop@debian.org/apt--translation--0--patch-2 Update pt_BR translation * andrelop@debian.org/apt--translation--0--patch-3 Sync with bubulle's branch. * apt@packages.debian.org/apt--main--0--patch-89 Branch for Debian * apt@packages.debian.org/apt--main--0--patch-90 Update version in configure * apt@packages.debian.org/apt--main--0--patch-91 Fix French man page build * apt@packages.debian.org/apt--main--0--patch-92 Add the current Debian archive signing key * apt@packages.debian.org/apt--main--0--patch-93 Merge with mvo * apt@packages.debian.org/apt--main--0--patch-94 Update changelog * apt@packages.debian.org/apt--main--0--patch-95 Merge Christian's branch * apt@packages.debian.org/apt--main--0--patch-96 Update changelog * apt@packages.debian.org/apt--main--0--patch-97 Update priority of apt-utils to important, to match the override file * bubulle@debian.org--2005/apt--main--0--patch-82 Fix permissions * bubulle@debian.org--2005/apt--main--0--patch-83 French translation spellchecked * bubulle@debian.org--2005/apt--main--0--patch-84 Spell corrections in German translations * bubulle@debian.org--2005/apt--main--0--patch-85 Correct some file permissions * bubulle@debian.org--2005/apt--main--0--patch-86 Correct Hebrew translation * bubulle@debian.org--2005/apt--main--0--patch-87 Sync Portuguese translation with the POT file * bubulle@debian.org--2005/apt--main--0--patch-88 Updated Danish translation (not yet complete) * bubulle@debian.org--2005/apt--main--0--patch-89 Sync with Andre Luis Lopes and Otavio branches * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-22 * added myself to uploaders, changelog is signed with mvo@debian.org and in sync with the debian/experimental upload * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-23 * apt-cache show <virtual-pkg> shows all virtual packages instead of nothing (thanks to otavio) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-24 * changelog updated * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-25 * make pinning on component work again (we just use the section, as apt-0.6 don't use per-section Release files anymore) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-27 * updated the changelog * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-28 * merged with my apt--fixes--0 branch * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-29 * added a missing OpProgress::Done() in depCache::Init(), removed the show-virtual-packages patch in apt-cache because matt does not like him :/ * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-30 * fix a stupid bug in the depcache::Init() code * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-31 * merged/removed conflicts with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-32 * merged apt--main and make sure that the po files come from apt--main (because they are more recent)
* | * merged with the apt--improved-do-install patchMichael Vogt2005-06-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * michael.vogt@ubuntu.com--2005/apt--improved-do-install--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-88 * michael.vogt@ubuntu.com--2005/apt--improved-do-install--0--patch-1 * merged with apt--fixes to make it build * michael.vogt@ubuntu.com--2005/apt--improved-do-install--0--patch-2 * added "DoInstall{Pre,Post}Fork()"
* | * moved most of the real work into depcache::writeStateFileMichael Vogt2005-06-241-0/+11
| |
* | * cleanups Michael Vogt2005-06-231-29/+62
| |