[Aptitude-devel] Bug#687684: aptitude: needs updating for apt changes in Wheezy

Daniel Hartwig mandyke at gmail.com
Sat Sep 15 07:16:39 BST 2012


Package: aptitude
Version: 0.6.8.1-1
Severity: important
Tags: wheezy sid help
Control: block -1 by 687474 685731 613775 687678 685310 587671 445034 687239

Dear Maintainer,

Aptitude has fallen behind on recent changes in apt.  Interfaces have
changed, there are behavioural tweaks, some new helpers introduced,
etc..

This is a meta-bug to track several tasks:
- review the changelog and bzr history to identify relevent entries;
- update aptitude and verify that it is using interfaces correctly;
- update aptitude behaviour – as appropriate – to match changes in
  libapt-pkg and apt-utils (e.g. the problem resolver has a method
  which reflects what MarkInstall would do that is probably not 100%
  accurate anymore);
- make use of new features (such as CacheSets) where appropriate;
- …?

This bug is limited to tracking changes specifically in Wheezy.  Rough
estimate: at least all changes introduced with apt 0.8 or later should
be considered.

Examples of changes already known to be relevant:

apt (0.9.1) unstable; urgency=low

  * cmdline/apt-get.cc:
    - if pkgCacheFile::Generate is disabled in 'update' don't
      remove the caches (and don't try to open them)

apt (0.8.16~exp9) experimental; urgency=low

  * apt-pkg/depcache.cc:
    - prefer native providers over foreigns even if the chain is foreign

apt (0.8.11.2) unstable; urgency=low

  * apt-pkg/depcache.cc:
    - mark a package which was requested to be installed on commandline
      always as manual regardless if it is already marked or not as the
      marker could be lost later by the removal of rdepends (Closes: #612557)

apt (0.8.10) unstable; urgency=low

  * apt-pkg/algorithms.cc:
    - mark all installed packages first without auto installation in
      a dist-upgrade to prefer upgrading packages instead of installing
      new packages in versioned or-groups (Closes: #605394)

apt (0.7.26~exp6) experimental; urgency=low

  * apt-pkg/cacheset.{cc,h}:
    - add simple wrapper around std::set for cache structures
    - move regex magic from apt-get to new FromRegEx method
    - move cmdline parsing from apt-cache to new FromCommandLine method
    - support special release-modifier 'installed' and 'candidate'



More information about the Aptitude-devel mailing list